176 lines
7.7 KiB
C#
176 lines
7.7 KiB
C#
namespace INT63DC_2C.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.smartFileAdcLog = new SmartX.SmartFile();
|
|
this.timerAdcLog = new System.Windows.Forms.Timer();
|
|
this.smartFileCom1Log = new SmartX.SmartFile();
|
|
this.smartThread = new SmartX.SmartThread(this.components);
|
|
this.timerTimeout = new System.Windows.Forms.Timer();
|
|
this.smartModbus = new SmartX.SmartModbus();
|
|
this.timerSampling = new System.Windows.Forms.Timer();
|
|
this.timerEmergencyStop = new System.Windows.Forms.Timer();
|
|
this.smartThreadSerialPort2Read = new SmartX.SmartThread(this.components);
|
|
this.smartThreadSerialPort2OverRun = new SmartX.SmartThread(this.components);
|
|
this.timerEquipmentStatus = new System.Windows.Forms.Timer();
|
|
this.timerLeakSampling = 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;
|
|
//
|
|
// smartFileAdcLog
|
|
//
|
|
this.smartFileAdcLog.FilePathName = null;
|
|
//
|
|
// timerAdcLog
|
|
//
|
|
this.timerAdcLog.Interval = 300000;
|
|
this.timerAdcLog.Tick += new System.EventHandler(this.timerAdcLog_Tick);
|
|
//
|
|
// 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);
|
|
//
|
|
// timerTimeout
|
|
//
|
|
this.timerTimeout.Interval = 5000;
|
|
this.timerTimeout.Tick += new System.EventHandler(this.timerTimeout_Tick);
|
|
//
|
|
// smartModbus
|
|
//
|
|
this.smartModbus.Buad_Rate = SmartX.SmartModbus.BUADRATE.CBR_9600;
|
|
this.smartModbus.Parity = System.IO.Ports.Parity.None;
|
|
this.smartModbus.PortNo = SmartX.SmartModbus.COMPORTNO.COM2;
|
|
this.smartModbus.ProtocolType = SmartX.SmartModbus.PROTOCOL.RTU;
|
|
this.smartModbus.ReadTimeout = 1000;
|
|
this.smartModbus.SlaveAddress = 0;
|
|
this.smartModbus.StopBits = System.IO.Ports.StopBits.One;
|
|
//
|
|
// timerSampling
|
|
//
|
|
this.timerSampling.Tick += new System.EventHandler(this.timerSampling_Tick);
|
|
//
|
|
// timerEmergencyStop
|
|
//
|
|
this.timerEmergencyStop.Interval = 500;
|
|
this.timerEmergencyStop.Tick += new System.EventHandler(this.timerEmergencyStop_Tick);
|
|
//
|
|
// smartThreadSerialPort2Read
|
|
//
|
|
this.smartThreadSerialPort2Read.Priority = System.Threading.ThreadPriority.Normal;
|
|
this.smartThreadSerialPort2Read.WorkerReportsProgress = false;
|
|
this.smartThreadSerialPort2Read.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThreadSerialPort2Read_UIThreadFunction);
|
|
//
|
|
// smartThreadSerialPort2OverRun
|
|
//
|
|
this.smartThreadSerialPort2OverRun.Priority = System.Threading.ThreadPriority.Normal;
|
|
this.smartThreadSerialPort2OverRun.WorkerReportsProgress = false;
|
|
this.smartThreadSerialPort2OverRun.UIThreadFunction += new SmartX.SmartThread.UIThreadHandler(this.smartThreadSerialPort2OverRun_UIThreadFunction);
|
|
//
|
|
// timerEquipmentStatus
|
|
//
|
|
this.timerEquipmentStatus.Interval = 1500;
|
|
this.timerEquipmentStatus.Tick += new System.EventHandler(this.timerEquipmentStatus_Tick);
|
|
//
|
|
// timerLeakSampling
|
|
//
|
|
this.timerLeakSampling.Tick += new System.EventHandler(this.timerLeakSampling_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 SmartX.SmartFile smartFileCom1Log;
|
|
public SmartX.SmartThread smartThread;
|
|
private System.Windows.Forms.Timer timerTimeout;
|
|
public SmartX.SmartModbus smartModbus;
|
|
public System.Windows.Forms.Timer timerSampling;
|
|
private System.Windows.Forms.Timer timerEmergencyStop;
|
|
private SmartX.SmartThread smartThreadSerialPort2Read;
|
|
private SmartX.SmartThread smartThreadSerialPort2OverRun;
|
|
private System.Windows.Forms.Timer timerEquipmentStatus;
|
|
public System.Windows.Forms.Timer timerLeakSampling;
|
|
}
|
|
} |