254 lines
12 KiB
C#
254 lines
12 KiB
C#
namespace INT69DC_7C.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.smartConfigs = new SmartX.SmartConfigs();
|
|
this.smartFileCommunicationLog = new SmartX.SmartFile();
|
|
this.smartFileCom3Log = new SmartX.SmartFile();
|
|
this.timerOPT1 = new System.Windows.Forms.Timer();
|
|
this.smartFileAdcLog = new SmartX.SmartFile();
|
|
this.timerAdcLog = new System.Windows.Forms.Timer();
|
|
this.timerTimeoutOPT1 = new System.Windows.Forms.Timer();
|
|
this.smartUARTCom1 = new SmartX.SmartUART(this.components);
|
|
this.smartFileCom1Log = new SmartX.SmartFile();
|
|
this.smartThread = new SmartX.SmartThread(this.components);
|
|
this.timerTimeoutOPT4 = new System.Windows.Forms.Timer();
|
|
this.smartTimer1 = new SmartX.SmartTimer(this.components);
|
|
this.timerTimeoutOPT4_OnlineCheck = new System.Windows.Forms.Timer();
|
|
this.smartSerialPortCom3 = new SmartX.SmartSerialPort();
|
|
this.smartTCPMultiServer = new SmartX.SmartTCPMultiServer();
|
|
this.timerTimeOutTransmission = new System.Windows.Forms.Timer();
|
|
this.timerUserList = new System.Windows.Forms.Timer();
|
|
this.smartSerialPortLink = new SmartX.SmartSerialPort();
|
|
this.serialPort4 = new System.IO.Ports.SerialPort(this.components);
|
|
this.timerCheckWeight = 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.LCD1024X768;
|
|
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(1024, 768);
|
|
this.smartForm.SpecialFunctionClickPointSize = 100;
|
|
this.smartForm.SuspendLayoutInterval = 0;
|
|
//
|
|
// smartFileIO
|
|
//
|
|
this.smartFileIO.FilePathName = null;
|
|
//
|
|
// smartFileCommunicationLog
|
|
//
|
|
this.smartFileCommunicationLog.FilePathName = null;
|
|
//
|
|
// smartFileCom3Log
|
|
//
|
|
this.smartFileCom3Log.FilePathName = null;
|
|
//
|
|
// timerOPT1
|
|
//
|
|
this.timerOPT1.Tick += new System.EventHandler(this.timerOPT1_Tick);
|
|
//
|
|
// smartFileAdcLog
|
|
//
|
|
this.smartFileAdcLog.FilePathName = null;
|
|
//
|
|
// timerAdcLog
|
|
//
|
|
this.timerAdcLog.Interval = 300000;
|
|
this.timerAdcLog.Tick += new System.EventHandler(this.timerAdcLog_Tick);
|
|
//
|
|
// timerTimeoutOPT1
|
|
//
|
|
this.timerTimeoutOPT1.Tick += new System.EventHandler(this.timerTimeout_Tick);
|
|
//
|
|
// smartUARTCom1
|
|
//
|
|
this.smartUARTCom1.Buad_Rate = SmartX.SmartUART.BUADRATE.CBR_9600;
|
|
this.smartUARTCom1.ErrorCheckMode = SmartX.SmartUART.ERRORCHECK.NONE;
|
|
this.smartUARTCom1.ErrorCode_Location = SmartX.SmartUART.ERRORCODELOCATION.HEADER;
|
|
this.smartUARTCom1.ETXCode = ((byte)(3));
|
|
this.smartUARTCom1.ETXCodes = null;
|
|
this.smartUARTCom1.FrameBufferSize = ((uint)(200u));
|
|
this.smartUARTCom1.FrameSeparationType = SmartX.SmartUART.FRAMESEPARATIONTYPES.STXANDETX;
|
|
this.smartUARTCom1.HeadErrorCodeOffset = 0;
|
|
this.smartUARTCom1.PortNo = SmartX.SmartUART.COMPORTNO.COM1;
|
|
this.smartUARTCom1.STXCode = ((byte)(2));
|
|
this.smartUARTCom1.TailErrorCodeOffset = 0;
|
|
//
|
|
// smartFileCom1Log
|
|
//
|
|
this.smartFileCom1Log.FilePathName = null;
|
|
//
|
|
// smartThread
|
|
//
|
|
this.smartThread.Priority = System.Threading.ThreadPriority.Normal;
|
|
this.smartThread.WorkerReportsProgress = false;
|
|
this.smartThread.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThread_UIThreadFunction);
|
|
this.smartThread.OnEnding += new SmartX.SmartThread.EndingHandler(this.smartThread_OnEnding);
|
|
//
|
|
// timerTimeoutOPT4
|
|
//
|
|
this.timerTimeoutOPT4.Interval = 2000;
|
|
this.timerTimeoutOPT4.Tick += new System.EventHandler(this.timerTimeoutOPT4_Tick);
|
|
//
|
|
// smartTimer1
|
|
//
|
|
this.smartTimer1.EndTime = ((long)(100000000000));
|
|
this.smartTimer1.Interval = 1000;
|
|
this.smartTimer1.IntervalSeries = null;
|
|
this.smartTimer1.NowMillisecond = ((long)(0));
|
|
this.smartTimer1.StartTime = ((long)(0));
|
|
this.smartTimer1.Tick += new System.EventHandler(this.smartTimer1_Tick);
|
|
//
|
|
// timerTimeoutOPT4_OnlineCheck
|
|
//
|
|
this.timerTimeoutOPT4_OnlineCheck.Interval = 10000;
|
|
this.timerTimeoutOPT4_OnlineCheck.Tick += new System.EventHandler(this.timerTimeoutOPT4_OnlineCheck_Tick);
|
|
//
|
|
// smartSerialPortCom3
|
|
//
|
|
this.smartSerialPortCom3.Baud_Rate = SmartX.SmartSerialPort.BAUDRATE._9600bps;
|
|
this.smartSerialPortCom3.ErrorCheckCodeType = SmartX.SmartSerialPort.ERRORCHECKCODETYPES.ASCIICODE;
|
|
this.smartSerialPortCom3.ErrorCheckMode = SmartX.SmartSerialPort.ERRORCHECK.NONE;
|
|
this.smartSerialPortCom3.ErrorCode_Location = SmartX.SmartSerialPort.ERRORCODELOCATION.HEADER;
|
|
this.smartSerialPortCom3.ETXCode = ((byte)(3));
|
|
this.smartSerialPortCom3.ETXCodes = null;
|
|
this.smartSerialPortCom3.FrameBufferSize = ((uint)(1024u));
|
|
this.smartSerialPortCom3.FrameSeparationType = SmartX.SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
|
this.smartSerialPortCom3.HeadErrorCodeOffset = 0;
|
|
this.smartSerialPortCom3.PortNo = SmartX.SmartSerialPort.COMPORTNO.COM3;
|
|
this.smartSerialPortCom3.ReadTimeout = -1;
|
|
this.smartSerialPortCom3.ReceiveDetect = SmartX.SmartSerialPort.RECEIVEDETECTTYPE.EVENT_QUEUE;
|
|
this.smartSerialPortCom3.ReceiveFrameDebugMode = false;
|
|
this.smartSerialPortCom3.RS485SoftwareDetection = false;
|
|
this.smartSerialPortCom3.STXCode = ((byte)(2));
|
|
this.smartSerialPortCom3.STXCodes = null;
|
|
this.smartSerialPortCom3.TailErrorCodeOffset = 0;
|
|
this.smartSerialPortCom3.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPortCom3_OnReadQueueEvent);
|
|
//
|
|
// smartTCPMultiServer
|
|
//
|
|
this.smartTCPMultiServer.MaxClient = 1;
|
|
this.smartTCPMultiServer.MaxReceiveBufferSize = 1000;
|
|
this.smartTCPMultiServer.Port = 5001;
|
|
this.smartTCPMultiServer.ReceiveTimeout = 3000;
|
|
this.smartTCPMultiServer.OnReceiveHandler += new SmartX.SmartTCPMultiServer.ReceiveHandler(this.smartTCPMultiServer_OnReceiveHandler);
|
|
//
|
|
// timerTimeOutTransmission
|
|
//
|
|
this.timerTimeOutTransmission.Interval = 300;
|
|
this.timerTimeOutTransmission.Tick += new System.EventHandler(this.timerTimeOutTransmission_Tick);
|
|
//
|
|
// timerUserList
|
|
//
|
|
this.timerUserList.Interval = 1000;
|
|
this.timerUserList.Tick += new System.EventHandler(this.timerUserList_Tick);
|
|
//
|
|
// smartSerialPortLink
|
|
//
|
|
this.smartSerialPortLink.Baud_Rate = SmartX.SmartSerialPort.BAUDRATE._115200bps;
|
|
this.smartSerialPortLink.ErrorCheckCodeType = SmartX.SmartSerialPort.ERRORCHECKCODETYPES.ASCIICODE;
|
|
this.smartSerialPortLink.ErrorCheckMode = SmartX.SmartSerialPort.ERRORCHECK.NONE;
|
|
this.smartSerialPortLink.ErrorCode_Location = SmartX.SmartSerialPort.ERRORCODELOCATION.HEADER;
|
|
this.smartSerialPortLink.ETXCode = ((byte)(3));
|
|
this.smartSerialPortLink.ETXCodes = null;
|
|
this.smartSerialPortLink.FrameBufferSize = ((uint)(8192u));
|
|
this.smartSerialPortLink.FrameSeparationType = SmartX.SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
|
this.smartSerialPortLink.HeadErrorCodeOffset = 0;
|
|
this.smartSerialPortLink.PortNo = SmartX.SmartSerialPort.COMPORTNO.COM2;
|
|
this.smartSerialPortLink.ReadTimeout = -1;
|
|
this.smartSerialPortLink.ReceiveDetect = SmartX.SmartSerialPort.RECEIVEDETECTTYPE.EVENT_QUEUE;
|
|
this.smartSerialPortLink.ReceiveFrameDebugMode = false;
|
|
this.smartSerialPortLink.RS485SoftwareDetection = false;
|
|
this.smartSerialPortLink.STXCode = ((byte)(2));
|
|
this.smartSerialPortLink.STXCodes = null;
|
|
this.smartSerialPortLink.TailErrorCodeOffset = 0;
|
|
this.smartSerialPortLink.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPortLink_OnReadQueueEvent);
|
|
//
|
|
// serialPort4
|
|
//
|
|
this.serialPort4.PortName = "COM4";
|
|
this.serialPort4.ReadTimeout = 1000;
|
|
this.serialPort4.WriteTimeout = 1000;
|
|
//
|
|
// timerCheckWeight
|
|
//
|
|
this.timerCheckWeight.Interval = 3000;
|
|
this.timerCheckWeight.Tick += new System.EventHandler(this.timerCheckWeight_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(1024, 768);
|
|
this.Controls.Add(this.smartForm);
|
|
this.Name = "FormMain";
|
|
this.Text = "FormMain";
|
|
((System.ComponentModel.ISupportInitialize)(this.smartForm)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
public SmartX.SmartFile smartFileIO;
|
|
public SmartX.SmartFile smartFileCommunicationLog;
|
|
public SmartX.SmartForm smartForm;
|
|
public SmartX.SmartConfigs smartConfigs;
|
|
public SmartX.SmartFile smartFileCom3Log;
|
|
public SmartX.SmartFile smartFileAdcLog;
|
|
public System.Windows.Forms.Timer timerAdcLog;
|
|
public System.Windows.Forms.Timer timerTimeoutOPT1;
|
|
public System.Windows.Forms.Timer timerOPT1;
|
|
public SmartX.SmartUART smartUARTCom1;
|
|
public SmartX.SmartFile smartFileCom1Log;
|
|
public SmartX.SmartThread smartThread;
|
|
private System.Windows.Forms.Timer timerTimeoutOPT4;
|
|
private SmartX.SmartTimer smartTimer1;
|
|
private System.Windows.Forms.Timer timerTimeoutOPT4_OnlineCheck;
|
|
public SmartX.SmartSerialPort smartSerialPortCom3;
|
|
public SmartX.SmartTCPMultiServer smartTCPMultiServer;
|
|
public System.Windows.Forms.Timer timerTimeOutTransmission;
|
|
private System.Windows.Forms.Timer timerUserList;
|
|
private SmartX.SmartSerialPort smartSerialPortLink;
|
|
private System.IO.Ports.SerialPort serialPort4;
|
|
private System.Windows.Forms.Timer timerCheckWeight;
|
|
}
|
|
} |