diff --git a/BPASmartClient.Academy/50L/PlcControl.cs b/BPASmartClient.Academy/50L/PlcControl.cs index c44d8925..a9c8ae97 100644 --- a/BPASmartClient.Academy/50L/PlcControl.cs +++ b/BPASmartClient.Academy/50L/PlcControl.cs @@ -19,6 +19,7 @@ namespace BPASmartClient.Academy._50L public DeviceStatus DeviceStatus { get; set; } = new DeviceStatus(); private ICommSiemens comm = CommHelper.Siemens; public Action IsConnectChanged { get; set; } + public string id { get; set; } = ""; private bool _lastConnectState; private volatile uint _readFailureCount; public void Init() diff --git a/BPASmartClient.Academy/ColorResource.xaml b/BPASmartClient.Academy/ColorResource.xaml index 0dc1783a..bffc7639 100644 --- a/BPASmartClient.Academy/ColorResource.xaml +++ b/BPASmartClient.Academy/ColorResource.xaml @@ -6,5 +6,7 @@ #ffa500 #9b30ff #00ffff + #7FFF00 #ff00ff + #0000ff \ No newline at end of file diff --git a/BPASmartClient.Academy/View/DeviceChart50LView.xaml b/BPASmartClient.Academy/View/DeviceChart50LView.xaml index d5524246..14489c4d 100644 --- a/BPASmartClient.Academy/View/DeviceChart50LView.xaml +++ b/BPASmartClient.Academy/View/DeviceChart50LView.xaml @@ -6,321 +6,331 @@ xmlns:local="clr-namespace:BPASmartClient.Academy.View" xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:oxy="http://oxyplot.org/wpf" - xmlns:vm="clr-namespace:BPASmartClient.Academy.ViewModel" - d:DesignHeight="450" - d:DesignWidth="800" - mc:Ignorable="d"> - + xmlns:oxy="http://oxyplot.org/wpf" xmlns:vm="clr-namespace:BPASmartClient.Academy.ViewModel" + d:DesignHeight="450" d:DesignWidth="800" mc:Ignorable="d"> + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +