src/Bro.Common.Model/Model/MonitorSet.cs
@@ -47,6 +47,10 @@
        [Description("触发值,设置为-999时变化即触发")]
        public int TriggerValue { get; set; } = -1;
        [Browsable(false)]
        [JsonIgnore]
        public int CurrentValue { get; set; }
        /// <summary>
        /// 传入数据地址的索引 按照PLC监听地址从0开始的索引集合
        /// </summary>
@@ -69,31 +73,17 @@
        [Description("通知地址 实际PLC寄存器的地址,10进制,例如 40012")]
        public int NoticeAddress { get; set; } = -1;
        //[Browsable(false)]
        //[JsonIgnore]
        //public List<int> InputDatas { get; set; } = new List<int>();
        [Browsable(false)]
        [JsonIgnore]
        public ProcessResponse Response { get; set; } = new ProcessResponse();
        public MonitorSet() { }
        //public MonitorSet(int triggerIndex, int triggerValue, List<int> inputDataIndex, int dataIndex, int noticeIndex)
        //{
        //    TriggerIndex = triggerIndex;
        //    TriggerValue = triggerValue;
        //    InputDataIndex = inputDataIndex;
        //    ReplyDataAddress = dataIndex;
        //    NoticeAddress = noticeIndex;
        //}
        public string GetDisplayText()
        {
            using (var scope = GlobalVar.Container.BeginLifetimeScope())
            {
                List<ProcessMethodAttribute> methodList = scope.Resolve<List<ProcessMethodAttribute>>();
                //List<IDevice> deviceList = scope.Resolve<List<IDevice>>();
                string desc = "";