274 lines
15 KiB
C#
274 lines
15 KiB
C#
namespace ITC81DB_0H.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.smartFileDataBackup = 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.smartTimerUpdate = new SmartX.SmartTimer(this.components);
|
|
this.timerEthernetPing = new System.Windows.Forms.Timer();
|
|
this.smartTimerLogout = new SmartX.SmartTimer(this.components);
|
|
this.timerUserList = new System.Windows.Forms.Timer();
|
|
this.smartThreadSerialPort2OverRun = new SmartX.SmartThread(this.components);
|
|
this.smartThreadSerialPort2Read = new SmartX.SmartThread(this.components);
|
|
this.timerClientTryConnect = new System.Windows.Forms.Timer();
|
|
((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;
|
|
//
|
|
// smartFileDataBackup
|
|
//
|
|
this.smartFileDataBackup.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.WorkerReportsProgress = false;
|
|
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.OnClientAdd += new SmartX.SmartTCPMultiServer.ClientAddHandler(this.smartTCPMultiServer_OnClientAdd);
|
|
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);
|
|
//
|
|
// smartTimerUpdate
|
|
//
|
|
this.smartTimerUpdate.EndTime = ((long)(100000000000));
|
|
this.smartTimerUpdate.Interval = 5000;
|
|
this.smartTimerUpdate.IntervalSeries = null;
|
|
this.smartTimerUpdate.NowMillisecond = ((long)(0));
|
|
this.smartTimerUpdate.StartTime = ((long)(0));
|
|
this.smartTimerUpdate.Tick += new System.EventHandler(this.smartTimerUpdate_Tick);
|
|
//
|
|
// timerEthernetPing
|
|
//
|
|
this.timerEthernetPing.Interval = 2000;
|
|
this.timerEthernetPing.Tick += new System.EventHandler(this.timerEthernetPing_Tick);
|
|
//
|
|
// smartTimerLogout
|
|
//
|
|
this.smartTimerLogout.EndTime = ((long)(100000000000));
|
|
this.smartTimerLogout.Interval = 100;
|
|
this.smartTimerLogout.IntervalSeries = null;
|
|
this.smartTimerLogout.NowMillisecond = ((long)(0));
|
|
this.smartTimerLogout.StartTime = ((long)(0));
|
|
this.smartTimerLogout.Tick += new System.EventHandler(this.smartTimerLogout_Tick);
|
|
//
|
|
// timerUserList
|
|
//
|
|
this.timerUserList.Interval = 1000;
|
|
this.timerUserList.Tick += new System.EventHandler(this.timerUserList_Tick);
|
|
//
|
|
// smartThreadSerialPort2OverRun
|
|
//
|
|
this.smartThreadSerialPort2OverRun.Priority = System.Threading.ThreadPriority.Normal;
|
|
this.smartThreadSerialPort2OverRun.WorkerReportsProgress = false;
|
|
this.smartThreadSerialPort2OverRun.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThreadSerialPort2Read_UIThreadFunction);
|
|
//
|
|
// smartThreadSerialPort2Read
|
|
//
|
|
this.smartThreadSerialPort2Read.Priority = System.Threading.ThreadPriority.Normal;
|
|
this.smartThreadSerialPort2Read.WorkerReportsProgress = false;
|
|
this.smartThreadSerialPort2Read.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThreadSerialPort2Read_UIThreadFunction);
|
|
//
|
|
// timerClientTryConnect
|
|
//
|
|
this.timerClientTryConnect.Interval = 2000;
|
|
this.timerClientTryConnect.Tick += new System.EventHandler(this.timerClientTryConnect_Tick);
|
|
//
|
|
// 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;
|
|
private SmartX.SmartFile smartFileDataBackup;
|
|
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 SmartX.SmartTimer smartTimerUpdate;
|
|
private System.Windows.Forms.Timer timerEthernetPing;
|
|
private SmartX.SmartTimer smartTimerLogout;
|
|
private System.Windows.Forms.Timer timerUserList;
|
|
private SmartX.SmartThread smartThreadSerialPort2OverRun;
|
|
private SmartX.SmartThread smartThreadSerialPort2Read;
|
|
private System.Windows.Forms.Timer timerClientTryConnect;
|
|
|
|
}
|
|
}
|
|
|