|
@ -67,7 +67,7 @@ public class TubeHolderSettingMgrService { |
|
|
synchronized public TubeHolderSetting newTubeHolderSetting() throws AppException { |
|
|
synchronized public TubeHolderSetting newTubeHolderSetting() throws AppException { |
|
|
if (deviceWorkStateMgrService.isDeviceWorking()) { |
|
|
if (deviceWorkStateMgrService.isDeviceWorking()) { |
|
|
Boolean isAllTubeHolderSettingActive = isAllTubeHolderSettingActive(); |
|
|
Boolean isAllTubeHolderSettingActive = isAllTubeHolderSettingActive(); |
|
|
if (isAllTubeHolderSettingActive) { |
|
|
|
|
|
|
|
|
if (!isAllTubeHolderSettingActive) { |
|
|
throw new AppException(A8kEcode.APPE_INACTIVE_TUBEHOLDER_SETTING_EXISTS); |
|
|
throw new AppException(A8kEcode.APPE_INACTIVE_TUBEHOLDER_SETTING_EXISTS); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -151,6 +151,7 @@ public class TubeHolderSettingMgrService { |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|