修改
This commit is contained in:
@@ -151,15 +151,17 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
{
|
||||
tmpWarningLogList.OrderByDescending(x => x.WarningTime);
|
||||
DataTable dt = new DataTable();
|
||||
DataColumn dc1 = new DataColumn("序号", Type.GetType("System.Int32"));
|
||||
DataColumn dc2 = new DataColumn("PLC变量地址", Type.GetType("System.String"));
|
||||
DataColumn dc3 = new DataColumn("报警条码", Type.GetType("System.String"));
|
||||
DataColumn dc4 = new DataColumn("报警内容", Type.GetType("System.String"));
|
||||
DataColumn dc5 = new DataColumn("报警时间", Type.GetType("System.String"));
|
||||
DataColumn dc6 = new DataColumn("报警状态", Type.GetType("System.String"));
|
||||
DataColumn dc7 = new DataColumn("处理结果", Type.GetType("System.String"));
|
||||
DataColumn dc8 = new DataColumn("处理时间", Type.GetType("System.String"));
|
||||
DataColumn dc9 = new DataColumn("报警时长", Type.GetType("System.String"));
|
||||
|
||||
|
||||
DataColumn dc1 = new DataColumn("序号", typeof(int));
|
||||
DataColumn dc2 = new DataColumn("PLC变量地址", typeof(string));
|
||||
DataColumn dc3 = new DataColumn("报警条码", typeof(string));
|
||||
DataColumn dc4 = new DataColumn("报警内容", typeof(string));
|
||||
DataColumn dc5 = new DataColumn("报警时间", typeof(string));
|
||||
DataColumn dc6 = new DataColumn("报警状态", typeof(string));
|
||||
DataColumn dc7 = new DataColumn("处理结果", typeof(string));
|
||||
DataColumn dc8 = new DataColumn("处理时间", typeof(string));
|
||||
DataColumn dc9 = new DataColumn("报警时长", typeof(string));
|
||||
|
||||
dt.Columns.Add(dc1);
|
||||
dt.Columns.Add(dc2);
|
||||
@@ -269,5 +271,10 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
KryptonMessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void kbtn_UuivertorAlarmClear_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user