增加报警信息代码

This commit is contained in:
liming 蔡
2026-09-08 08:54:09 +08:00
parent 8b7829bc1b
commit 6e3ed63886
9 changed files with 2590 additions and 21 deletions
+13
View File
@@ -33,6 +33,7 @@
this.btn_stationArrival = new MetroFramework.Controls.MetroButton();
this.btn_sendMQTTClient = new MetroFramework.Controls.MetroButton();
this.btn_logPLCData = new MetroFramework.Controls.MetroButton();
this.btn_testAlarm = new MetroFramework.Controls.MetroButton();
this.SuspendLayout();
//
// btn_readCollectItemCfg
@@ -85,11 +86,22 @@
this.btn_logPLCData.UseSelectable = true;
this.btn_logPLCData.Click += new System.EventHandler(this.btn_logPLCData_Click);
//
// btn_testAlarm
//
this.btn_testAlarm.Location = new System.Drawing.Point(426, 229);
this.btn_testAlarm.Name = "btn_testAlarm";
this.btn_testAlarm.Size = new System.Drawing.Size(125, 53);
this.btn_testAlarm.TabIndex = 5;
this.btn_testAlarm.Text = "报警测试";
this.btn_testAlarm.UseSelectable = true;
this.btn_testAlarm.Click += new System.EventHandler(this.btn_testAlarm_Click);
//
// FrmTest
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(998, 586);
this.Controls.Add(this.btn_testAlarm);
this.Controls.Add(this.btn_logPLCData);
this.Controls.Add(this.btn_sendMQTTClient);
this.Controls.Add(this.btn_stationArrival);
@@ -108,5 +120,6 @@
private MetroFramework.Controls.MetroButton btn_stationArrival;
private MetroFramework.Controls.MetroButton btn_sendMQTTClient;
private MetroFramework.Controls.MetroButton btn_logPLCData;
private MetroFramework.Controls.MetroButton btn_testAlarm;
}
}