| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796 |
- namespace PLC_WF
- {
- partial class F_Main
- {
- /// <summary>
- /// 必需的设计器变量。
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// 清理所有正在使用的资源。
- /// </summary>
- /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows 窗体设计器生成的代码
- /// <summary>
- /// 设计器支持所需的方法 - 不要修改
- /// 使用代码编辑器修改此方法的内容。
- /// </summary>
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_Main));
- this.grbSetting = new System.Windows.Forms.GroupBox();
- this.btnRefreshForm = new System.Windows.Forms.Button();
- this.cboPLCST = new System.Windows.Forms.ComboBox();
- this.btnGetSetting = new System.Windows.Forms.Button();
- this.btnSetSetting = new System.Windows.Forms.Button();
- this.chkAutoStart = new System.Windows.Forms.CheckBox();
- this.label5 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.label3 = new System.Windows.Forms.Label();
- this.lblPort = new System.Windows.Forms.Label();
- this.txtDescription = new System.Windows.Forms.TextBox();
- this.txtDisplayName = new System.Windows.Forms.TextBox();
- this.txtServiceName = new System.Windows.Forms.TextBox();
- this.txtPort = new System.Windows.Forms.TextBox();
- this.btnExePath = new System.Windows.Forms.Button();
- this.txtStatus = new System.Windows.Forms.TextBox();
- this.btnLog = new System.Windows.Forms.Button();
- this.btnStop = new System.Windows.Forms.Button();
- this.btnStart = new System.Windows.Forms.Button();
- this.grbWS = new System.Windows.Forms.GroupBox();
- this.btnWS_Delete = new System.Windows.Forms.Button();
- this.btnWS_Refresh = new System.Windows.Forms.Button();
- this.btnWS_ReStart = new System.Windows.Forms.Button();
- this.btnWS_Stop = new System.Windows.Forms.Button();
- this.btnWS_Start = new System.Windows.Forms.Button();
- this.btnWS_Insert = new System.Windows.Forms.Button();
- this.serviceController1 = new System.ServiceProcess.ServiceController();
- this.grbES = new System.Windows.Forms.GroupBox();
- this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
- this.grbDB = new System.Windows.Forms.GroupBox();
- this.btnGetDB = new System.Windows.Forms.Button();
- this.btnSetDB = new System.Windows.Forms.Button();
- this.btnOracleTest = new System.Windows.Forms.Button();
- this.label6 = new System.Windows.Forms.Label();
- this.txtOraclePassword = new System.Windows.Forms.TextBox();
- this.label7 = new System.Windows.Forms.Label();
- this.txtOracleUserName = new System.Windows.Forms.TextBox();
- this.label9 = new System.Windows.Forms.Label();
- this.txtOracleDatabaseName = new System.Windows.Forms.TextBox();
- this.label11 = new System.Windows.Forms.Label();
- this.txtOraclePort = new System.Windows.Forms.TextBox();
- this.label10 = new System.Windows.Forms.Label();
- this.txtOracleName = new System.Windows.Forms.TextBox();
- this.grbMES = new System.Windows.Forms.GroupBox();
- this.btnGetMES = new System.Windows.Forms.Button();
- this.btnSetMES = new System.Windows.Forms.Button();
- this.btnMESTest = new System.Windows.Forms.Button();
- this.label8 = new System.Windows.Forms.Label();
- this.txtMES_Password = new System.Windows.Forms.TextBox();
- this.label12 = new System.Windows.Forms.Label();
- this.txtMES_User = new System.Windows.Forms.TextBox();
- this.label13 = new System.Windows.Forms.Label();
- this.txtMES_Account = new System.Windows.Forms.TextBox();
- this.label14 = new System.Windows.Forms.Label();
- this.txtMES_Port = new System.Windows.Forms.TextBox();
- this.label15 = new System.Windows.Forms.Label();
- this.txtMES_IP = new System.Windows.Forms.TextBox();
- this.panel1 = new System.Windows.Forms.Panel();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.grbSetting.SuspendLayout();
- this.grbWS.SuspendLayout();
- this.grbES.SuspendLayout();
- this.grbDB.SuspendLayout();
- this.grbMES.SuspendLayout();
- this.panel1.SuspendLayout();
- this.SuspendLayout();
- //
- // grbSetting
- //
- this.grbSetting.Controls.Add(this.btnRefreshForm);
- this.grbSetting.Controls.Add(this.cboPLCST);
- this.grbSetting.Controls.Add(this.btnGetSetting);
- this.grbSetting.Controls.Add(this.btnSetSetting);
- this.grbSetting.Controls.Add(this.chkAutoStart);
- this.grbSetting.Controls.Add(this.label5);
- this.grbSetting.Controls.Add(this.label4);
- this.grbSetting.Controls.Add(this.label2);
- this.grbSetting.Controls.Add(this.label3);
- this.grbSetting.Controls.Add(this.lblPort);
- this.grbSetting.Controls.Add(this.txtDescription);
- this.grbSetting.Controls.Add(this.txtDisplayName);
- this.grbSetting.Controls.Add(this.txtServiceName);
- this.grbSetting.Controls.Add(this.txtPort);
- this.grbSetting.Location = new System.Drawing.Point(0, 0);
- this.grbSetting.Name = "grbSetting";
- this.grbSetting.Size = new System.Drawing.Size(350, 136);
- this.grbSetting.TabIndex = 1;
- this.grbSetting.TabStop = false;
- this.grbSetting.Text = "PLC服务";
- //
- // btnRefreshForm
- //
- this.btnRefreshForm.Location = new System.Drawing.Point(203, 107);
- this.btnRefreshForm.Name = "btnRefreshForm";
- this.btnRefreshForm.Size = new System.Drawing.Size(75, 23);
- this.btnRefreshForm.TabIndex = 13;
- this.btnRefreshForm.Text = "刷新设置";
- this.btnRefreshForm.UseVisualStyleBackColor = true;
- this.btnRefreshForm.Click += new System.EventHandler(this.btnRefreshForm_Click);
- //
- // cboPLCST
- //
- this.cboPLCST.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cboPLCST.FormattingEnabled = true;
- this.cboPLCST.Location = new System.Drawing.Point(41, 20);
- this.cboPLCST.Name = "cboPLCST";
- this.cboPLCST.Size = new System.Drawing.Size(100, 20);
- this.cboPLCST.TabIndex = 1;
- this.cboPLCST.SelectedIndexChanged += new System.EventHandler(this.cboPLCST_SelectedIndexChanged);
- //
- // btnGetSetting
- //
- this.btnGetSetting.Location = new System.Drawing.Point(41, 107);
- this.btnGetSetting.Name = "btnGetSetting";
- this.btnGetSetting.Size = new System.Drawing.Size(75, 23);
- this.btnGetSetting.TabIndex = 11;
- this.btnGetSetting.Text = "读取设置";
- this.btnGetSetting.UseVisualStyleBackColor = true;
- this.btnGetSetting.Click += new System.EventHandler(this.btnGetSetting_Click);
- //
- // btnSetSetting
- //
- this.btnSetSetting.Location = new System.Drawing.Point(122, 107);
- this.btnSetSetting.Name = "btnSetSetting";
- this.btnSetSetting.Size = new System.Drawing.Size(75, 23);
- this.btnSetSetting.TabIndex = 12;
- this.btnSetSetting.Text = "保存设置";
- this.btnSetSetting.UseVisualStyleBackColor = true;
- this.btnSetSetting.Click += new System.EventHandler(this.btnSetSetting_Click);
- //
- // chkAutoStart
- //
- this.chkAutoStart.AutoSize = true;
- this.chkAutoStart.Location = new System.Drawing.Point(93, 52);
- this.chkAutoStart.Name = "chkAutoStart";
- this.chkAutoStart.Size = new System.Drawing.Size(48, 16);
- this.chkAutoStart.TabIndex = 6;
- this.chkAutoStart.Text = "自启";
- this.chkAutoStart.UseVisualStyleBackColor = true;
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(6, 83);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(29, 12);
- this.label5.TabIndex = 9;
- this.label5.Text = "描述";
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(147, 54);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(41, 12);
- this.label4.TabIndex = 7;
- this.label4.Text = "显示名";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(147, 24);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(41, 12);
- this.label2.TabIndex = 2;
- this.label2.Text = "服务名";
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(6, 24);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(29, 12);
- this.label3.TabIndex = 0;
- this.label3.Text = "类型";
- //
- // lblPort
- //
- this.lblPort.AutoSize = true;
- this.lblPort.Location = new System.Drawing.Point(6, 54);
- this.lblPort.Name = "lblPort";
- this.lblPort.Size = new System.Drawing.Size(29, 12);
- this.lblPort.TabIndex = 4;
- this.lblPort.Text = "端口";
- //
- // txtDescription
- //
- this.txtDescription.Location = new System.Drawing.Point(41, 79);
- this.txtDescription.Name = "txtDescription";
- this.txtDescription.Size = new System.Drawing.Size(303, 21);
- this.txtDescription.TabIndex = 10;
- //
- // txtDisplayName
- //
- this.txtDisplayName.Location = new System.Drawing.Point(194, 50);
- this.txtDisplayName.Name = "txtDisplayName";
- this.txtDisplayName.Size = new System.Drawing.Size(150, 21);
- this.txtDisplayName.TabIndex = 8;
- this.txtDisplayName.TextChanged += new System.EventHandler(this.txtDisplayName_TextChanged);
- //
- // txtServiceName
- //
- this.txtServiceName.Location = new System.Drawing.Point(194, 20);
- this.txtServiceName.Name = "txtServiceName";
- this.txtServiceName.ReadOnly = true;
- this.txtServiceName.Size = new System.Drawing.Size(150, 21);
- this.txtServiceName.TabIndex = 3;
- //
- // txtPort
- //
- this.txtPort.Location = new System.Drawing.Point(41, 50);
- this.txtPort.MaxLength = 6;
- this.txtPort.Name = "txtPort";
- this.txtPort.Size = new System.Drawing.Size(46, 21);
- this.txtPort.TabIndex = 5;
- this.txtPort.TextChanged += new System.EventHandler(this.txtPort_TextChanged);
- this.txtPort.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPort_KeyDown);
- this.txtPort.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPort_KeyPress);
- //
- // btnExePath
- //
- this.btnExePath.Location = new System.Drawing.Point(87, 49);
- this.btnExePath.Name = "btnExePath";
- this.btnExePath.Size = new System.Drawing.Size(75, 23);
- this.btnExePath.TabIndex = 3;
- this.btnExePath.Text = "exe path";
- this.btnExePath.UseVisualStyleBackColor = true;
- this.btnExePath.Click += new System.EventHandler(this.btnExePath_Click);
- //
- // txtStatus
- //
- this.txtStatus.Dock = System.Windows.Forms.DockStyle.Top;
- this.txtStatus.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtStatus.Location = new System.Drawing.Point(3, 3);
- this.txtStatus.Name = "txtStatus";
- this.txtStatus.Size = new System.Drawing.Size(707, 29);
- this.txtStatus.TabIndex = 0;
- this.txtStatus.TabStop = false;
- this.txtStatus.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.txtStatus.TextChanged += new System.EventHandler(this.txtStatus_TextChanged);
- this.txtStatus.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtStatus_KeyPress);
- //
- // btnLog
- //
- this.btnLog.Location = new System.Drawing.Point(6, 49);
- this.btnLog.Name = "btnLog";
- this.btnLog.Size = new System.Drawing.Size(75, 23);
- this.btnLog.TabIndex = 2;
- this.btnLog.Text = "日志";
- this.btnLog.UseVisualStyleBackColor = true;
- this.btnLog.Click += new System.EventHandler(this.btnLog_Click);
- //
- // btnStop
- //
- this.btnStop.Location = new System.Drawing.Point(87, 20);
- this.btnStop.Name = "btnStop";
- this.btnStop.Size = new System.Drawing.Size(75, 23);
- this.btnStop.TabIndex = 1;
- this.btnStop.Text = "停止服务";
- this.btnStop.UseVisualStyleBackColor = true;
- this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
- //
- // btnStart
- //
- this.btnStart.Location = new System.Drawing.Point(6, 20);
- this.btnStart.Name = "btnStart";
- this.btnStart.Size = new System.Drawing.Size(75, 23);
- this.btnStart.TabIndex = 0;
- this.btnStart.Text = "启动服务";
- this.btnStart.UseVisualStyleBackColor = true;
- this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
- //
- // grbWS
- //
- this.grbWS.Controls.Add(this.btnWS_Delete);
- this.grbWS.Controls.Add(this.btnWS_Refresh);
- this.grbWS.Controls.Add(this.btnWS_ReStart);
- this.grbWS.Controls.Add(this.btnWS_Stop);
- this.grbWS.Controls.Add(this.btnWS_Start);
- this.grbWS.Controls.Add(this.btnWS_Insert);
- this.grbWS.Location = new System.Drawing.Point(356, 0);
- this.grbWS.Name = "grbWS";
- this.grbWS.Size = new System.Drawing.Size(168, 107);
- this.grbWS.TabIndex = 5;
- this.grbWS.TabStop = false;
- this.grbWS.Text = "Windows Service";
- //
- // btnWS_Delete
- //
- this.btnWS_Delete.Location = new System.Drawing.Point(87, 20);
- this.btnWS_Delete.Name = "btnWS_Delete";
- this.btnWS_Delete.Size = new System.Drawing.Size(75, 23);
- this.btnWS_Delete.TabIndex = 1;
- this.btnWS_Delete.Text = "卸载服务";
- this.btnWS_Delete.UseVisualStyleBackColor = true;
- this.btnWS_Delete.Click += new System.EventHandler(this.btnWS_Delete_Click);
- //
- // btnWS_Refresh
- //
- this.btnWS_Refresh.Location = new System.Drawing.Point(87, 78);
- this.btnWS_Refresh.Name = "btnWS_Refresh";
- this.btnWS_Refresh.Size = new System.Drawing.Size(75, 23);
- this.btnWS_Refresh.TabIndex = 5;
- this.btnWS_Refresh.Text = "刷新状态";
- this.btnWS_Refresh.UseVisualStyleBackColor = true;
- this.btnWS_Refresh.Click += new System.EventHandler(this.btnWS_Refresh_Click);
- //
- // btnWS_ReStart
- //
- this.btnWS_ReStart.Location = new System.Drawing.Point(6, 78);
- this.btnWS_ReStart.Name = "btnWS_ReStart";
- this.btnWS_ReStart.Size = new System.Drawing.Size(75, 23);
- this.btnWS_ReStart.TabIndex = 4;
- this.btnWS_ReStart.Text = "重启服务";
- this.btnWS_ReStart.UseVisualStyleBackColor = true;
- this.btnWS_ReStart.Click += new System.EventHandler(this.btnWS_ReStart_Click);
- //
- // btnWS_Stop
- //
- this.btnWS_Stop.Location = new System.Drawing.Point(87, 49);
- this.btnWS_Stop.Name = "btnWS_Stop";
- this.btnWS_Stop.Size = new System.Drawing.Size(75, 23);
- this.btnWS_Stop.TabIndex = 3;
- this.btnWS_Stop.Text = "停止服务";
- this.btnWS_Stop.UseVisualStyleBackColor = true;
- this.btnWS_Stop.Click += new System.EventHandler(this.btnWS_Stop_Click);
- //
- // btnWS_Start
- //
- this.btnWS_Start.Location = new System.Drawing.Point(6, 49);
- this.btnWS_Start.Name = "btnWS_Start";
- this.btnWS_Start.Size = new System.Drawing.Size(75, 23);
- this.btnWS_Start.TabIndex = 2;
- this.btnWS_Start.Text = "启动服务";
- this.btnWS_Start.UseVisualStyleBackColor = true;
- this.btnWS_Start.Click += new System.EventHandler(this.btnWS_Start_Click);
- //
- // btnWS_Insert
- //
- this.btnWS_Insert.Location = new System.Drawing.Point(6, 20);
- this.btnWS_Insert.Name = "btnWS_Insert";
- this.btnWS_Insert.Size = new System.Drawing.Size(75, 23);
- this.btnWS_Insert.TabIndex = 0;
- this.btnWS_Insert.Text = "注册服务";
- this.btnWS_Insert.UseVisualStyleBackColor = true;
- this.btnWS_Insert.Click += new System.EventHandler(this.btnWS_Insert_Click);
- //
- // grbES
- //
- this.grbES.Controls.Add(this.btnLog);
- this.grbES.Controls.Add(this.btnExePath);
- this.grbES.Controls.Add(this.btnStart);
- this.grbES.Controls.Add(this.btnStop);
- this.grbES.Location = new System.Drawing.Point(530, 0);
- this.grbES.Name = "grbES";
- this.grbES.Size = new System.Drawing.Size(168, 78);
- this.grbES.TabIndex = 4;
- this.grbES.TabStop = false;
- this.grbES.Text = "exe Service";
- //
- // notifyIcon1
- //
- this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
- this.notifyIcon1.Text = "notifyIcon1";
- this.notifyIcon1.Visible = true;
- this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);
- this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
- //
- // grbDB
- //
- this.grbDB.Controls.Add(this.btnGetDB);
- this.grbDB.Controls.Add(this.btnSetDB);
- this.grbDB.Controls.Add(this.btnOracleTest);
- this.grbDB.Controls.Add(this.label6);
- this.grbDB.Controls.Add(this.txtOraclePassword);
- this.grbDB.Controls.Add(this.label7);
- this.grbDB.Controls.Add(this.txtOracleUserName);
- this.grbDB.Controls.Add(this.label9);
- this.grbDB.Controls.Add(this.txtOracleDatabaseName);
- this.grbDB.Controls.Add(this.label11);
- this.grbDB.Controls.Add(this.txtOraclePort);
- this.grbDB.Controls.Add(this.label10);
- this.grbDB.Controls.Add(this.txtOracleName);
- this.grbDB.Location = new System.Drawing.Point(0, 142);
- this.grbDB.Name = "grbDB";
- this.grbDB.Size = new System.Drawing.Size(230, 136);
- this.grbDB.TabIndex = 2;
- this.grbDB.TabStop = false;
- this.grbDB.Text = "数据库设置";
- //
- // btnGetDB
- //
- this.btnGetDB.Location = new System.Drawing.Point(149, 49);
- this.btnGetDB.Name = "btnGetDB";
- this.btnGetDB.Size = new System.Drawing.Size(75, 23);
- this.btnGetDB.TabIndex = 10;
- this.btnGetDB.Text = "读取设置";
- this.btnGetDB.UseVisualStyleBackColor = true;
- this.btnGetDB.Click += new System.EventHandler(this.btnGetDB_Click);
- //
- // btnSetDB
- //
- this.btnSetDB.Location = new System.Drawing.Point(149, 78);
- this.btnSetDB.Name = "btnSetDB";
- this.btnSetDB.Size = new System.Drawing.Size(75, 23);
- this.btnSetDB.TabIndex = 11;
- this.btnSetDB.Text = "保存设置";
- this.btnSetDB.UseVisualStyleBackColor = true;
- this.btnSetDB.Click += new System.EventHandler(this.btnSetDB_Click);
- //
- // btnOracleTest
- //
- this.btnOracleTest.Location = new System.Drawing.Point(149, 107);
- this.btnOracleTest.Name = "btnOracleTest";
- this.btnOracleTest.Size = new System.Drawing.Size(75, 23);
- this.btnOracleTest.TabIndex = 12;
- this.btnOracleTest.Text = "连接测试";
- this.btnOracleTest.UseVisualStyleBackColor = true;
- this.btnOracleTest.Click += new System.EventHandler(this.btnOracleTest_Click);
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(6, 112);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(29, 12);
- this.label6.TabIndex = 8;
- this.label6.Text = "密码";
- //
- // txtOraclePassword
- //
- this.txtOraclePassword.Location = new System.Drawing.Point(41, 108);
- this.txtOraclePassword.Name = "txtOraclePassword";
- this.txtOraclePassword.Size = new System.Drawing.Size(100, 21);
- this.txtOraclePassword.TabIndex = 9;
- this.txtOraclePassword.UseSystemPasswordChar = true;
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.Location = new System.Drawing.Point(6, 83);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(29, 12);
- this.label7.TabIndex = 6;
- this.label7.Text = "用户";
- //
- // txtOracleUserName
- //
- this.txtOracleUserName.Location = new System.Drawing.Point(41, 79);
- this.txtOracleUserName.Name = "txtOracleUserName";
- this.txtOracleUserName.Size = new System.Drawing.Size(100, 21);
- this.txtOracleUserName.TabIndex = 7;
- //
- // label9
- //
- this.label9.AutoSize = true;
- this.label9.Location = new System.Drawing.Point(6, 54);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(29, 12);
- this.label9.TabIndex = 4;
- this.label9.Text = "实例";
- //
- // txtOracleDatabaseName
- //
- this.txtOracleDatabaseName.Location = new System.Drawing.Point(41, 50);
- this.txtOracleDatabaseName.Name = "txtOracleDatabaseName";
- this.txtOracleDatabaseName.Size = new System.Drawing.Size(100, 21);
- this.txtOracleDatabaseName.TabIndex = 5;
- //
- // label11
- //
- this.label11.AutoSize = true;
- this.label11.Location = new System.Drawing.Point(147, 24);
- this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(29, 12);
- this.label11.TabIndex = 2;
- this.label11.Text = "端口";
- //
- // txtOraclePort
- //
- this.txtOraclePort.Location = new System.Drawing.Point(182, 20);
- this.txtOraclePort.MaxLength = 6;
- this.txtOraclePort.Name = "txtOraclePort";
- this.txtOraclePort.Size = new System.Drawing.Size(42, 21);
- this.txtOraclePort.TabIndex = 3;
- this.txtOraclePort.Text = "1521";
- this.txtOraclePort.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPort_KeyPress);
- //
- // label10
- //
- this.label10.AutoSize = true;
- this.label10.Location = new System.Drawing.Point(6, 24);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(29, 12);
- this.label10.TabIndex = 0;
- this.label10.Text = "地址";
- //
- // txtOracleName
- //
- this.txtOracleName.Location = new System.Drawing.Point(41, 20);
- this.txtOracleName.Name = "txtOracleName";
- this.txtOracleName.Size = new System.Drawing.Size(100, 21);
- this.txtOracleName.TabIndex = 1;
- this.txtOracleName.Text = "127.0.0.1";
- //
- // grbMES
- //
- this.grbMES.Controls.Add(this.btnGetMES);
- this.grbMES.Controls.Add(this.btnSetMES);
- this.grbMES.Controls.Add(this.btnMESTest);
- this.grbMES.Controls.Add(this.label8);
- this.grbMES.Controls.Add(this.txtMES_Password);
- this.grbMES.Controls.Add(this.label12);
- this.grbMES.Controls.Add(this.txtMES_User);
- this.grbMES.Controls.Add(this.label13);
- this.grbMES.Controls.Add(this.txtMES_Account);
- this.grbMES.Controls.Add(this.label14);
- this.grbMES.Controls.Add(this.txtMES_Port);
- this.grbMES.Controls.Add(this.label15);
- this.grbMES.Controls.Add(this.txtMES_IP);
- this.grbMES.Location = new System.Drawing.Point(236, 142);
- this.grbMES.Name = "grbMES";
- this.grbMES.Size = new System.Drawing.Size(230, 136);
- this.grbMES.TabIndex = 3;
- this.grbMES.TabStop = false;
- this.grbMES.Text = "MES设置";
- //
- // btnGetMES
- //
- this.btnGetMES.Location = new System.Drawing.Point(149, 49);
- this.btnGetMES.Name = "btnGetMES";
- this.btnGetMES.Size = new System.Drawing.Size(75, 23);
- this.btnGetMES.TabIndex = 10;
- this.btnGetMES.Text = "读取设置";
- this.btnGetMES.UseVisualStyleBackColor = true;
- this.btnGetMES.Click += new System.EventHandler(this.btnGetMES_Click);
- //
- // btnSetMES
- //
- this.btnSetMES.Location = new System.Drawing.Point(149, 78);
- this.btnSetMES.Name = "btnSetMES";
- this.btnSetMES.Size = new System.Drawing.Size(75, 23);
- this.btnSetMES.TabIndex = 11;
- this.btnSetMES.Text = "保存设置";
- this.btnSetMES.UseVisualStyleBackColor = true;
- this.btnSetMES.Click += new System.EventHandler(this.btnSetMES_Click);
- //
- // btnMESTest
- //
- this.btnMESTest.Location = new System.Drawing.Point(149, 107);
- this.btnMESTest.Name = "btnMESTest";
- this.btnMESTest.Size = new System.Drawing.Size(75, 23);
- this.btnMESTest.TabIndex = 12;
- this.btnMESTest.Text = "连接测试";
- this.btnMESTest.UseVisualStyleBackColor = true;
- this.btnMESTest.Click += new System.EventHandler(this.btnMESTest_Click);
- //
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(6, 112);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(29, 12);
- this.label8.TabIndex = 8;
- this.label8.Text = "密码";
- //
- // txtMES_Password
- //
- this.txtMES_Password.Location = new System.Drawing.Point(41, 108);
- this.txtMES_Password.Name = "txtMES_Password";
- this.txtMES_Password.Size = new System.Drawing.Size(100, 21);
- this.txtMES_Password.TabIndex = 9;
- this.txtMES_Password.UseSystemPasswordChar = true;
- //
- // label12
- //
- this.label12.AutoSize = true;
- this.label12.Location = new System.Drawing.Point(6, 83);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(29, 12);
- this.label12.TabIndex = 6;
- this.label12.Text = "用户";
- //
- // txtMES_User
- //
- this.txtMES_User.Location = new System.Drawing.Point(41, 79);
- this.txtMES_User.Name = "txtMES_User";
- this.txtMES_User.Size = new System.Drawing.Size(100, 21);
- this.txtMES_User.TabIndex = 7;
- //
- // label13
- //
- this.label13.AutoSize = true;
- this.label13.Location = new System.Drawing.Point(6, 54);
- this.label13.Name = "label13";
- this.label13.Size = new System.Drawing.Size(29, 12);
- this.label13.TabIndex = 4;
- this.label13.Text = "帐套";
- //
- // txtMES_Account
- //
- this.txtMES_Account.Location = new System.Drawing.Point(41, 50);
- this.txtMES_Account.Name = "txtMES_Account";
- this.txtMES_Account.Size = new System.Drawing.Size(100, 21);
- this.txtMES_Account.TabIndex = 5;
- //
- // label14
- //
- this.label14.AutoSize = true;
- this.label14.Location = new System.Drawing.Point(147, 24);
- this.label14.Name = "label14";
- this.label14.Size = new System.Drawing.Size(29, 12);
- this.label14.TabIndex = 2;
- this.label14.Text = "端口";
- //
- // txtMES_Port
- //
- this.txtMES_Port.Location = new System.Drawing.Point(182, 20);
- this.txtMES_Port.MaxLength = 6;
- this.txtMES_Port.Name = "txtMES_Port";
- this.txtMES_Port.Size = new System.Drawing.Size(42, 21);
- this.txtMES_Port.TabIndex = 3;
- this.txtMES_Port.Text = "1234";
- this.txtMES_Port.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPort_KeyPress);
- //
- // label15
- //
- this.label15.AutoSize = true;
- this.label15.Location = new System.Drawing.Point(6, 24);
- this.label15.Name = "label15";
- this.label15.Size = new System.Drawing.Size(29, 12);
- this.label15.TabIndex = 0;
- this.label15.Text = "地址";
- //
- // txtMES_IP
- //
- this.txtMES_IP.Location = new System.Drawing.Point(41, 20);
- this.txtMES_IP.Name = "txtMES_IP";
- this.txtMES_IP.Size = new System.Drawing.Size(100, 21);
- this.txtMES_IP.TabIndex = 1;
- this.txtMES_IP.Text = "127.0.0.1";
- //
- // panel1
- //
- this.panel1.Controls.Add(this.textBox1);
- this.panel1.Controls.Add(this.grbSetting);
- this.panel1.Controls.Add(this.grbMES);
- this.panel1.Controls.Add(this.grbWS);
- this.panel1.Controls.Add(this.grbDB);
- this.panel1.Controls.Add(this.grbES);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel1.Location = new System.Drawing.Point(3, 32);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(707, 281);
- this.panel1.TabIndex = 6;
- //
- // textBox1
- //
- this.textBox1.Location = new System.Drawing.Point(472, 113);
- this.textBox1.Multiline = true;
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(214, 152);
- this.textBox1.TabIndex = 6;
- //
- // F_Main
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(713, 316);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.txtStatus);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "F_Main";
- this.Padding = new System.Windows.Forms.Padding(3);
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "PLC服务管理";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.F_Main_FormClosing);
- this.Shown += new System.EventHandler(this.F_Main_Shown);
- this.SizeChanged += new System.EventHandler(this.F_Main_SizeChanged);
- this.TextChanged += new System.EventHandler(this.F_Main_TextChanged);
- this.grbSetting.ResumeLayout(false);
- this.grbSetting.PerformLayout();
- this.grbWS.ResumeLayout(false);
- this.grbES.ResumeLayout(false);
- this.grbDB.ResumeLayout(false);
- this.grbDB.PerformLayout();
- this.grbMES.ResumeLayout(false);
- this.grbMES.PerformLayout();
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- #endregion
- private System.Windows.Forms.GroupBox grbSetting;
- private System.Windows.Forms.GroupBox grbWS;
- private System.ServiceProcess.ServiceController serviceController1;
- private System.Windows.Forms.Button btnStart;
- private System.Windows.Forms.Button btnStop;
- private System.Windows.Forms.TextBox txtPort;
- private System.Windows.Forms.Button btnLog;
- private System.Windows.Forms.TextBox txtStatus;
- private System.Windows.Forms.Button btnExePath;
- private System.Windows.Forms.Button btnWS_Delete;
- private System.Windows.Forms.Button btnWS_ReStart;
- private System.Windows.Forms.Button btnWS_Stop;
- private System.Windows.Forms.Button btnWS_Start;
- private System.Windows.Forms.Button btnWS_Insert;
- private System.Windows.Forms.GroupBox grbES;
- private System.Windows.Forms.TextBox txtServiceName;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label lblPort;
- private System.Windows.Forms.CheckBox chkAutoStart;
- private System.Windows.Forms.ComboBox cboPLCST;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.TextBox txtDescription;
- private System.Windows.Forms.TextBox txtDisplayName;
- private System.Windows.Forms.Button btnGetSetting;
- private System.Windows.Forms.Button btnSetSetting;
- private System.Windows.Forms.NotifyIcon notifyIcon1;
- private System.Windows.Forms.Button btnWS_Refresh;
- private System.Windows.Forms.Button btnRefreshForm;
- private System.Windows.Forms.GroupBox grbDB;
- private System.Windows.Forms.Button btnOracleTest;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.TextBox txtOraclePassword;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.TextBox txtOracleUserName;
- private System.Windows.Forms.Label label9;
- private System.Windows.Forms.TextBox txtOracleDatabaseName;
- private System.Windows.Forms.Label label11;
- private System.Windows.Forms.TextBox txtOraclePort;
- private System.Windows.Forms.Label label10;
- private System.Windows.Forms.TextBox txtOracleName;
- private System.Windows.Forms.Button btnGetDB;
- private System.Windows.Forms.Button btnSetDB;
- private System.Windows.Forms.GroupBox grbMES;
- private System.Windows.Forms.Button btnGetMES;
- private System.Windows.Forms.Button btnSetMES;
- private System.Windows.Forms.Button btnMESTest;
- private System.Windows.Forms.Label label14;
- private System.Windows.Forms.TextBox txtMES_Port;
- private System.Windows.Forms.Label label15;
- private System.Windows.Forms.TextBox txtMES_IP;
- private System.Windows.Forms.Label label8;
- private System.Windows.Forms.TextBox txtMES_Password;
- private System.Windows.Forms.Label label12;
- private System.Windows.Forms.TextBox txtMES_User;
- private System.Windows.Forms.Label label13;
- private System.Windows.Forms.TextBox txtMES_Account;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.TextBox textBox1;
- }
- }
|