form1.cs

来自「zwave 无线通讯协议 PC controller 控制器源码」· CS 代码 · 共 1,249 行 · 第 1/5 页

CS
1,249
字号
            this.buttonRemFail.Name = "buttonRemFail";
            this.buttonRemFail.Size = new System.Drawing.Size(80, 32);
            this.buttonRemFail.TabIndex = 12;
            this.buttonRemFail.Text = "Remove Failed Node";
            this.buttonRemFail.Click += new System.EventHandler(this.buttonRemFail_Click);
            // 
            // buttonOff
            // 
            this.buttonOff.Location = new System.Drawing.Point(104, 71);
            this.buttonOff.Name = "buttonOff";
            this.buttonOff.Size = new System.Drawing.Size(80, 32);
            this.buttonOff.TabIndex = 11;
            this.buttonOff.Text = "Off";
            this.buttonOff.Click += new System.EventHandler(this.buttonOff_Click);
            // 
            // buttonGetReport
            // 
            this.buttonGetReport.Location = new System.Drawing.Point(192, 23);
            this.buttonGetReport.Name = "buttonGetReport";
            this.buttonGetReport.Size = new System.Drawing.Size(80, 32);
            this.buttonGetReport.TabIndex = 10;
            this.buttonGetReport.Text = "Get Report";
            this.buttonGetReport.Click += new System.EventHandler(this.buttonGetReport_Click);
            // 
            // buttonOn
            // 
            this.buttonOn.Location = new System.Drawing.Point(104, 23);
            this.buttonOn.Name = "buttonOn";
            this.buttonOn.Size = new System.Drawing.Size(80, 32);
            this.buttonOn.TabIndex = 9;
            this.buttonOn.Text = "On";
            this.buttonOn.Click += new System.EventHandler(this.buttonOn_Click);
            // 
            // buttonExcludeNode
            // 
            this.buttonExcludeNode.Location = new System.Drawing.Point(16, 71);
            this.buttonExcludeNode.Name = "buttonExcludeNode";
            this.buttonExcludeNode.Size = new System.Drawing.Size(80, 32);
            this.buttonExcludeNode.TabIndex = 8;
            this.buttonExcludeNode.Text = "Exclude Node";
            this.buttonExcludeNode.Click += new System.EventHandler(this.buttonResetNode_Click);
            // 
            // buttonAddNode
            // 
            this.buttonAddNode.Location = new System.Drawing.Point(16, 23);
            this.buttonAddNode.Name = "buttonAddNode";
            this.buttonAddNode.Size = new System.Drawing.Size(80, 32);
            this.buttonAddNode.TabIndex = 7;
            this.buttonAddNode.Text = "Add Node";
            this.buttonAddNode.Click += new System.EventHandler(this.buttonAddNode_Click);
            // 
            // tabPageController
            // 
            this.tabPageController.Controls.Add(this.buttonRequestUpdate);
            this.tabPageController.Controls.Add(this.buttonNewPrimary);
            this.tabPageController.Controls.Add(this.buttonResetController);
            this.tabPageController.Controls.Add(this.buttonControllerShift);
            this.tabPageController.Controls.Add(this.buttonReceive);
            this.tabPageController.Controls.Add(this.groupBoxOptionalAssignment);
            this.tabPageController.Location = new System.Drawing.Point(4, 22);
            this.tabPageController.Name = "tabPageController";
            this.tabPageController.Size = new System.Drawing.Size(392, 142);
            this.tabPageController.TabIndex = 4;
            this.tabPageController.Text = "Controller";
            this.tabPageController.UseVisualStyleBackColor = true;
            // 
            // buttonRequestUpdate
            // 
            this.buttonRequestUpdate.Location = new System.Drawing.Point(168, 71);
            this.buttonRequestUpdate.Name = "buttonRequestUpdate";
            this.buttonRequestUpdate.Size = new System.Drawing.Size(72, 40);
            this.buttonRequestUpdate.TabIndex = 28;
            this.buttonRequestUpdate.Text = "Request Update";
            this.buttonRequestUpdate.Click += new System.EventHandler(this.buttonRequestUpdate_Click);
            // 
            // buttonNewPrimary
            // 
            this.buttonNewPrimary.Location = new System.Drawing.Point(88, 23);
            this.buttonNewPrimary.Name = "buttonNewPrimary";
            this.buttonNewPrimary.Size = new System.Drawing.Size(72, 40);
            this.buttonNewPrimary.TabIndex = 27;
            this.buttonNewPrimary.Text = "Create New Primary";
            this.buttonNewPrimary.Click += new System.EventHandler(this.buttonNewPrimary_Click);
            // 
            // buttonResetController
            // 
            this.buttonResetController.Location = new System.Drawing.Point(168, 23);
            this.buttonResetController.Name = "buttonResetController";
            this.buttonResetController.Size = new System.Drawing.Size(72, 40);
            this.buttonResetController.TabIndex = 26;
            this.buttonResetController.Text = "Reset Controller";
            this.buttonResetController.Click += new System.EventHandler(this.buttonResetController_Click);
            // 
            // buttonControllerShift
            // 
            this.buttonControllerShift.Location = new System.Drawing.Point(88, 71);
            this.buttonControllerShift.Name = "buttonControllerShift";
            this.buttonControllerShift.Size = new System.Drawing.Size(72, 40);
            this.buttonControllerShift.TabIndex = 25;
            this.buttonControllerShift.Text = "Controller Shift";
            this.buttonControllerShift.Click += new System.EventHandler(this.buttonControllerShift_Click);
            // 
            // buttonReceive
            // 
            this.buttonReceive.Location = new System.Drawing.Point(8, 23);
            this.buttonReceive.Name = "buttonReceive";
            this.buttonReceive.Size = new System.Drawing.Size(72, 40);
            this.buttonReceive.TabIndex = 23;
            this.buttonReceive.Text = "Start Learn Mode";
            this.buttonReceive.Click += new System.EventHandler(this.buttonReceive_Click);
            // 
            // groupBoxOptionalAssignment
            // 
            this.groupBoxOptionalAssignment.Controls.Add(this.buttonEnableOptionalAssignment);
            this.groupBoxOptionalAssignment.Controls.Add(this.select_None);
            this.groupBoxOptionalAssignment.Controls.Add(this.select_SUC);
            this.groupBoxOptionalAssignment.Controls.Add(this.select_SIS);
            this.groupBoxOptionalAssignment.Location = new System.Drawing.Point(248, 15);
            this.groupBoxOptionalAssignment.Name = "groupBoxOptionalAssignment";
            this.groupBoxOptionalAssignment.Size = new System.Drawing.Size(144, 121);
            this.groupBoxOptionalAssignment.TabIndex = 29;
            this.groupBoxOptionalAssignment.TabStop = false;
            this.groupBoxOptionalAssignment.Text = "Network Role Options";
            // 
            // buttonEnableOptionalAssignment
            // 
            this.buttonEnableOptionalAssignment.Location = new System.Drawing.Point(8, 32);
            this.buttonEnableOptionalAssignment.Name = "buttonEnableOptionalAssignment";
            this.buttonEnableOptionalAssignment.Size = new System.Drawing.Size(64, 48);
            this.buttonEnableOptionalAssignment.TabIndex = 0;
            this.buttonEnableOptionalAssignment.Text = "Assign to this Node ";
            this.buttonEnableOptionalAssignment.Click += new System.EventHandler(this.buttonEnableOptionalAssignment_Click);
            // 
            // select_None
            // 
            this.select_None.Location = new System.Drawing.Point(80, 72);
            this.select_None.Name = "select_None";
            this.select_None.Size = new System.Drawing.Size(56, 16);
            this.select_None.TabIndex = 21;
            this.select_None.Text = "None";
            this.select_None.CheckedChanged += new System.EventHandler(this.select_SIS_CheckedChanged);
            // 
            // select_SUC
            // 
            this.select_SUC.Location = new System.Drawing.Point(80, 24);
            this.select_SUC.Name = "select_SUC";
            this.select_SUC.Size = new System.Drawing.Size(48, 16);
            this.select_SUC.TabIndex = 20;
            this.select_SUC.Text = "SUC";
            this.select_SUC.CheckedChanged += new System.EventHandler(this.select_SIS_CheckedChanged);
            // 
            // select_SIS
            // 
            this.select_SIS.Location = new System.Drawing.Point(80, 48);
            this.select_SIS.Name = "select_SIS";
            this.select_SIS.Size = new System.Drawing.Size(48, 16);
            this.select_SIS.TabIndex = 19;
            this.select_SIS.TabStop = true;
            this.select_SIS.Text = "SIS";
            this.select_SIS.CheckedChanged += new System.EventHandler(this.select_SIS_CheckedChanged);
            // 
            // tabPageCmdClass
            // 
            this.tabPageCmdClass.Controls.Add(this.buttonSendCmd);
            this.tabPageCmdClass.Controls.Add(this.textBoxVal);
            this.tabPageCmdClass.Controls.Add(this.labelVal);
            this.tabPageCmdClass.Controls.Add(this.comboBoxCmd);
            this.tabPageCmdClass.Controls.Add(this.labelCmd);
            this.tabPageCmdClass.Controls.Add(this.labelCls);
            this.tabPageCmdClass.Controls.Add(this.comboBoxCls);
            this.tabPageCmdClass.Controls.Add(this.labelCmdClassRxed);
            this.tabPageCmdClass.Location = new System.Drawing.Point(4, 22);
            this.tabPageCmdClass.Name = "tabPageCmdClass";
            this.tabPageCmdClass.Size = new System.Drawing.Size(392, 142);
            this.tabPageCmdClass.TabIndex = 3;
            this.tabPageCmdClass.Text = "Cmd Class";
            this.tabPageCmdClass.UseVisualStyleBackColor = true;
            // 
            // buttonSendCmd
            // 
            this.buttonSendCmd.Location = new System.Drawing.Point(296, 80);
            this.buttonSendCmd.Name = "buttonSendCmd";
            this.buttonSendCmd.Size = new System.Drawing.Size(56, 32);
            this.buttonSendCmd.TabIndex = 13;
            this.buttonSendCmd.Text = "Send";
            this.buttonSendCmd.Click += new System.EventHandler(this.buttonSendCmd_Click);
            // 
            // textBoxVal
            // 
            this.textBoxVal.Location = new System.Drawing.Point(72, 91);
            this.textBoxVal.Name = "textBoxVal";
            this.textBoxVal.Size = new System.Drawing.Size(168, 20);
            this.textBoxVal.TabIndex = 12;
            this.textBoxVal.TextChanged += new System.EventHandler(this.textBoxVal_TextChanged);
            // 
            // labelVal
            // 
            this.labelVal.Location = new System.Drawing.Point(8, 91);
            this.labelVal.Name = "labelVal";
            this.labelVal.Size = new System.Drawing.Size(48, 16);
            this.labelVal.TabIndex = 11;
            this.labelVal.Text = "Value";
            // 
            // comboBoxCmd
            // 
            this.comboBoxCmd.Location = new System.Drawing.Point(72, 51);
            this.comboBoxCmd.Name = "comboBoxCmd";
            this.comboBoxCmd.Size = new System.Drawing.Size(296, 21);
            this.comboBoxCmd.TabIndex = 10;
            // 
            // labelCmd
            // 
            this.labelCmd.Location = new System.Drawing.Point(8, 51);
            this.labelCmd.Name = "labelCmd";
            this.labelCmd.Size = new System.Drawing.Size(56, 32);
            this.labelCmd.TabIndex = 9;
            this.labelCmd.Text = "Command Name";
            // 
            // labelCls
            // 
            this.labelCls.Location = new System.Drawing.Point(8, 11);
            this.labelCls.Name = "labelCls";
            this.labelCls.Size = new System.Drawing.Size(56, 24);
            this.labelCls.TabIndex = 8;
            this.labelCls.Text = "Command Classes";
            // 
            // comboBoxCls
            // 
            this.comboBoxCls.Location = new System.Drawing.Point(72, 11);
            this.comboBoxCls.Name = "comboBoxCls";
            this.comboBoxCls.Size = new System.Drawing.Size(296, 21);
            this.comboBoxCls.TabIndex = 7;
            this.comboBoxCls.SelectedIndexChanged += new System.EventHandler(this.comboBoxCls_SelectedIndexChanged);
            // 
            // labelCmdClassRxed
            // 
            this.labelCmdClassRxed.Location = new System.Drawing.Point(72, 120);
            this.labelCmdClassRxed.Name = "labelCmdClassRxed";
            this.labelCmdClassRxed.Size = new System.Drawing.Size(312, 16);
            this.labelCmdClassRxed.TabIndex = 25;
            // 
            // tabPageWakeUp
            // 
            this.tabPageWakeUp.Controls.Add(this.labelBatteryStatusField);
            this.tabPageWakeUp.Controls.Add(this.labelBatteryStatus);
            this.tabPageWakeUp.Controls.Add(this.label1);
            this.tabPageWakeUp.Controls.Add(this.labelWakeUpTimeField);
            this.tabPageWakeUp.Controls.Add(this.labelWakeUpTime);
            this.tabPageWakeUp.Controls.Add(this.buttonWakeUpSet);
            this.tabPageWakeUp.Controls.Add(this.textBoxWakeupTime);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?