public void AddNewInspectorTaskAlarm(int level) { List <Zone> _pLists = new List <Zone>(); _pLists = ZoneLab.getInstance().GetShouldInspectList(level); AddNewTask(_pLists); if (OnNewTaskEvent != null) { OnNewTaskEvent(level); } }
public static ZoneLab getInstance() { if (uniqueInstance == null) { lock (padlock) { if (uniqueInstance == null) { uniqueInstance = new ZoneLab(); } } } return(uniqueInstance); }
private InspectorsLab() { ZoneLab.getInstance().InitializingZoneList(); PersonLab.getInstance().InitializingPersonList(); }