129 lines
6.1 KiB
C#
129 lines
6.1 KiB
C#
namespace INT_PT002.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();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
|
|
this.smartForm1 = new SmartX.SmartForm();
|
|
this.smartSerialPortLink = new SmartX.SmartSerialPort(this.components);
|
|
this.smartFileCommunicationLog = new SmartX.SmartFile();
|
|
this.smartFileIO = new SmartX.SmartFile();
|
|
this.timerUserList = new System.Windows.Forms.Timer();
|
|
this.smartConfigs = new SmartX.SmartConfigs();
|
|
this.smartModbus = new SmartX.SmartModbus();
|
|
this.SuspendLayout();
|
|
//
|
|
// smartForm1
|
|
//
|
|
this.smartForm1.BackGroundFillStyle = SmartXUIBase.SmartUIControlFormBase.BackGroundFillStyles.GradationColor1;
|
|
this.smartForm1.BackImage = ((System.Drawing.Image)(resources.GetObject("smartForm1.BackImage")));
|
|
this.smartForm1.CenterLocation = false;
|
|
this.smartForm1.GradationColorBottom = System.Drawing.Color.Gray;
|
|
this.smartForm1.GradationColorTop = System.Drawing.Color.White;
|
|
this.smartForm1.LCDDirection = SmartXUIBase.SmartUIControlFormBase.LCDDIRECTIONS.HORIZONTAL;
|
|
this.smartForm1.LCDSize = SmartXUIBase.SmartUIControlFormBase.LCDRESOLUTION.LCD1024X768;
|
|
this.smartForm1.Location = new System.Drawing.Point(0, 0);
|
|
this.smartForm1.MainForm = null;
|
|
this.smartForm1.Mode = SmartXUIBase.SmartUIControlFormBase.RUNMODE.RUNTIME;
|
|
this.smartForm1.MouseCursor = SmartX.SmartForm.OnOff.OFF;
|
|
this.smartForm1.Name = "smartForm1";
|
|
this.smartForm1.Size = new System.Drawing.Size(1024, 768);
|
|
this.smartForm1.SpecialFunctionClickPointSize = 100;
|
|
this.smartForm1.UseMainMenu = false;
|
|
//
|
|
// 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)(1024u));
|
|
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);
|
|
//
|
|
// smartFileCommunicationLog
|
|
//
|
|
this.smartFileCommunicationLog.FilePathName = "";
|
|
//
|
|
// smartFileIO
|
|
//
|
|
this.smartFileIO.FilePathName = "";
|
|
//
|
|
// timerUserList
|
|
//
|
|
this.timerUserList.Interval = 1000;
|
|
this.timerUserList.Tick += new System.EventHandler(this.timerUserList_Tick);
|
|
//
|
|
// smartModbus
|
|
//
|
|
this.smartModbus.Baud_Rate = SmartX.SmartModbus.BAUDRATE._9600bps;
|
|
this.smartModbus.Parity = System.IO.Ports.Parity.None;
|
|
this.smartModbus.PortNo = SmartX.SmartModbus.COMPORTNO.COM1;
|
|
this.smartModbus.ProtocolType = SmartX.SmartModbus.PROTOCOL.RTU;
|
|
this.smartModbus.ReadTimeout = 500;
|
|
this.smartModbus.SlaveAddress = 1;
|
|
this.smartModbus.StopBits = System.IO.Ports.StopBits.One;
|
|
//
|
|
// 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.ControlBox = false;
|
|
this.Controls.Add(this.smartForm1);
|
|
this.Name = "FormMain";
|
|
this.Text = "FormMain";
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
public SmartX.SmartForm smartForm1;
|
|
private SmartX.SmartSerialPort smartSerialPortLink;
|
|
private SmartX.SmartFile smartFileCommunicationLog;
|
|
private SmartX.SmartFile smartFileIO;
|
|
private System.Windows.Forms.Timer timerUserList;
|
|
private SmartX.SmartConfigs smartConfigs;
|
|
private SmartX.SmartModbus smartModbus;
|
|
|
|
}
|
|
} |