Commit 694bf397 authored by 540597360@qq.com's avatar 540597360@qq.com

Fix Bugs

parent 58b34086
......@@ -56,9 +56,10 @@
<c1c:Axis Visible="False"/>
</c1c:ChartView.AxisY>
<c1c:Axis Name="ay0" AxisType="Y" Title="厚度" Position="Near"
Min="{Binding AsisY_Min}"
Max="{Binding AsisY_Max}"
ItemsSource="{Binding AsisY_Ticks}"/>
Min="{Binding AsisY_Min}"
Max="{Binding AsisY_Max}"
MajorGridStroke="Blue"
ItemsSource="{Binding AsisY_Ticks}"/>
<c1c:Axis Name="ay1" AxisType="Y" Title="加热率" Position="Far"
Min="0" Max="100"/>
</c1c:ChartView>
......
......@@ -145,7 +145,7 @@ namespace FLY.HeatingHelper.UI.UIModule
{
if (_data == null) return DateTime.MinValue;
if (SelectedFrame < MinFrame || SelectedFrame > MaxFrame) return DateTime.MinValue;
if (SelectedFrame < 0 || SelectedFrame > _data.Dat_Times.Count()) return DateTime.MinValue;
if (SelectedFrame < 0 || SelectedFrame >= _data.Dat_Times.Count()) return DateTime.MinValue;
return _data.Dat_Times[SelectedFrame];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment