157 lines
		
	
	
		
			7.6 KiB
		
	
	
	
		
			C#
		
	
			
		
		
	
	
			157 lines
		
	
	
		
			7.6 KiB
		
	
	
	
		
			C#
		
	
| namespace INT_LKD.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.smartSerialPort = 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.smartTCPMultiServer = new SmartX.SmartTCPMultiServer(this.components);
 | |
|             this.timerClientTryConnect = new System.Windows.Forms.Timer();
 | |
|             this.timerSystem = new System.Windows.Forms.Timer();
 | |
|             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.PasswordDialog.AdminPassword = "123";
 | |
|             this.smartForm1.PasswordDialog.Title = "관리자 비밀번호를 입력하세요";
 | |
|             this.smartForm1.Size = new System.Drawing.Size(1024, 768);
 | |
|             this.smartForm1.SpecialFunctionClickMode = SmartXUIBase.SmartUIControlFormBase.SpecialFunctionClickModeType.SpecialFunctionClickEvent;
 | |
|             this.smartForm1.SpecialFunctionClickPointSize = 100;
 | |
|             this.smartForm1.UseMainMenu = false;
 | |
|             // 
 | |
|             // smartSerialPort
 | |
|             // 
 | |
|             this.smartSerialPort.Baud_Rate = SmartX.SmartSerialPort.BAUDRATE._115200bps;
 | |
|             this.smartSerialPort.ErrorCheckCodeType = SmartX.SmartSerialPort.ERRORCHECKCODETYPES.ASCIICODE;
 | |
|             this.smartSerialPort.ErrorCheckMode = SmartX.SmartSerialPort.ERRORCHECK.NONE;
 | |
|             this.smartSerialPort.ErrorCode_Location = SmartX.SmartSerialPort.ERRORCODELOCATION.HEADER;
 | |
|             this.smartSerialPort.ETXCode = ((byte)(3));
 | |
|             this.smartSerialPort.ETXCodes = null;
 | |
|             this.smartSerialPort.FrameBufferSize = ((uint)(4096u));
 | |
|             this.smartSerialPort.FrameSeparationType = SmartX.SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
 | |
|             this.smartSerialPort.HeadErrorCodeOffset = 0;
 | |
|             this.smartSerialPort.PortNo = SmartX.SmartSerialPort.COMPORTNO.COM2;
 | |
|             this.smartSerialPort.ReadTimeout = -1;
 | |
|             this.smartSerialPort.ReceiveDetect = SmartX.SmartSerialPort.RECEIVEDETECTTYPE.EVENT_QUEUE;
 | |
|             this.smartSerialPort.ReceiveFrameDebugMode = false;
 | |
|             this.smartSerialPort.RS485SoftwareDetection = false;
 | |
|             this.smartSerialPort.STXCode = ((byte)(2));
 | |
|             this.smartSerialPort.STXCodes = null;
 | |
|             this.smartSerialPort.TailErrorCodeOffset = 0;
 | |
|             this.smartSerialPort.OnReadQueueEvent += new SmartX.SmartSerialPort.ReceiveDataHandler(this.smartSerialPort_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;
 | |
|             // 
 | |
|             // smartTCPMultiServer
 | |
|             // 
 | |
|             this.smartTCPMultiServer.MaxClient = 1;
 | |
|             this.smartTCPMultiServer.MaxReceiveBufferSize = 1000;
 | |
|             this.smartTCPMultiServer.Port = 502;
 | |
|             this.smartTCPMultiServer.ReceiveTimeout = 3000;
 | |
|             this.smartTCPMultiServer.SendCallBackType = SmartX.SmartTCPMultiServer.CALLBACKTYPE.Sync;
 | |
|             this.smartTCPMultiServer.OnReceiveHandler += new SmartX.SmartTCPMultiServer.ReceiveHandler(this.smartTCPMultiServer_OnReceiveHandler);
 | |
|             // 
 | |
|             // timerClientTryConnect
 | |
|             // 
 | |
|             this.timerClientTryConnect.Interval = 2000;
 | |
|             this.timerClientTryConnect.Tick += new System.EventHandler(this.timerClientTryConnect_Tick);
 | |
|             // 
 | |
|             // timerSystem
 | |
|             // 
 | |
|             this.timerSystem.Interval = 1000;
 | |
|             this.timerSystem.Tick += new System.EventHandler(this.timerSystem_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.ControlBox = false;
 | |
|             this.Controls.Add(this.smartForm1);
 | |
|             this.Name = "FormMain";
 | |
|             this.Text = "FormMain";
 | |
|             this.ResumeLayout(false);
 | |
| 
 | |
|         }
 | |
| 
 | |
|         #endregion
 | |
| 
 | |
|         public SmartX.SmartForm smartForm1;
 | |
|         private SmartX.SmartSerialPort smartSerialPort;
 | |
|         private SmartX.SmartFile smartFileIO;
 | |
|         private System.Windows.Forms.Timer timerUserList;
 | |
|         private SmartX.SmartModbus smartModbus;
 | |
|         private System.Windows.Forms.Timer timerClientTryConnect;
 | |
|         public SmartX.SmartConfigs smartConfigs;
 | |
|         public SmartX.SmartTCPMultiServer smartTCPMultiServer;
 | |
|         public System.Windows.Forms.Timer timerSystem;
 | |
|         public SmartX.SmartFile smartFileCommunicationLog;
 | |
| 
 | |
|     }
 | |
| } |