public void ControlFireZone(Guid uid, ZoneCommandType commandType) { ControlFireZone(RubezhServiceFactory.UID, uid, commandType); }
public void ControlFireZone(Guid clientUID, Guid uid, ZoneCommandType commandType) { SafeOperationCall(() => { var rubezhService = RubezhServiceFactory.Create(TimeSpan.FromMinutes(10)); using (rubezhService as IDisposable) rubezhService.ControlFireZone(clientUID, uid, commandType); }, "ControlFireZone"); }
public static void ControlFireZone(Guid clientUID, Guid uid, ZoneCommandType commandType) { if (commandType == ZoneCommandType.Ignore) RubezhServiceManager.SafeRubezhService.GKSetIgnoreRegime(clientUID, uid, GKBaseObjectType.Zone); if (commandType == ZoneCommandType.ResetIgnore) RubezhServiceManager.SafeRubezhService.GKSetAutomaticRegime(clientUID, uid, GKBaseObjectType.Zone); if (commandType == ZoneCommandType.Reset) RubezhServiceManager.SafeRubezhService.GKReset(clientUID, uid, GKBaseObjectType.Zone); }
public void ControlFireZone(Guid clientUID, Guid uid, ZoneCommandType commandType) { ProcedureHelper.ControlFireZone(clientUID, uid, commandType); }
public static void ControlFireZone(Guid clientUID, Guid uid, ZoneCommandType commandType) { if (OnControlFireZone != null) OnControlFireZone(clientUID, uid, commandType); }