| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670 | using MECF.Framework.Common.CommonData;using MECF.Framework.Common.DataCenter;using MECF.Framework.Common.Equipment;using MECF.Framework.Common.OperationCenter;using OpenSEMI.ClientBase;using Prism.Commands;using Prism.Mvvm;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Threading;using Venus_MainPages.Unity;using Venus_Themes.CustomControls;using Venus_Themes.Unity;namespace Venus_MainPages.ViewModels{    public class OperationOverViewModel : BindableBase    {        #region 私有字段        private bool m_TabIsChecked=true;        private ModuleInfo m_LP1ModuleInfo;        private ModuleInfo m_LP2ModuleInfo;        private ModuleInfo m_LP3ModuleInfo;        private WaferRobotTAction m_Robot1TAction;        private WaferRobotXAction m_Robot1XAction;        private WaferRobotTAction m_Robot2TAction;        private WaferRobotXAction m_Robot2XAction;        private RobotMoveInfo m_robotMoveInfo;        int arm1oldWaferStatus = 100;        int arm2oldWaferStatus = 100;        private WaferInfo m_PMAWafer;        private WaferInfo m_PMBWafer;        private WaferInfo m_PMCWafer;        private WaferInfo m_PMDWafer;        private WaferInfo m_LLAWafer;        private WaferInfo m_LLBWafer;        private WaferInfo m_TMBladeAWafer;        private WaferInfo m_TMBladeBWafer;        private List<string> m_RtDataKeys = new List<string>();        private Dictionary<string, object> m_RtDataValues;        private bool m_PMAIsInstalled;        private bool m_PMBIsInstalled;        private bool m_PMCIsInstalled;        private bool m_PMDIsInstalled;        private bool m_LLAIsInstalled;        private bool m_LLBIsInstalled;        private bool m_TMIsInstalled;        private bool m_EFEMIsInstalled;        private WaferInfo m_EFEMBladeAWafer;        private WaferInfo m_EFEMBladeBWafer;        private WaferInfo m_Aligner1Wafer;        private int m_LP1WaferCount;        private int m_LP2WaferCount;        private int m_LP3WaferCount;        private WaferAssociationInfo _lp1WaferAssociation;        private WaferAssociationInfo _lp2WaferAssociation;        private WaferAssociationInfo _lp3WaferAssociation;                #endregion        #region  属性        public bool TabIsChecked        {          get { return m_TabIsChecked; }         set { SetProperty(ref m_TabIsChecked, value); }        }        public ModuleInfo LP1ModuleInfo        {            get { return m_LP1ModuleInfo; }            set { SetProperty(ref m_LP1ModuleInfo, value); }        }        public ModuleInfo LP2ModuleInfo        {            get { return m_LP2ModuleInfo; }            set { SetProperty(ref m_LP2ModuleInfo, value); }        }        public ModuleInfo LP3ModuleInfo        {            get { return m_LP3ModuleInfo; }            set { SetProperty(ref m_LP3ModuleInfo, value); }        }        public WaferRobotTAction Robot1TAction        {            get { return m_Robot1TAction; }            set { SetProperty(ref m_Robot1TAction, value); }        }        public WaferRobotXAction Robot1XAction        {            get { return m_Robot1XAction; }            set { SetProperty(ref m_Robot1XAction, value); }        }        public WaferRobotTAction Robot2TAction        {            get { return m_Robot2TAction; }            set { SetProperty(ref m_Robot2TAction, value); }        }        public WaferRobotXAction Robot2XAction        {            get { return m_Robot2XAction; }            set { SetProperty(ref m_Robot2XAction, value); }        }        public RobotMoveInfo RobotMoveInfo        {            get { return m_robotMoveInfo; }            set            {                RobotMoveInfoChanged(m_robotMoveInfo, value);                m_robotMoveInfo = value;            }        }        public WaferInfo LLAWafer        {            get { return m_LLAWafer; }            set { SetProperty(ref m_LLAWafer, value); }        }        public WaferInfo LLBWafer        {            get { return m_LLBWafer; }            set { SetProperty(ref m_LLBWafer, value); }        }        public WaferInfo PMAWafer        {            get { return m_PMAWafer; }            set { SetProperty(ref m_PMAWafer, value); }        }        public WaferInfo PMBWafer        {            get { return m_PMBWafer; }            set { SetProperty(ref m_PMBWafer, value); }        }        public WaferInfo PMCWafer        {            get { return m_PMCWafer; }            set { SetProperty(ref m_PMCWafer, value); }        }        public WaferInfo PMDWafer        {            get { return m_PMDWafer; }            set { SetProperty(ref m_PMDWafer, value); }        }        public WaferInfo TMBladeAWafer        {            get { return m_TMBladeAWafer; }            set { SetProperty(ref m_TMBladeAWafer, value); }        }        public WaferInfo TMBladeBWafer        {            get { return m_TMBladeBWafer; }            set { SetProperty(ref m_TMBladeBWafer, value); }        }        public Dictionary<string, object> RtDataValues        {            get { return m_RtDataValues; }            set { SetProperty(ref m_RtDataValues, value); }        }        public bool PMAIsInstalled        {            get { return m_PMAIsInstalled; }            set { SetProperty(ref m_PMAIsInstalled, value); }        }        public bool PMBIsInstalled        {            get { return m_PMBIsInstalled; }            set { SetProperty(ref m_PMBIsInstalled, value); }        }        public bool PMCIsInstalled        {            get { return m_PMCIsInstalled; }            set { SetProperty(ref m_PMCIsInstalled, value); }        }        public bool PMDIsInstalled        {            get { return m_PMDIsInstalled; }            set { SetProperty(ref m_PMDIsInstalled, value); }        }        public bool LLAIsInstalled        {            get { return m_LLAIsInstalled; }            set { SetProperty(ref m_LLAIsInstalled, value); }        }        public bool LLBIsInstalled        {            get { return m_LLBIsInstalled; }            set { SetProperty(ref m_LLBIsInstalled, value); }        }        public bool TMIsInstalled        {            get { return m_TMIsInstalled; }            set { SetProperty(ref m_TMIsInstalled, value); }        }        public bool EFEMIsInstalled        {            get { return m_EFEMIsInstalled; }            set { SetProperty(ref m_EFEMIsInstalled, value); }        }        public WaferInfo EFEMBladeAWafer        {            get { return m_EFEMBladeAWafer; }            set { SetProperty(ref m_EFEMBladeAWafer, value); }        }        public WaferInfo EFEMBladeBWafer        {            get { return m_EFEMBladeBWafer; }            set { SetProperty(ref m_EFEMBladeBWafer, value); }        }        public WaferInfo Aligner1Wafer        {            get { return m_Aligner1Wafer; }            set { SetProperty(ref m_Aligner1Wafer, value); }        }        public int LP1WaferCount        {            get { return m_LP1WaferCount; }            set { SetProperty(ref m_LP1WaferCount, value); }        }        public int LP2WaferCount        {            get { return m_LP2WaferCount; }            set { SetProperty(ref m_LP2WaferCount, value); }        }        public int LP3WaferCount        {            get { return m_LP3WaferCount; }            set { SetProperty(ref m_LP3WaferCount, value); }        }        public WaferAssociationInfo LP1WaferAssociation        {            get { return _lp1WaferAssociation; }            set { SetProperty(ref _lp1WaferAssociation, value); }        }        public WaferAssociationInfo LP2WaferAssociation        {            get { return _lp2WaferAssociation; }            set { SetProperty(ref _lp2WaferAssociation, value); }        }        public WaferAssociationInfo LP3WaferAssociation        {            get { return _lp3WaferAssociation; }            set { SetProperty(ref _lp3WaferAssociation, value); }        }        #endregion        #region 命令        private DelegateCommand _LoadCommand;        public DelegateCommand LoadCommand =>            _LoadCommand ?? (_LoadCommand = new DelegateCommand(OnLoad));        private DelegateCommand<object> _LoadWaferCommand;        public DelegateCommand<object> LoadWaferCommand =>            _LoadWaferCommand ?? (_LoadWaferCommand = new DelegateCommand<object>(OnLoadWafer));        private DelegateCommand<object> _UnLoadWaferCommand;        public DelegateCommand<object> UnLoadWaferCommand =>            _UnLoadWaferCommand ?? (_UnLoadWaferCommand = new DelegateCommand<object>(OnUnLoadWafer));        private DelegateCommand<object> _SelectAllCommand;        public DelegateCommand<object> SelectAllCommand =>            _SelectAllCommand ?? (_SelectAllCommand = new DelegateCommand<object>(OnSelectAll));        private DelegateCommand<object> _UnSelectAllCommand;        public DelegateCommand<object> UnSelectAllCommand =>            _UnSelectAllCommand ?? (_UnSelectAllCommand = new DelegateCommand<object>(OnUnSelectAll));        private DelegateCommand<object> _StartCommand;        public DelegateCommand<object> StartCommand =>            _StartCommand ?? (_StartCommand = new DelegateCommand<object>(OnStart));        private DelegateCommand<object> _StopCommand;        public DelegateCommand<object> StopCommand =>            _StopCommand ?? (_StopCommand = new DelegateCommand<object>(OnStop));        private DelegateCommand<object> _AbortCommand;        public DelegateCommand<object> AbortCommand =>            _AbortCommand ?? (_AbortCommand = new DelegateCommand<object>(OnAbort));        private DelegateCommand _HomeAllCommand;        public DelegateCommand HomeAllCommand =>            _HomeAllCommand ?? (_HomeAllCommand = new DelegateCommand(OnHomeAll));        private DelegateCommand _PauseAllJobCommand;        public DelegateCommand PauseAllJobCommand =>            _PauseAllJobCommand ?? (_PauseAllJobCommand = new DelegateCommand(OnPauseAllJob));        private DelegateCommand _AbortAllCommand;        public DelegateCommand AbortAllCommand =>            _AbortAllCommand ?? (_AbortAllCommand = new DelegateCommand(OnAbortAll));        private DelegateCommand _ReturnAllWaferCommand;        public DelegateCommand ReturnAllWaferCommand =>            _ReturnAllWaferCommand ?? (_ReturnAllWaferCommand = new DelegateCommand(OnReturnAllWafer));        private DelegateCommand _SetSequenceCommand;        public DelegateCommand SetSequenceCommand =>            _SetSequenceCommand ?? (_SetSequenceCommand = new DelegateCommand(OnSetSequence));        private DelegateCommand<object> _CreateJobCommand;        public DelegateCommand<object> CreateJobCommand =>            _CreateJobCommand ?? (_CreateJobCommand = new DelegateCommand<object>(OnCreateJob));        private DelegateCommand _EnableAutoCommand;        public DelegateCommand EnableAutoCommand =>            _EnableAutoCommand ?? (_EnableAutoCommand = new DelegateCommand(OnEnableAuto));        private DelegateCommand _EnableManualCommand;        public DelegateCommand EnableManualCommand =>            _EnableManualCommand ?? (_EnableManualCommand = new DelegateCommand(OnEnableManual));        #endregion        #region 构造函数        public OperationOverViewModel()        {            DispatcherTimer timer = new DispatcherTimer();            timer.Interval = TimeSpan.FromSeconds(0.5);            timer.Tick += Timer_Tick;            timer.Start();            addDataKeys();            string allModules = QueryDataClient.Instance.Service.GetConfig($"System.InstalledModules").ToString();            PMAIsInstalled = allModules.Contains("PMA");            PMBIsInstalled = allModules.Contains("PMB");            PMCIsInstalled = allModules.Contains("PMC");            PMDIsInstalled = allModules.Contains("PMD");            LLAIsInstalled = allModules.Contains("LLA");            LLBIsInstalled = allModules.Contains("LLB");            EFEMIsInstalled = allModules.Contains("EFEM");            UIEvents.PMDoorRaiseChangedEvent += UIEvents_PMDoorRaiseChangedEvent;            UIEvents.LLTDoorRaiseChangedEvent += UIEvents_LLTDoorRaiseChangedEvent;            UIEvents.LLEDoorRaiseChangedEvent += UIEvents_LLEDoorRaiseChangedEvent;        }        #endregion        #region 命令方法        private void OnLoad()        {            LP1WaferAssociation = new WaferAssociationInfo();            LP1WaferAssociation.ModuleData = ModuleManager.ModuleInfos["LP1"];            LP2WaferAssociation = new WaferAssociationInfo();            LP2WaferAssociation.ModuleData = ModuleManager.ModuleInfos["LP2"];            LP3WaferAssociation = new WaferAssociationInfo();            LP3WaferAssociation.ModuleData = ModuleManager.ModuleInfos["LP3"];        }        private void OnLoadWafer(object obj)        {            InvokeClient.Instance.Service.DoOperation($"{obj.ToString()}.Load", ModuleManager.ModuleInfos[obj.ToString()].ModuleID);        }        private void OnUnLoadWafer(object obj)        {            InvokeClient.Instance.Service.DoOperation($"{obj.ToString()}.UnLoad", ModuleManager.ModuleInfos[obj.ToString()].ModuleID);        }        private void OnSelectAll(object obj)        {            var info=obj as WaferAssociationInfo;            info.SlotFrom = 1;            info.SlotTo = 25;            AssociateSequence(info, true);        }        private void OnUnSelectAll(object obj)        {            var info = obj as WaferAssociationInfo;            info.SlotFrom = 1;            info.SlotTo = 25;            AssociateSequence(info, false);        }        private void OnStart(object obj)        {            InvokeClient.Instance.Service.DoOperation("System.StartJob", obj.ToString());        }        private void OnStop(object obj)        {            InvokeClient.Instance.Service.DoOperation("System.PauseJob", obj.ToString());        }        private void OnAbort(object obj)        {            InvokeClient.Instance.Service.DoOperation("System.ResumeJob", obj.ToString());        }        private void OnHomeAll()        {            InvokeClient.Instance.Service.DoOperation("System.HomeAll");        }        private void OnPauseAllJob()        {            InvokeClient.Instance.Service.DoOperation("System.PauseJob", LP1WaferAssociation.JobID);            InvokeClient.Instance.Service.DoOperation("System.PauseJob", LP2WaferAssociation.JobID);            InvokeClient.Instance.Service.DoOperation("System.PauseJob", LP3WaferAssociation.JobID);        }        private void OnAbortAll()        {            InvokeClient.Instance.Service.DoOperation("System.Abort");        }        private void OnReturnAllWafer()        {            InvokeClient.Instance.Service.DoOperation("System.Abort");        }        private void OnSetSequence()        {            //var info = obj as WaferAssociationInfo;        }        private void OnCreateJob(object obj)        {            var info = obj as WaferAssociationInfo;            List<string> slotSequence = new List<string>();            info.ModuleData.WaferManager.Wafers.ForEach(key => { slotSequence.Insert(0, key.SequenceName); });            string jobId = info.LotId.Trim();            if (string.IsNullOrEmpty(jobId))                jobId = "CJ_Local_" + info.ModuleData.ModuleID;            info.LotId = jobId;            info.LotIdSaved = true;            Dictionary<string, object> param = new Dictionary<string, object>()            {                {"JobId", jobId},                {"Module", info.ModuleData.ModuleID},                {"SlotSequence", slotSequence.ToArray()},                {"AutoStart", true},            };            InvokeClient.Instance.Service.DoOperation("System.CreateJob", param);        }        private void OnEnableAuto()        {            InvokeClient.Instance.Service.DoOperation("System.SetAutoMode");        }        private void OnEnableManual()        {            InvokeClient.Instance.Service.DoOperation("System.SetManualMode");        }        #endregion        #region 私有方法        private void Timer_Tick(object sender, EventArgs e)        {                       LP1ModuleInfo = ModuleManager.ModuleInfos["LP1"];            LP2ModuleInfo = ModuleManager.ModuleInfos["LP2"];            LP3ModuleInfo = ModuleManager.ModuleInfos["LP3"];            if (LLAIsInstalled == true)            {                LLAWafer = ModuleManager.ModuleInfos["LLA"].WaferManager.Wafers.FirstOrDefault(x => x.WaferStatus != 0);                       }            if (LLBIsInstalled == true)            {                LLBWafer = ModuleManager.ModuleInfos["LLB"].WaferManager.Wafers.FirstOrDefault(x => x.WaferStatus != 0);            }            if (PMAIsInstalled == true)            {                PMAWafer = ModuleManager.ModuleInfos["PMA"].WaferManager.Wafers[0];            }            if (PMBIsInstalled == true)            {                PMBWafer = ModuleManager.ModuleInfos["PMB"].WaferManager.Wafers[0];            }            if (PMCIsInstalled == true)            {                PMCWafer = ModuleManager.ModuleInfos["PMC"].WaferManager.Wafers[0];            }            if (PMDIsInstalled == true)            {                PMDWafer = ModuleManager.ModuleInfos["PMD"].WaferManager.Wafers[0];            }            if (TMIsInstalled == true)            {                TMBladeAWafer = ModuleManager.ModuleInfos["TMRobot"].WaferManager.Wafers[0];                TMBladeBWafer = ModuleManager.ModuleInfos["TMRobot"].WaferManager.Wafers[1];            }            if (EFEMIsInstalled == true)            {                EFEMBladeAWafer = ModuleManager.ModuleInfos["EfemRobot"].WaferManager.Wafers[0];                EFEMBladeBWafer = ModuleManager.ModuleInfos["EfemRobot"].WaferManager.Wafers[1];                Aligner1Wafer   = ModuleManager.ModuleInfos["Aligner1"].WaferManager.Wafers[0];            }            RobotMoveInfo = (RobotMoveInfo)QueryDataClient.Instance.Service.GetData("TM.RobotMoveAction");            RtDataValues = QueryDataClient.Instance.Service.PollData(m_RtDataKeys);            LP1WaferCount = LP1ModuleInfo.WaferManager.Wafers.Where(x=>x.WaferStatus!=0).Count();            LP2WaferCount = LP2ModuleInfo.WaferManager.Wafers.Where(x => x.WaferStatus != 0).Count();            LP3WaferCount = LP3ModuleInfo.WaferManager.Wafers.Where(x => x.WaferStatus != 0).Count();        }        private async void RobotMoveInfoChanged(RobotMoveInfo oldValue, RobotMoveInfo newValue)        {            string RobotTarget;            if (oldValue == null || newValue == null)            {                return;            }            #region pick 和 place LL            if (oldValue.Action == RobotAction.None && (newValue.Action == RobotAction.Placing || newValue.Action == RobotAction.Picking))            {                var TMRobotMoveActionBladeTarget = newValue.BladeTarget;                if (TMRobotMoveActionBladeTarget != null)                {                    RobotTarget = TMRobotMoveActionBladeTarget.ToString();                }                else                {                    return;                }                var values = RobotTarget.Split('.');                var arm = values[0];                var module = values[1];                if (arm == "ArmA")                {                    Robot1TAction = (WaferRobotTAction)Enum.Parse(typeof(WaferRobotTAction), module, true);                    await Task.Delay(1500);                    Robot1XAction = WaferRobotXAction.Extend;                    await Task.Delay(3000);                    Robot1XAction = WaferRobotXAction.Retract;                }                else if (arm == "ArmB")                {                    Robot2TAction = (WaferRobotTAction)Enum.Parse(typeof(WaferRobotTAction), module, true);                    await Task.Delay(1500);                    Robot2XAction = WaferRobotXAction.Extend;                    await Task.Delay(3000);                    Robot2XAction = WaferRobotXAction.Retract;                }            }            #endregion            #region pick 和 place pm            if (oldValue.Action == RobotAction.None && newValue.Action == RobotAction.Extending)            {                var TMRobotMoveActionBladeTarget = newValue.BladeTarget;                if (TMRobotMoveActionBladeTarget != null)                {                    RobotTarget = TMRobotMoveActionBladeTarget.ToString();                }                else                {                    return;                }                var values = RobotTarget.Split('.');                var arm = values[0];                var module = values[1];                if (arm == "ArmA")                {                    Robot1TAction = (WaferRobotTAction)Enum.Parse(typeof(WaferRobotTAction), module, true);                    await Task.Delay(1500);                    Robot1XAction = WaferRobotXAction.Extend;                }                else if (arm == "ArmB")                {                    Robot2TAction = (WaferRobotTAction)Enum.Parse(typeof(WaferRobotTAction), module, true);                    await Task.Delay(1500);                    Robot2XAction = WaferRobotXAction.Extend;                }            }            if (oldValue.Action == RobotAction.None && newValue.Action == RobotAction.Retracting)            {                var TMRobotMoveActionBladeTarget = newValue.BladeTarget;                if (TMRobotMoveActionBladeTarget != null)                {                    RobotTarget = TMRobotMoveActionBladeTarget.ToString();                }                else                {                    return;                }                var values = RobotTarget.Split('.');                var arm = values[0];                if (arm == "ArmA")                {                    Robot1XAction = WaferRobotXAction.Retract;                }                else if (arm == "ArmB")                {                    Robot2XAction = WaferRobotXAction.Retract;                }            }            #endregion            arm1oldWaferStatus = ModuleManager.ModuleInfos["TMRobot"].WaferManager.Wafers[0].WaferStatus;            arm2oldWaferStatus = ModuleManager.ModuleInfos["TMRobot"].WaferManager.Wafers[1].WaferStatus;        }        private void addDataKeys()        {            m_RtDataKeys.Add("PMA.IsSlitDoorClosed");            m_RtDataKeys.Add("PMB.IsSlitDoorClosed");            m_RtDataKeys.Add("PMC.IsSlitDoorClosed");            m_RtDataKeys.Add("PMD.IsSlitDoorClosed");            m_RtDataKeys.Add("TM.LLATSlitDoor.IsClosed");            m_RtDataKeys.Add("TM.LLBTSlitDoor.IsClosed");            m_RtDataKeys.Add("TM.LLAESlitDoor.IsClosed");            m_RtDataKeys.Add("TM.LLBESlitDoor.IsClosed");            m_RtDataKeys.Add("System.IsAutoMode");                    }        private void AssociateSequence(WaferAssociationInfo info, bool flag, int slot = -1)        {            List<WaferInfo> wafers = info.ModuleData.WaferManager.Wafers;            if (slot >= 0) //by wafer            {                int index = wafers.Count - slot - 1;                if (index < wafers.Count)                {                    if (flag && HasWaferOnSlot(wafers, index))                        wafers[index].SequenceName = info.SequenceName;                    else                        wafers[index].SequenceName = string.Empty;                }            }            else //by from-to            {                for (int i = info.SlotFrom - 1; i < info.SlotTo; i++)                {                    int index = wafers.Count - i - 1;                    if (index < wafers.Count)                    {                        if (flag && HasWaferOnSlot(wafers, index))                            wafers[index].SequenceName = info.SequenceName;                        else                            wafers[index].SequenceName = string.Empty;                    }                }            }        }        private bool HasWaferOnSlot(List<WaferInfo> wafers, int index)        {            if (wafers[index].WaferStatus == 0)                return false;            return true;        }        private void UIEvents_PMDoorRaiseChangedEvent(DoorPara obj)        {            InvokeClient.Instance.Service.DoOperation($"{obj?.ModuleName}.SlitDoor.{obj?.IsOpen}");        }        private void UIEvents_LLTDoorRaiseChangedEvent(DoorPara obj)        {            InvokeClient.Instance.Service.DoOperation($"TM.{obj.ModuleName}TSlitDoor.{obj?.IsOpen}");        }        private void UIEvents_LLEDoorRaiseChangedEvent(DoorPara obj)        {            InvokeClient.Instance.Service.DoOperation($"TM.{obj.ModuleName}ESlitDoor.{obj?.IsOpen}");        }        #endregion    }}
 |