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

Fix Bugs

parent 58b34086
......@@ -58,6 +58,7 @@
<c1c:Axis Name="ay0" AxisType="Y" Title="厚度" Position="Near"
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"/>
......
......@@ -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