| | |
| | | //waterChart?.AddData("水箱温度", temp); |
| | | //waterChart?.AddData("回水温度", backTemp); |
| | | //waterChart?.AddData("流量", pressure); |
| | | var time = DateTime.Now; |
| | | charts[0].AddData("水箱温度", time, temp); |
| | | charts[0].AddData("回水温度", time, backTemp); |
| | | charts[0].AddData("流量", time, pressure); |
| | | } |
| | | |
| | | public void AddElectricData(double data) |
| | | { |
| | | charts[1].AddData("电流", DateTime.Now, data); |
| | | //electricChart.AddData("", data); |
| | | } |
| | | |
| | | public void AddVData(double data) |
| | | { |
| | | //vChart.AddData("", data); |
| | | charts[2].AddData("电压", DateTime.Now, data); |
| | | } |
| | | |
| | | public void ClearChart() |
| | |
| | | return; |
| | | } |
| | | string modelPath = table.parent.testModelFile; |
| | | int dutNo = table.index * table.cellCount + this.index; |
| | | var win = new ManualDebugWindow(manualDebugSeq, modelPath) |
| | | var win = new ManualDebugWindow(manualDebugSeq, modelPath, false) |
| | | { |
| | | Title = $"{this.title}手动调试", |
| | | |
| | | Owner = Window.GetWindow(this), |
| | | OvenIndex = this.table.index, |
| | | OvenName = this.table.title, |
| | | CellCount = this.table.cells.Length, |
| | | |
| | | CellIndex = dutNo, |
| | | CellIndex = this.index, |
| | | CellName = this.title |
| | | }; |
| | | win.ShowDialog(); |