|
|
@@ -47,6 +47,7 @@ namespace BPASmartClient.Academy.View |
|
|
|
List<DataPoint> twValues = new List<DataPoint>(); |
|
|
|
List<DataPoint> tvValues = new List<DataPoint>(); |
|
|
|
List<DataPoint> tmValues = new List<DataPoint>(); |
|
|
|
HistorySqlite.GetInstance.DateString = recipeChart.CreateTime.ToString("yyyy-MM-dd"); |
|
|
|
HistorySqlite.GetInstance.SelectName(recipeChart.Name).ForEach(t => |
|
|
|
{ |
|
|
|
twValues.Add(new DataPoint(DateTimeAxis.ToDouble(t.Date), t.TempWok)); |
|
|
@@ -75,6 +76,7 @@ namespace BPASmartClient.Academy.View |
|
|
|
OxyPlot.Series.LineSeries line_4 = new OxyPlot.Series.LineSeries() { LineStyle = LineStyle.Solid, Title = "配料罐转速", MarkerFill = OxyColor.FromRgb(110, 79, 79), MarkerSize = 2, LineLegendPosition = OxyPlot.Series.LineLegendPosition.End }; |
|
|
|
List<DataPoint> m101 = new List<DataPoint>(); |
|
|
|
List<DataPoint> m102 = new List<DataPoint>(); |
|
|
|
HistorySqlite.GetInstance.DateString = recipeChart.CreateTime.ToString("yyyy-MM-dd"); |
|
|
|
HistorySqlite.GetInstance.SelectName(recipeChart.Name).ForEach(t => |
|
|
|
{ |
|
|
|
m101.Add(new DataPoint(DateTimeAxis.ToDouble(t.Date), t.M101_Speed)); |
|
|
@@ -98,6 +100,7 @@ namespace BPASmartClient.Academy.View |
|
|
|
plotModel = new PlotModel() { Title = "冷却水罐重量曲线" }; |
|
|
|
List<DataPoint> ww = new List<DataPoint>(); |
|
|
|
OxyPlot.Series.LineSeries line_5 = new OxyPlot.Series.LineSeries() { Title = "冷却水罐重量", Color = OxyColor.FromRgb(0, 0, 0), LineStyle = LineStyle.Solid, LineLegendPosition = OxyPlot.Series.LineLegendPosition.End }; |
|
|
|
HistorySqlite.GetInstance.DateString = recipeChart.CreateTime.ToString("yyyy-MM-dd"); |
|
|
|
HistorySqlite.GetInstance.SelectName(recipeChart.Name).ForEach(t => |
|
|
|
{ |
|
|
|
ww.Add(new DataPoint(DateTimeAxis.ToDouble(t.Date), t.WeightWok)); |
|
|
|