Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightCentralizedControlManagement
This commit is contained in:
commit
6fbee6ed43
4 files changed
+64
-21
No files matched your search
@@ -199,8 +199,8 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
|
||||
}
|
||||
|
||||
Series = new ISeries[]
|
||||
{
|
||||
new LineSeries<DateTimePoint>
|
||||
{
|
||||
new LineSeries<DateTimePoint>
|
||||
{
|
||||
Name = Properties.Resources.MasterCylinder +"PH",
|
||||
Values = MTH_values,
|
||||
|
||||
@@ -31,7 +31,50 @@ using SunlightCentralizedControlManagement_SCCM_.View;
|
||||
namespace SunlightCentralizedControlManagement_SCCM_.ViewModel
|
||||
{
|
||||
public partial class ProductionPlanningModel : ObservableObject//ViewModelBase
|
||||
{
|
||||
|
||||
{
|
||||
public ISeries[] Series { get; set; }
|
||||
public Axis[] XAxes { get; set; } =
|
||||
{
|
||||
new DateTimeAxis(TimeSpan.FromSeconds(5) , date => date.ToString("yyyy-MM-dd HH:mm"))
|
||||
{
|
||||
CrosshairLabelsBackground = SKColors.DarkGray.AsLvcColor(),
|
||||
CrosshairLabelsPaint = new SolidColorPaint(SKColors.DarkSlateBlue, 1),
|
||||
CrosshairPaint = new SolidColorPaint(SKColors.DarkSlateGray, 1),
|
||||
},
|
||||
};
|
||||
|
||||
public ProductionPlanningModel()
|
||||
{
|
||||
Series = new ISeries[]
|
||||
{
|
||||
new RowSeries<int>
|
||||
{
|
||||
Values = new List<int> { 3 },
|
||||
Stroke = null,
|
||||
DataLabelsPaint = new SolidColorPaint(new SKColor(45, 45, 45)),
|
||||
DataLabelsSize = 14,
|
||||
DataLabelsPosition = DataLabelsPosition.Middle
|
||||
},
|
||||
new RowSeries<int>
|
||||
{
|
||||
Values = new List<int> { 4},
|
||||
Stroke = null,
|
||||
DataLabelsPaint = new SolidColorPaint(new SKColor(45, 45, 45)),
|
||||
DataLabelsSize = 14,
|
||||
DataLabelsPosition = DataLabelsPosition.Middle
|
||||
},
|
||||
new RowSeries<int>
|
||||
{
|
||||
Values = new List<int> { -2 },
|
||||
Stroke = null,
|
||||
DataLabelsPaint = new SolidColorPaint(new SKColor(45, 45, 45)),
|
||||
DataLabelsSize = 14,
|
||||
DataLabelsPosition = DataLabelsPosition.Middle
|
||||
} };
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user