From a6f2ba736d1ac63d8fe33c71dfc3a578b1702b95 Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期一, 06 七月 2020 11:27:08 +0800 Subject: [PATCH] 三色灯和蜂鸣器逻辑实现 --- src/Bro.M071.Process/M071Models.cs | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Bro.M071.Process/M071Models.cs b/src/Bro.M071.Process/M071Models.cs index 8c15fde..43d9a18 100644 --- a/src/Bro.M071.Process/M071Models.cs +++ b/src/Bro.M071.Process/M071Models.cs @@ -209,6 +209,10 @@ public List<IShapeElement> ElementList = new List<IShapeElement>(); + public DateTime? StartTime = null; + + public DateTime? EndTime = null; + public event PropertyChangedEventHandler PropertyChanged; public void Dispose() @@ -312,7 +316,7 @@ [Category("鍗曢敭閰嶇疆")] [Description("鍗曢敭缁撴灉閰嶇疆")] [TypeConverter(typeof(KeyUnitResultConverter))] - public string KeyResult { get; set; } = ""; + public string KeyResultId { get; set; } = ""; public List<HImage> KeyImages = new List<HImage>(); @@ -342,7 +346,7 @@ { string msg = Key; - msg += string.IsNullOrWhiteSpace(KeyResult) ? "" : $"-{KeyResult}"; + msg += string.IsNullOrWhiteSpace(KeyResultId) ? "" : $"-{KeyResultId}"; return msg; } -- Gitblit v1.8.0