|
@@ -342,17 +342,23 @@ namespace Venus_RT.Devices
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
- switch (Module)
|
|
|
+ if (Singleton<RouteManager>.Instance.seTM!=null)
|
|
|
{
|
|
|
- case ModuleName.PMA:
|
|
|
- return Singleton<RouteManager>.Instance.seTM.IsPMASlitDoorClosed;
|
|
|
- case ModuleName.PMB:
|
|
|
- return Singleton<RouteManager>.Instance.seTM.IsPMBSlitDoorClosed;
|
|
|
- case ModuleName.PMC:
|
|
|
- return Singleton<RouteManager>.Instance.seTM.IsPMCSlitDoorClosed;
|
|
|
- default:
|
|
|
- return true;
|
|
|
+ switch (Module)
|
|
|
+ {
|
|
|
+ case ModuleName.PMA:
|
|
|
+ return Singleton<RouteManager>.Instance.seTM.IsPMASlitDoorClosed;
|
|
|
+ case ModuleName.PMB:
|
|
|
+ return Singleton<RouteManager>.Instance.seTM.IsPMBSlitDoorClosed;
|
|
|
+ case ModuleName.PMC:
|
|
|
+ return Singleton<RouteManager>.Instance.seTM.IsPMCSlitDoorClosed;
|
|
|
+ default:
|
|
|
+ return false;
|
|
|
+ }
|
|
|
}
|
|
|
+ else
|
|
|
+ return false;
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|