diff --git a/HBLConsole.Business/AlarmHelper.cs b/HBLConsole.Business/AlarmHelper.cs index 3103444..5dd4c00 100644 --- a/HBLConsole.Business/AlarmHelper.cs +++ b/HBLConsole.Business/AlarmHelper.cs @@ -36,7 +36,7 @@ namespace HBLConsole.Business { if (edgeType == AlarmTriggerType.Rising ? !flagbit[text] : flagbit[text]) { - AddAlarm(text, alarmLevel); + AddAlarm(Trigger, text, alarmLevel); flagbit[text] = edgeType == AlarmTriggerType.Rising ? true : false; } } @@ -51,16 +51,18 @@ namespace HBLConsole.Business /// 添加报警信息 /// /// 报警信息 - private void AddAlarm(string AlarmInfo, AlarmLevel alarmLevel) + private void AddAlarm(object value, string AlarmInfo, AlarmLevel alarmLevel) { Alarm tempAlarm = new Alarm() { + NumId = Alarms.Count, Date = DateTime.Now.ToString("yyyy/MM/dd"), Grade = alarmLevel.ToString(), Info = AlarmInfo, + Value = value.ToString(), Time = DateTime.Now.ToString("HH:mm:ss"), }; - Sqlite.GetInstance.Add(tempAlarm); + Sqlite.GetInstance.Base.Add(tempAlarm); if (Alarms.FirstOrDefault(p => p.Info == AlarmInfo) == null) { @@ -80,6 +82,10 @@ namespace HBLConsole.Business if (result != null) { Alarms.Remove(result); + for (int i = 0; i < Alarms.Count; i++) + { + Alarms.ElementAt(i).NumId = i + 1; + } if (RemoveAction != null) RemoveAction(AlarmInfo); if (ChangeAction != null) ChangeAction(); } diff --git a/HBLConsole.MORKD/Alarm_MORKD.cs b/HBLConsole.MORKD/Alarm_MORKD.cs index 8269e5d..eff31fd 100644 --- a/HBLConsole.MORKD/Alarm_MORKD.cs +++ b/HBLConsole.MORKD/Alarm_MORKD.cs @@ -13,5 +13,6 @@ namespace HBLConsole.MORKD /// public class Alarm_MORKD : IAlarm { + } } diff --git a/HBLConsole.MORKD/Control_MORKD.cs b/HBLConsole.MORKD/Control_MORKD.cs index e1a6996..d15ba49 100644 --- a/HBLConsole.MORKD/Control_MORKD.cs +++ b/HBLConsole.MORKD/Control_MORKD.cs @@ -15,22 +15,6 @@ namespace HBLConsole.MORKD { public class Control_MORKD : IControl { - #region 单例模式 - //private static Control_MORKD _instance; - //public static Control_MORKD Instance - //{ - // get - // { - // if (_instance == null) - // _instance = new Control_MORKD(); - // return _instance; - // } - //} - //public Control_MORKD() - //{ - - //} - #endregion GVL_MORKD mORKD = new GVL_MORKD(); Alarm_MORKD alarm = new Alarm_MORKD(); public void ConnectOk() @@ -40,11 +24,6 @@ namespace HBLConsole.MORKD ResetProgram(); } - //public object GetT() - //{ - // return mORKD; - //} - public void DataParse(T order) { if (order is MorkOrderPush morkOrderPush) @@ -77,6 +56,7 @@ namespace HBLConsole.MORKD public void Init() { ActionOperate.GetInstance.Register(new Action(() => { mORKD.InitControl(); }), "InitCommand"); + } bool Initing = false; diff --git a/HBLConsole.MORKIC/Control_MORKIC.cs b/HBLConsole.MORKIC/Control_MORKIC.cs index 34d6d7c..1cb7e21 100644 --- a/HBLConsole.MORKIC/Control_MORKIC.cs +++ b/HBLConsole.MORKIC/Control_MORKIC.cs @@ -17,6 +17,8 @@ using Robotc; using System.Collections.Concurrent; using System.Diagnostics; using BPA.Message.IOT; +using HBLDevice.ICChip; + namespace HBLConsole.MORKIC { /* @@ -33,6 +35,7 @@ namespace HBLConsole.MORKIC GVL_MORIC mORKD = new GVL_MORIC(); //咖啡机主控程序 private CoffeeMachine coffeeMachine; + private ICChipMachine icchipMachine; //冰淇淋主控程序 private IceCreamMachine iceCreamMachine; //物料存放位置 @@ -60,7 +63,6 @@ namespace HBLConsole.MORKIC //构建所有商品物料信息 batchings = PolymerBatching.BuildAll(); - EventBus.GetInstance().Subscribe(IceCreamEndCookHandle); EventBus.GetInstance().Subscribe(CoffeEndCookHandle); System.Configuration.Configuration config = System.Configuration.ConfigurationManager.OpenExeConfiguration(System.Configuration.ConfigurationUserLevel.None); @@ -70,6 +72,11 @@ namespace HBLConsole.MORKIC var com_IceCream = config.AppSettings.Settings["COM_IceCream"].Value; var baud_IceCream = config.AppSettings.Settings["BAUD_IceCream"].Value; var iceCreamCXBThreshold = int.Parse(config.AppSettings.Settings["IceCream_CXB_Threshold"].Value); + + var com_ICChip = config.AppSettings.Settings["COM_ICChip"].Value; + var baud_ICChip = config.AppSettings.Settings["BAUD_IChip"].Value; + + if (iceCreamCXBThreshold > 0) { //设置冰淇淋成型比 @@ -79,6 +86,7 @@ namespace HBLConsole.MORKIC coffeeMachine = new CoffeeMachine(com_Coffee, (BaudRates)Enum.Parse(typeof(BaudRates), baud_Coffee)); //冰淇淋机创建 iceCreamMachine = new IceCreamMachine(com_IceCream, (BaudRates)Enum.Parse(typeof(BaudRates), baud_IceCream)); + icchipMachine = new ICChipMachine(com_ICChip, (BaudRates)Enum.Parse(typeof(BaudRates), baud_ICChip)); Main(); ReadData(); @@ -167,7 +175,7 @@ namespace HBLConsole.MORKIC //订单状态改变:开始制作 SimpleFactory.GetInstance.OrderChanged(subOrderId, BPA.Message.Enum.ORDER_STATUS.COOKING); //todo:先调用机器人 - + ThreadOperate.GetInstance.Start(new Action(() => { LebaiHelper.GetInstance.Scene(10002); }), "调用乐百机器人做咖啡场景"); while (!(lebai.Ok && lebai.Value == 1)) @@ -211,10 +219,9 @@ namespace HBLConsole.MORKIC { Thread.Sleep(5); } - new DischargeEvent().Publish(); - - //冰淇淋没有模式切换,强制等待10s - Thread.Sleep(10000); + new TakeCupEvent() { Cup = IC_CUP.CUP_ICECREAM }.Publish(); + while (!ChipStatus.GetInstance().CompletedTake_CPU_CUP_ICECREAM) { Thread.Sleep(5); } + new MakeIceCreamEvent() { SteeringEngine = IC_SE.SE_1 }.Publish(); LebaiHelper.GetInstance.SetValue(100); //are.WaitOne(100 * 90); //订单状态改变:完成 @@ -226,12 +233,6 @@ namespace HBLConsole.MORKIC are.Set(); } - private void IceCreamEndCookHandle(IEvent @event, EventBus.EventCallBackHandle callBack) - { - //are.Set(); - } - - public void Main() { //咖啡机开启主线程 @@ -250,7 +251,7 @@ namespace HBLConsole.MORKIC // MorkIStatus.GetInstance().CanDo && // MorkCStatus.GetInstance().CanDo; GeneralConfig.Healthy = - LebaiHelper.GetInstance.IsConnected && + LebaiHelper.GetInstance.IsConnected && MorkCStatus.GetInstance().CanDo; Thread.Sleep(100); }), "MORK-IC心跳刷新"); diff --git a/HBLConsole.MORKIC/HBLConsole.MORKIC.csproj b/HBLConsole.MORKIC/HBLConsole.MORKIC.csproj index 3cf5084..a5b0a6c 100644 --- a/HBLConsole.MORKIC/HBLConsole.MORKIC.csproj +++ b/HBLConsole.MORKIC/HBLConsole.MORKIC.csproj @@ -13,6 +13,7 @@ + diff --git a/HBLConsole.MainConsole/Main.cs b/HBLConsole.MainConsole/Main.cs index 00627c7..25fb10a 100644 --- a/HBLConsole.MainConsole/Main.cs +++ b/HBLConsole.MainConsole/Main.cs @@ -19,19 +19,25 @@ namespace HBLConsole.MainConsole private volatile static Main _Instance; public static Main GetInstance => _Instance ?? (_Instance = new Main()); - private Main() { } + private Main() + { + ActionOperate.GetInstance.Register(new Func(() => { return GeneralConfig.DeviceType.ToString(); }), "GetDeviceType"); + } List Topics = new List(); public void DataInit() { + string deviceType = TextHelper.GetInstance.ReadTextInfo(); + GeneralConfig.DeviceType = DeviceClientType.MORKS; + if (Enum.TryParse(deviceType, out DeviceClientType dct)) GeneralConfig.DeviceType = dct; ThreadOperate.GetInstance.Start(new Action(() => { Sqlite.GetInstance.GetData(); }), "GetAlarm"); - Json.Read(); - if (Enum.TryParse(Json.Data.ClientDeviceType, out DeviceClientType dct)) - { - GeneralConfig.DeviceType = dct; - } - else { GeneralConfig.DeviceType = DeviceClientType.MORKS; } + //Json.Read(); + //if (Enum.TryParse(Json.Data.ClientDeviceType, out DeviceClientType dct)) + //{ + // GeneralConfig.DeviceType = dct; + //} + //else { GeneralConfig.DeviceType = DeviceClientType.MORKS; } Json.Read(); Json.Read(); Json.Read(); @@ -49,6 +55,7 @@ namespace HBLConsole.MainConsole Json.Save(); Sqlite.GetInstance.Save(); TextHelper.GetInstance.SaveLogInfo(MessageLog.GetInstance.LogInfo, "LogInfo"); + TextHelper.GetInstance.WriteTextInfo(GVL.GeneralConfig.DeviceType.ToString()); } public void BusinessInit() diff --git a/HBLConsole.Model/ViewModel/Alarm.cs b/HBLConsole.Model/ViewModel/Alarm.cs index 5255c94..c7d4cbc 100644 --- a/HBLConsole.Model/ViewModel/Alarm.cs +++ b/HBLConsole.Model/ViewModel/Alarm.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -12,9 +13,17 @@ namespace HBLConsole.Model /// /// ID /// + [Key] public int Id { get { return _mId; } set { _mId = value; OnPropertyChanged(); } } private int _mId; + /// + /// 编号ID + /// + public int NumId { get { return _mNumId; } set { _mNumId = value; OnPropertyChanged(); } } + private int _mNumId; + + /// /// 日期 /// diff --git a/HBLConsole.Model/ViewModel/SimOrderVisibleData.cs b/HBLConsole.Model/ViewModel/SimOrderVisibleData.cs index 3ed9e36..e0dc8bc 100644 --- a/HBLConsole.Model/ViewModel/SimOrderVisibleData.cs +++ b/HBLConsole.Model/ViewModel/SimOrderVisibleData.cs @@ -25,11 +25,11 @@ namespace HBLConsole.Model public string Text { get { return _mText; } set { _mText = value; OnPropertyChanged(); } } private string _mText; - public int MinValue { get { return _mMinValue; } set { _mMinValue = value; OnPropertyChanged(); } } - private int _mMinValue; + public ushort MinValue { get { return _mMinValue; } set { _mMinValue = value; OnPropertyChanged(); } } + private ushort _mMinValue; - public int MaxValue { get { return _mMaxValue; } set { _mMaxValue = value; OnPropertyChanged(); } } - private int _mMaxValue; + public ushort MaxValue { get { return _mMaxValue; } set { _mMaxValue = value; OnPropertyChanged(); } } + private ushort _mMaxValue; diff --git a/HBLConsole.Service/Json.cs b/HBLConsole.Service/Json.cs index 46c6565..9a761e1 100644 --- a/HBLConsole.Service/Json.cs +++ b/HBLConsole.Service/Json.cs @@ -11,12 +11,15 @@ namespace HBLConsole.Service /// public class Json where T : class, new() { + + private static string DeviceType = ActionOperate.GetInstance.SendResult("GetDeviceType").ToString(); + static string path { get { - Directory.CreateDirectory(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, $"AccessFile\\JSON")); - return $"{AppDomain.CurrentDomain.BaseDirectory}AccessFile\\JSON\\{typeof(T).Name}.json"; + Directory.CreateDirectory(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, $"AccessFile\\{DeviceType}\\JSON")); + return $"{AppDomain.CurrentDomain.BaseDirectory}AccessFile\\{DeviceType}\\JSON\\{typeof(T).Name}.json"; } } diff --git a/HBLConsole.Service/TextHelper.cs b/HBLConsole.Service/TextHelper.cs index 10a60d4..3f59339 100644 --- a/HBLConsole.Service/TextHelper.cs +++ b/HBLConsole.Service/TextHelper.cs @@ -36,5 +36,29 @@ namespace HBLConsole.Service } } + public string ReadTextInfo() + { + Directory.CreateDirectory(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "AccessFile")); + string path = $"{AppDomain.CurrentDomain.BaseDirectory}AccessFile\\DeviceType.txt"; + FileStream fs = new FileStream(path, FileMode.OpenOrCreate); + StreamReader sr = new StreamReader(fs); + string GetStr = sr.ReadLine(); + if (GetStr == null) GetStr = string.Empty; + sr.Close(); + fs.Close(); + return GetStr; + } + + public void WriteTextInfo(string info) + { + Directory.CreateDirectory(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "AccessFile")); + string path = $"{AppDomain.CurrentDomain.BaseDirectory}AccessFile\\DeviceType.txt"; + FileStream fs = new FileStream(path, FileMode.Create); + StreamWriter sw = new StreamWriter(fs); + sw.WriteLine(info); + sw.Close(); + fs.Close(); + } + } } diff --git a/HBLConsole.sln b/HBLConsole.sln index a641290..9169631 100644 --- a/HBLConsole.sln +++ b/HBLConsole.sln @@ -41,7 +41,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HBLDevice.Coffee", "HBLDevi EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HBLDevice.IceCream", "HBLDevice.IceCream\HBLDevice.IceCream.csproj", "{6F9FD1DA-D17A-4243-83F3-E24ADC0B8CF7}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HBLConsole.Debug", "HBLConsole.Debug\HBLConsole.Debug.csproj", "{8F75DF03-50F7-4ECF-8535-E59E6486B652}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HBLConsole.Debug", "HBLConsole.Debug\HBLConsole.Debug.csproj", "{8F75DF03-50F7-4ECF-8535-E59E6486B652}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HBLDevice.ICChip", "HBLDevice.ICChip\HBLDevice.ICChip.csproj", "{4A451647-FB80-4D19-85CF-C04A9548A17E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -125,6 +127,10 @@ Global {8F75DF03-50F7-4ECF-8535-E59E6486B652}.Debug|Any CPU.Build.0 = Debug|Any CPU {8F75DF03-50F7-4ECF-8535-E59E6486B652}.Release|Any CPU.ActiveCfg = Release|Any CPU {8F75DF03-50F7-4ECF-8535-E59E6486B652}.Release|Any CPU.Build.0 = Release|Any CPU + {4A451647-FB80-4D19-85CF-C04A9548A17E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4A451647-FB80-4D19-85CF-C04A9548A17E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4A451647-FB80-4D19-85CF-C04A9548A17E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4A451647-FB80-4D19-85CF-C04A9548A17E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -132,6 +138,7 @@ Global GlobalSection(NestedProjects) = preSolution {1E33FFE0-3B82-47F9-9E48-6FC870F36FF0} = {CFF94828-163A-4907-B951-081B18F3CBBD} {6F9FD1DA-D17A-4243-83F3-E24ADC0B8CF7} = {CFF94828-163A-4907-B951-081B18F3CBBD} + {4A451647-FB80-4D19-85CF-C04A9548A17E} = {CFF94828-163A-4907-B951-081B18F3CBBD} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {1968105D-1913-4F0B-A03E-7C18AFA58912} diff --git a/HBLConsole/App.config b/HBLConsole/App.config index ff71d3e..0738d6e 100644 --- a/HBLConsole/App.config +++ b/HBLConsole/App.config @@ -24,6 +24,8 @@ + + \ No newline at end of file diff --git a/HBLConsole/App.xaml.cs b/HBLConsole/App.xaml.cs index 50a0eb7..8597754 100644 --- a/HBLConsole/App.xaml.cs +++ b/HBLConsole/App.xaml.cs @@ -22,7 +22,7 @@ namespace HBLConsole /// public partial class App : Application { - MainView mainView = new MainView(); + MainView mainView; ListDialogView listDialogView; protected override void OnStartup(StartupEventArgs e) { @@ -32,6 +32,7 @@ namespace HBLConsole AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; MainConsole.Main.GetInstance.DataInit(); ThreadOperate.GetInstance.Start(new Action(() => { SqlHelper.GetInstance.GetData(); }), "GetSqliteData"); + mainView = new MainView(); mainView.Show(); NoCompleteOrderInit(); MainConsole.Main.GetInstance.BusinessInit(); diff --git a/HBLConsole/DialogWindow/View/SimOrderConfitView.xaml b/HBLConsole/DialogWindow/View/SimOrderConfitView.xaml index 0f72956..3590f2c 100644 --- a/HBLConsole/DialogWindow/View/SimOrderConfitView.xaml +++ b/HBLConsole/DialogWindow/View/SimOrderConfitView.xaml @@ -110,7 +110,7 @@ - + @@ -139,6 +139,7 @@ FontFamily="楷体" FontSize="21" Foreground="#ff34f7f7" + TabIndex="0" Text="{Binding Name}" /> diff --git a/HBLConsole/DialogWindow/View/SimOrderConfitView.xaml.cs b/HBLConsole/DialogWindow/View/SimOrderConfitView.xaml.cs index 4ad765e..dc6a7fe 100644 --- a/HBLConsole/DialogWindow/View/SimOrderConfitView.xaml.cs +++ b/HBLConsole/DialogWindow/View/SimOrderConfitView.xaml.cs @@ -1,4 +1,5 @@ -using HBLConsole.Service; +using HBLConsole.Model; +using HBLConsole.Service; using System; using System.Collections.Generic; using System.Linq; @@ -12,6 +13,7 @@ using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; +using HBLConsole.DialogWindow.ViewModel; namespace HBLConsole.DialogWindow.View { @@ -26,17 +28,29 @@ namespace HBLConsole.DialogWindow.View this.MoveBorder.MouseLeftButtonDown += (o, e) => { this.DragMove(); }; this.ButMin.Click += (o, e) => { this.WindowState = WindowState.Minimized; }; this.ButMax.Click += (o, e) => { this.WindowState = this.WindowState == WindowState.Maximized ? WindowState.Normal : WindowState.Maximized; }; - this.ButClose.Click += (o, e) => { this.DialogResult = false; }; + this.ButClose.Click += (o, e) => { this.Close(); ActionOperate.GetInstance.CancelRegister("SendSimData"); }; this.MaxWidth = SystemParameters.WorkArea.Width; this.MaxHeight = SystemParameters.WorkArea.Height; ActionOperate.GetInstance.Register(new Action(() => { - this.DialogResult = true; this.Close(); ActionOperate.GetInstance.CancelRegister("SimOrderConfitViewModelExit"); + ActionOperate.GetInstance.CancelRegister("SendSimData"); }), "SimOrderConfitViewModelExit"); + } + private void Grid_KeyDown(object sender, KeyEventArgs e) + { + var uie = e.OriginalSource as TextBox; + if (uie != null) + { + if (e.Key == Key.Enter) + { + uie.MoveFocus(new TraversalRequest(FocusNavigationDirection.Next)); + e.Handled = true; + } + } } } } diff --git a/HBLConsole/DialogWindow/ViewModel/SimOrderConfitViewModel.cs b/HBLConsole/DialogWindow/ViewModel/SimOrderConfitViewModel.cs index bba77a2..93bcc83 100644 --- a/HBLConsole/DialogWindow/ViewModel/SimOrderConfitViewModel.cs +++ b/HBLConsole/DialogWindow/ViewModel/SimOrderConfitViewModel.cs @@ -13,24 +13,59 @@ namespace HBLConsole.DialogWindow.ViewModel { public class SimOrderConfitViewModel : ViewModelBase { + bool IsEdit = false; + SimOrderVisibleData simOrderVisibleData; + string DeviceType = string.Empty; public SimOrderConfitViewModel() { + DeviceType = GVL.GeneralConfig.DeviceType.ToString(); + ActionOperate.GetInstance.Register(new Action((o) => + { + if (o != null) + { + if (o is SimOrderVisibleData sim) + { + Name = sim.Text; + Max = sim.MaxValue; + Min = sim.MinValue; + IsEdit = true; + simOrderVisibleData = sim; + } + } + }), "SendSimData"); + ConfirmCommand = new RelayCommand(() => { - if (!Json.Data.simOrderConfig.ContainsKey(GVL.GeneralConfig.DeviceType.ToString())) + if (!Json.Data.simOrderConfig.ContainsKey(DeviceType)) { - Json.Data.simOrderConfig.TryAdd(GVL.GeneralConfig.DeviceType.ToString(), new ObservableCollection()); + Json.Data.simOrderConfig.TryAdd(DeviceType, new ObservableCollection()); } - Json.Data.simOrderConfig[GVL.GeneralConfig.DeviceType.ToString()].Add(new SimOrderVisibleData() + + if (!IsEdit) + { + Json.Data.simOrderConfig[DeviceType].Add(new SimOrderVisibleData() + { + ClientDeviceType = GVL.GeneralConfig.DeviceType.ToString(), + IsEnable = true, + IsSelected = true, + Text = Name, + Loc = Min, + MaxValue = Max, + MinValue = Min, + }); + } + else { - ClientDeviceType = GVL.GeneralConfig.DeviceType.ToString(), - IsEnable = true, - IsSelected = true, - Text = Name, - Loc = Min, - MaxValue = Max, - MinValue = Min, - }); + int index = Array.FindIndex(Json.Data.simOrderConfig[DeviceType].ToArray(), p => p.Text == simOrderVisibleData.Text); + if (index >= 0 && index < Json.Data.simOrderConfig[DeviceType].Count()) + { + Json.Data.simOrderConfig[DeviceType].ElementAt(index).Text = Name; + Json.Data.simOrderConfig[DeviceType].ElementAt(index).MinValue = Min; + Json.Data.simOrderConfig[DeviceType].ElementAt(index).MaxValue = Max; + Json.Data.simOrderConfig[DeviceType].ElementAt(index).IsEnable = simOrderVisibleData.IsEnable; + Json.Data.simOrderConfig[DeviceType].ElementAt(index).IsSelected = simOrderVisibleData.IsSelected; + } + } ActionOperate.GetInstance.Send("SimOrderConfitViewModelExit"); }); CancelCommand = new RelayCommand(() => { ActionOperate.GetInstance.Send("SimOrderConfitViewModelExit"); }); diff --git a/HBLConsole/View/AlarmView.xaml b/HBLConsole/View/AlarmView.xaml index 3ab6dda..405ee52 100644 --- a/HBLConsole/View/AlarmView.xaml +++ b/HBLConsole/View/AlarmView.xaml @@ -58,7 +58,7 @@ - + @@ -260,7 +260,7 @@ + Text="{Binding NumId}" /> diff --git a/HBLConsole/View/DebugView.xaml b/HBLConsole/View/DebugView.xaml index be70102..990399f 100644 --- a/HBLConsole/View/DebugView.xaml +++ b/HBLConsole/View/DebugView.xaml @@ -11,19 +11,14 @@ d:DesignWidth="1000" mc:Ignorable="d"> - - - - -