领胜LDS 键盘AOI检测项目
wells.liu
2020-07-01 dbae9c048fa0cd67c2e1161e5b6b693f87064154
src/Bro.Common.Device/DeviceBase/PLCBase.cs
@@ -36,8 +36,8 @@
        public abstract void WriteSingleAddress(int address, int writeValue, bool waitForReply = true);
        #region IMonitor
        public event Action<DateTime, string, IDevice, MonitorSet> OnMonitorInvoke;
        public event Action<DateTime, IDevice, WarningSet> OnMonitorAlarm;
        public event Action<DateTime, string, IDevice, IMonitorSet> OnMonitorInvoke;
        public event Action<DateTime, IDevice, IWarningSet> OnMonitorAlarm;
        public List<int> MonitorValues { get; set; } = new List<int>();
@@ -157,7 +157,7 @@
            ProcessResponse resValues = monitorSet.Response;
            if (resValues.ResultValue == (int)PLCReplyValue.IGNORE)
            if (resValues.ResultValue == (int)ReplyValue.IGNORE)
            {
                return;
            }
@@ -279,6 +279,11 @@
              }).ToList();
            return locations;
        }
        public bool MoveToPoint(IOperationConfig opConfig)
        {
            throw new NotImplementedException();
        }
        #endregion
    }
@@ -552,7 +557,7 @@
    public class PLCDeviceConverter : ComboBoxItemTypeConvert
    {
        public override Hashtable GetConvertHash()
        public override Hashtable GetConvertHash(ITypeDescriptorContext context)
        {
            Hashtable table = new Hashtable();
            using (var scope = GlobalVar.Container.BeginLifetimeScope())