185 lines
8.9 KiB
C#
185 lines
8.9 KiB
C#
namespace INT69DB_2A.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.smartConfigs = new SmartX.SmartConfigs();
|
|
this.smartFileIO = new SmartX.SmartFile();
|
|
this.smartFileCommunicationLog = new SmartX.SmartFile();
|
|
this.smartFileAdcLog = new SmartX.SmartFile();
|
|
this.timerAdcLog = new System.Windows.Forms.Timer();
|
|
this.smartSerialPortLink = new SmartX.SmartSerialPort();
|
|
this.smartTCPMultiServer = new SmartX.SmartTCPMultiServer();
|
|
this.timerEthernetPing = new System.Windows.Forms.Timer();
|
|
this.timerWaitResponse = new System.Windows.Forms.Timer();
|
|
this.timerUserList = new System.Windows.Forms.Timer();
|
|
this.timerTimeOutTransmission = new System.Windows.Forms.Timer();
|
|
this.smartSerialPortCom3 = new SmartX.SmartSerialPort();
|
|
this.smartFileCom3Log = 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;
|
|
//
|
|
// smartFileAdcLog
|
|
//
|
|
this.smartFileAdcLog.FilePathName = null;
|
|
//
|
|
// timerAdcLog
|
|
//
|
|
this.timerAdcLog.Interval = 300000;
|
|
this.timerAdcLog.Tick += new System.EventHandler(this.timerAdcLog_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)(2048u));
|
|
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);
|
|
//
|
|
// 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);
|
|
//
|
|
// timerEthernetPing
|
|
//
|
|
this.timerEthernetPing.Interval = 2000;
|
|
this.timerEthernetPing.Tick += new System.EventHandler(this.timerEthernetPing_Tick);
|
|
//
|
|
// timerWaitResponse
|
|
//
|
|
this.timerWaitResponse.Interval = 150;
|
|
this.timerWaitResponse.Tick += new System.EventHandler(this.timerWaitResponse_Tick);
|
|
//
|
|
// timerUserList
|
|
//
|
|
this.timerUserList.Interval = 1000;
|
|
this.timerUserList.Tick += new System.EventHandler(this.timerUserList_Tick);
|
|
//
|
|
// timerTimeOutTransmission
|
|
//
|
|
this.timerTimeOutTransmission.Interval = 300;
|
|
this.timerTimeOutTransmission.Tick += new System.EventHandler(this.timerTimeOutTransmission_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;
|
|
//
|
|
// smartFileCom3Log
|
|
//
|
|
this.smartFileCom3Log.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 = "FormMain";
|
|
((System.ComponentModel.ISupportInitialize)(this.smartForm)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
public SmartX.SmartForm smartForm;
|
|
public SmartX.SmartConfigs smartConfigs;
|
|
public SmartX.SmartFile smartFileIO;
|
|
public SmartX.SmartFile smartFileCommunicationLog;
|
|
public SmartX.SmartFile smartFileAdcLog;
|
|
public System.Windows.Forms.Timer timerAdcLog;
|
|
private SmartX.SmartSerialPort smartSerialPortLink;
|
|
public SmartX.SmartTCPMultiServer smartTCPMultiServer;
|
|
private System.Windows.Forms.Timer timerEthernetPing;
|
|
private System.Windows.Forms.Timer timerWaitResponse;
|
|
private System.Windows.Forms.Timer timerUserList;
|
|
public System.Windows.Forms.Timer timerTimeOutTransmission;
|
|
public SmartX.SmartSerialPort smartSerialPortCom3;
|
|
public SmartX.SmartFile smartFileCom3Log;
|
|
|
|
}
|
|
} |