266 lines
14 KiB
C#
266 lines
14 KiB
C#
namespace ITC81DB.Forms
|
|
{
|
|
partial class FormMain
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.smartForm = new SmartX.SmartForm();
|
|
this.smartFileIO = new SmartX.SmartFile();
|
|
this.smartFileCommunicationLog = new SmartX.SmartFile();
|
|
this.smartConfigs = new SmartX.SmartConfigs();
|
|
this.smartSerialPort2 = new SmartX.SmartSerialPort();
|
|
this.smartSerialPort1 = new SmartX.SmartSerialPort();
|
|
this.smartSerialPort4 = new SmartX.SmartSerialPort();
|
|
this.smartSerialPort3 = new SmartX.SmartSerialPort();
|
|
this.smartThread = new SmartX.SmartThread(this.components);
|
|
this.smartTCPMultiServer = new SmartX.SmartTCPMultiServer();
|
|
this.smartFileCheckLog = new SmartX.SmartFile();
|
|
this.timeOut = new System.Windows.Forms.Timer();
|
|
this.timerBuzzer = new System.Windows.Forms.Timer();
|
|
this.timerEthernetPing = new System.Windows.Forms.Timer();
|
|
this.timerSensorError = new System.Windows.Forms.Timer();
|
|
this.smartFileStartStopLog = new SmartX.SmartFile();
|
|
this.smartFileBarcodeLog = new SmartX.SmartFile();
|
|
this.smartThreadSerialPort2OverRun = new SmartX.SmartThread(this.components);
|
|
this.smartThreadSerialPort2Read = new SmartX.SmartThread(this.components);
|
|
this.timerClientConnect = new System.Windows.Forms.Timer();
|
|
this.smartFile1 = new SmartX.SmartFile();
|
|
((System.ComponentModel.ISupportInitialize)(this.smartForm)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// smartForm
|
|
//
|
|
this.smartForm.CenterLocation = false;
|
|
this.smartForm.LCDDirection = SmartX.SmartForm.LCDDIRECTIONS.HORIZONTAL;
|
|
this.smartForm.LCDSize = SmartX.SmartForm.LCDRESOLUTION.LCD800X600;
|
|
this.smartForm.Location = new System.Drawing.Point(0, 0);
|
|
this.smartForm.MainForm = null;
|
|
this.smartForm.Mode = SmartX.SmartForm.RUNMODE.RUNTIME;
|
|
this.smartForm.MouseCursor = SmartX.SmartForm.OnOff.OFF;
|
|
this.smartForm.Name = "smartForm";
|
|
this.smartForm.Size = new System.Drawing.Size(800, 600);
|
|
this.smartForm.SpecialFunctionClickPointSize = 100;
|
|
this.smartForm.SuspendLayoutInterval = 0;
|
|
//
|
|
// smartFileIO
|
|
//
|
|
this.smartFileIO.FilePathName = null;
|
|
//
|
|
// smartFileCommunicationLog
|
|
//
|
|
this.smartFileCommunicationLog.FilePathName = null;
|
|
//
|
|
// smartSerialPort2
|
|
//
|
|
this.smartSerialPort2.Baud_Rate = SmartX.SmartSerialPort.BAUDRATE._115200bps;
|
|
this.smartSerialPort2.ErrorCheckCodeType = SmartX.SmartSerialPort.ERRORCHECKCODETYPES.ASCIICODE;
|
|
this.smartSerialPort2.ErrorCheckMode = SmartX.SmartSerialPort.ERRORCHECK.NONE;
|
|
this.smartSerialPort2.ErrorCode_Location = SmartX.SmartSerialPort.ERRORCODELOCATION.HEADER;
|
|
this.smartSerialPort2.ETXCode = ((byte)(3));
|
|
this.smartSerialPort2.ETXCodes = null;
|
|
this.smartSerialPort2.FrameBufferSize = ((uint)(2048u));
|
|
this.smartSerialPort2.FrameSeparationType = SmartX.SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
|
this.smartSerialPort2.HeadErrorCodeOffset = 0;
|
|
this.smartSerialPort2.PortNo = SmartX.SmartSerialPort.COMPORTNO.COM2;
|
|
this.smartSerialPort2.ReadTimeout = -1;
|
|
this.smartSerialPort2.ReceiveDetect = SmartX.SmartSerialPort.RECEIVEDETECTTYPE.EVENT_QUEUE;
|
|
this.smartSerialPort2.ReceiveFrameDebugMode = false;
|
|
this.smartSerialPort2.RS485SoftwareDetection = false;
|
|
this.smartSerialPort2.STXCode = ((byte)(2));
|
|
this.smartSerialPort2.STXCodes = null;
|
|
this.smartSerialPort2.TailErrorCodeOffset = 0;
|
|
this.smartSerialPort2.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPort2_OnReadQueueEvent);
|
|
this.smartSerialPort2.OnPortError += new SmartX.SmartSerialPort.PortErrorHandler(this.smartSerialSerialPort2_OnPortError);
|
|
//
|
|
// smartSerialPort1
|
|
//
|
|
this.smartSerialPort1.Baud_Rate = SmartX.SmartSerialPort.BAUDRATE._9600bps;
|
|
this.smartSerialPort1.ErrorCheckCodeType = SmartX.SmartSerialPort.ERRORCHECKCODETYPES.ASCIICODE;
|
|
this.smartSerialPort1.ErrorCheckMode = SmartX.SmartSerialPort.ERRORCHECK.NONE;
|
|
this.smartSerialPort1.ErrorCode_Location = SmartX.SmartSerialPort.ERRORCODELOCATION.HEADER;
|
|
this.smartSerialPort1.ETXCode = ((byte)(3));
|
|
this.smartSerialPort1.ETXCodes = null;
|
|
this.smartSerialPort1.FrameBufferSize = ((uint)(2048u));
|
|
this.smartSerialPort1.FrameSeparationType = SmartX.SmartSerialPort.FRAMESEPARATIONTYPES.NONEFRAME_READTIMEOUT;
|
|
this.smartSerialPort1.HeadErrorCodeOffset = 0;
|
|
this.smartSerialPort1.PortNo = SmartX.SmartSerialPort.COMPORTNO.COM1;
|
|
this.smartSerialPort1.ReadTimeout = 300;
|
|
this.smartSerialPort1.ReceiveDetect = SmartX.SmartSerialPort.RECEIVEDETECTTYPE.EVENT_QUEUE;
|
|
this.smartSerialPort1.ReceiveFrameDebugMode = false;
|
|
this.smartSerialPort1.RS485SoftwareDetection = false;
|
|
this.smartSerialPort1.STXCode = ((byte)(2));
|
|
this.smartSerialPort1.STXCodes = null;
|
|
this.smartSerialPort1.TailErrorCodeOffset = 0;
|
|
this.smartSerialPort1.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPort1_OnReadQueueEvent);
|
|
//
|
|
// smartSerialPort4
|
|
//
|
|
this.smartSerialPort4.Baud_Rate = SmartX.SmartSerialPort.BAUDRATE._9600bps;
|
|
this.smartSerialPort4.ErrorCheckCodeType = SmartX.SmartSerialPort.ERRORCHECKCODETYPES.ASCIICODE;
|
|
this.smartSerialPort4.ErrorCheckMode = SmartX.SmartSerialPort.ERRORCHECK.NONE;
|
|
this.smartSerialPort4.ErrorCode_Location = SmartX.SmartSerialPort.ERRORCODELOCATION.HEADER;
|
|
this.smartSerialPort4.ETXCode = ((byte)(3));
|
|
this.smartSerialPort4.ETXCodes = null;
|
|
this.smartSerialPort4.FrameBufferSize = ((uint)(2048u));
|
|
this.smartSerialPort4.FrameSeparationType = SmartX.SmartSerialPort.FRAMESEPARATIONTYPES.NONEFRAME_READTIMEOUT;
|
|
this.smartSerialPort4.HeadErrorCodeOffset = 0;
|
|
this.smartSerialPort4.PortNo = SmartX.SmartSerialPort.COMPORTNO.COM4;
|
|
this.smartSerialPort4.ReadTimeout = 300;
|
|
this.smartSerialPort4.ReceiveDetect = SmartX.SmartSerialPort.RECEIVEDETECTTYPE.EVENT_QUEUE;
|
|
this.smartSerialPort4.ReceiveFrameDebugMode = false;
|
|
this.smartSerialPort4.RS485SoftwareDetection = false;
|
|
this.smartSerialPort4.STXCode = ((byte)(2));
|
|
this.smartSerialPort4.STXCodes = null;
|
|
this.smartSerialPort4.TailErrorCodeOffset = 0;
|
|
this.smartSerialPort4.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPort4_OnReadQueueEvent);
|
|
//
|
|
// smartSerialPort3
|
|
//
|
|
this.smartSerialPort3.Baud_Rate = SmartX.SmartSerialPort.BAUDRATE._9600bps;
|
|
this.smartSerialPort3.ErrorCheckCodeType = SmartX.SmartSerialPort.ERRORCHECKCODETYPES.ASCIICODE;
|
|
this.smartSerialPort3.ErrorCheckMode = SmartX.SmartSerialPort.ERRORCHECK.NONE;
|
|
this.smartSerialPort3.ErrorCode_Location = SmartX.SmartSerialPort.ERRORCODELOCATION.HEADER;
|
|
this.smartSerialPort3.ETXCode = ((byte)(3));
|
|
this.smartSerialPort3.ETXCodes = null;
|
|
this.smartSerialPort3.FrameBufferSize = ((uint)(1024u));
|
|
this.smartSerialPort3.FrameSeparationType = SmartX.SmartSerialPort.FRAMESEPARATIONTYPES.NONEFRAME_READTIMEOUT;
|
|
this.smartSerialPort3.HeadErrorCodeOffset = 0;
|
|
this.smartSerialPort3.PortNo = SmartX.SmartSerialPort.COMPORTNO.COM3;
|
|
this.smartSerialPort3.ReadTimeout = 300;
|
|
this.smartSerialPort3.ReceiveDetect = SmartX.SmartSerialPort.RECEIVEDETECTTYPE.EVENT_QUEUE;
|
|
this.smartSerialPort3.ReceiveFrameDebugMode = false;
|
|
this.smartSerialPort3.RS485SoftwareDetection = false;
|
|
this.smartSerialPort3.STXCode = ((byte)(2));
|
|
this.smartSerialPort3.STXCodes = null;
|
|
this.smartSerialPort3.TailErrorCodeOffset = 0;
|
|
this.smartSerialPort3.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPort3_OnReadQueueEvent);
|
|
//
|
|
// smartThread
|
|
//
|
|
this.smartThread.Priority = System.Threading.ThreadPriority.Normal;
|
|
this.smartThread.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThread_UIThreadFunction);
|
|
//
|
|
// smartTCPMultiServer
|
|
//
|
|
this.smartTCPMultiServer.MaxClient = 1;
|
|
this.smartTCPMultiServer.MaxReceiveBufferSize = 1000;
|
|
this.smartTCPMultiServer.Port = 502;
|
|
this.smartTCPMultiServer.ReceiveTimeout = 3000;
|
|
this.smartTCPMultiServer.OnReceiveHandler += new SmartX.SmartTCPMultiServer.ReceiveHandler(this.smartTCPMultiServer_OnReceiveHandler);
|
|
//
|
|
// smartFileCheckLog
|
|
//
|
|
this.smartFileCheckLog.FilePathName = null;
|
|
//
|
|
// timeOut
|
|
//
|
|
this.timeOut.Tick += new System.EventHandler(this.timeOut_Tick);
|
|
//
|
|
// timerBuzzer
|
|
//
|
|
this.timerBuzzer.Tick += new System.EventHandler(this.timerBuzzer_Tick);
|
|
//
|
|
// timerEthernetPing
|
|
//
|
|
this.timerEthernetPing.Interval = 3000;
|
|
this.timerEthernetPing.Tick += new System.EventHandler(this.timerEthernetPing_Tick);
|
|
//
|
|
// timerSensorError
|
|
//
|
|
this.timerSensorError.Interval = 1;
|
|
this.timerSensorError.Tick += new System.EventHandler(this.timerSensorError_Tick);
|
|
//
|
|
// smartFileStartStopLog
|
|
//
|
|
this.smartFileStartStopLog.FilePathName = null;
|
|
//
|
|
// smartFileBarcodeLog
|
|
//
|
|
this.smartFileBarcodeLog.FilePathName = null;
|
|
//
|
|
// smartThreadSerialPort2OverRun
|
|
//
|
|
this.smartThreadSerialPort2OverRun.Priority = System.Threading.ThreadPriority.Normal;
|
|
this.smartThreadSerialPort2OverRun.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThreadSerialPort2Read_UIThreadFunction);
|
|
//
|
|
// smartThreadSerialPort2Read
|
|
//
|
|
this.smartThreadSerialPort2Read.Priority = System.Threading.ThreadPriority.Normal;
|
|
this.smartThreadSerialPort2Read.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThreadSerialPort2Read_UIThreadFunction);
|
|
//
|
|
// timerClientConnect
|
|
//
|
|
this.timerClientConnect.Interval = 1000;
|
|
this.timerClientConnect.Tick += new System.EventHandler(this.timerClientConnect_Tick);
|
|
//
|
|
// smartFile1
|
|
//
|
|
this.smartFile1.FilePathName = null;
|
|
//
|
|
// FormMain
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.AutoScroll = true;
|
|
this.ClientSize = new System.Drawing.Size(800, 600);
|
|
this.Controls.Add(this.smartForm);
|
|
this.Name = "FormMain";
|
|
this.Text = "Form1";
|
|
((System.ComponentModel.ISupportInitialize)(this.smartForm)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
public SmartX.SmartForm smartForm;
|
|
public SmartX.SmartFile smartFileIO;
|
|
public SmartX.SmartFile smartFileCommunicationLog;
|
|
public SmartX.SmartConfigs smartConfigs;
|
|
private SmartX.SmartSerialPort smartSerialPort2;
|
|
private SmartX.SmartSerialPort smartSerialPort1;
|
|
private SmartX.SmartSerialPort smartSerialPort4;
|
|
private SmartX.SmartSerialPort smartSerialPort3;
|
|
public SmartX.SmartThread smartThread;
|
|
public SmartX.SmartTCPMultiServer smartTCPMultiServer;
|
|
public SmartX.SmartFile smartFileCheckLog;
|
|
private System.Windows.Forms.Timer timeOut;
|
|
private System.Windows.Forms.Timer timerBuzzer;
|
|
private System.Windows.Forms.Timer timerEthernetPing;
|
|
private System.Windows.Forms.Timer timerSensorError;
|
|
public SmartX.SmartFile smartFileStartStopLog;
|
|
public SmartX.SmartFile smartFileBarcodeLog;
|
|
private SmartX.SmartThread smartThreadSerialPort2OverRun;
|
|
private SmartX.SmartThread smartThreadSerialPort2Read;
|
|
public SmartX.SmartFile smartFile1;
|
|
public System.Windows.Forms.Timer timerClientConnect;
|
|
|
|
}
|
|
}
|
|
|