public synchronized int cosSetEquipmentPermitToWork2(String[] equipments,
CosDpErrorSeqHolder errors) throws CosDpServerException
{
if (state_ != CosProcessStatusEnum.StatRunningControl)
{
throw new CosDpServerException(
CosDpServerExceptionCodeEnum.ExceptionDpServerNotInControl,
"Not In Control!");
}
// return variable