Esempio n. 1
0
        public void AddNewInspectorTaskAlarm(int level)
        {
            List <Zone> _pLists = new List <Zone>();

            _pLists = ZoneLab.getInstance().GetShouldInspectList(level);
            AddNewTask(_pLists);
            if (OnNewTaskEvent != null)
            {
                OnNewTaskEvent(level);
            }
        }
Esempio n. 2
0
 public static ZoneLab getInstance()
 {
     if (uniqueInstance == null)
     {
         lock (padlock)
         {
             if (uniqueInstance == null)
             {
                 uniqueInstance = new ZoneLab();
             }
         }
     }
     return(uniqueInstance);
 }
Esempio n. 3
0
 private InspectorsLab()
 {
     ZoneLab.getInstance().InitializingZoneList();
     PersonLab.getInstance().InitializingPersonList();
 }