예제 #1
0
 public void LiftControlInit()
 {
     foreach (ASectionObj obj in m_pSectionObjList)
     {
         AutoLiftNotifyControl alc = new AutoLiftNotifyControl();
         alc.DbHelper           = RainfallsDbHelper;
         alc.SoundPlay          = SoundPlay;
         alc.SectonObj          = obj;
         alc.OnShowHiddenEvent += new LiftShowHiddenDelegate(frmLift.getInstance().WhoIsShow);
         m_pLiftControlDictionary.Add(obj.ID, alc);
         frmLift.getInstance().AddLiftControl(alc);
     }
 }
예제 #2
0
 public void AddLiftControl(AutoLiftNotifyControl alc)
 {
     m_pAlarmControlList.Add(alc);
 }