更新20260608

This commit is contained in:
GukSang.Jin
2026-06-08 11:56:58 +08:00
parent 98f92e48ad
commit a0d60dceee
2 changed files with 27 additions and 63 deletions

View File

@@ -209,7 +209,7 @@ namespace Footwear_Test_methodsfor_wholeshoe_Slipresistanceperformance.ViewModel
{
Name = "时间(s)",
MinLimit = 0,
UnitWidth = 0.1,
MinStep = 0.05,
SeparatorsPaint = new SolidColorPaint(SKColor.Parse("#D7E0EA")) { StrokeThickness = 1 },
SubseparatorsPaint = new SolidColorPaint(SKColor.Parse("#EEF3F8")) { StrokeThickness = 1 },
SubseparatorsCount = 4,
@@ -225,8 +225,11 @@ namespace Footwear_Test_methodsfor_wholeshoe_Slipresistanceperformance.ViewModel
[
new Axis
{
Name = "垂直载荷 / 水平摩擦力 (N)",
Name = "压力(N)/距离(mm)",
MinLimit = 0,
MaxLimit = 800,
MinStep = 50,
ForceStepToMin = true,
SeparatorsPaint = new SolidColorPaint(SKColor.Parse("#D7E0EA")) { StrokeThickness = 1 },
SubseparatorsPaint = new SolidColorPaint(SKColor.Parse("#EEF3F8")) { StrokeThickness = 1 },
SubseparatorsCount = 4,
@@ -237,23 +240,13 @@ namespace Footwear_Test_methodsfor_wholeshoe_Slipresistanceperformance.ViewModel
Padding = new LiveChartsCore.Drawing.Padding(2, 2, 3, 2)
},
new Axis
{
Name = "滑动位移 (mm)",
Position = LiveChartsCore.Measure.AxisPosition.End,
MinLimit = 0,
LabelsPaint = new SolidColorPaint(SKColor.Parse("#1D4ED8")),
NamePaint = new SolidColorPaint(SKColor.Parse("#1D4ED8")),
SeparatorsPaint = null,
TextSize = 11,
NameTextSize = 12,
Padding = new LiveChartsCore.Drawing.Padding(3, 2, 2, 2)
},
new Axis
{
Name = "摩擦系数",
Position = LiveChartsCore.Measure.AxisPosition.End,
MinLimit = 0,
UnitWidth = 0.1,
MaxLimit = 1.5,
MinStep = 0.1,
ForceStepToMin = true,
LabelsPaint = new SolidColorPaint(SKColor.Parse("#7E22CE")),
NamePaint = new SolidColorPaint(SKColor.Parse("#7E22CE")),
SeparatorsPaint = null,
@@ -268,10 +261,10 @@ namespace Footwear_Test_methodsfor_wholeshoe_Slipresistanceperformance.ViewModel
Log.Information("初始化主页面 ViewModel");
Series =
[
CreateLineSeries("垂直载荷(N)", verticalLoadPoints, "#DC2626", 0),
CreateLineSeries("水平摩擦力(N)", horizontalFrictionPoints, "#16A34A", 0),
CreateLineSeries("滑动位移(mm)", displacementPoints, "#2563EB", 1),
CreateLineSeries("摩擦系数", frictionCoefficientPoints, "#C026D3", 2)
CreateLineSeries("垂直压力(N)", verticalLoadPoints, "#DC2626", 0),
CreateLineSeries("水平力(N)", horizontalFrictionPoints, "#16A34A", 0),
CreateLineSeries("摩擦系数", frictionCoefficientPoints, "#C026D3", 1),
CreateLineSeries("距离(mm)", displacementPoints, "#2563EB", 0)
];
LoadDeviceSettings();