Exemplo n.º 1
0
 def door_open(self):
     transport.send_command(
         DoorCommand.Open,
         self.door_id,
         operator_id=self.operator,
         customization=Door_command_menue.__customization)
     print(self.door_id)
Exemplo n.º 2
0
 def door_apb_clear(self):
     transport.send_command(
         DoorCommand.APBClear,
         self.door_id,
         operator_id=self.operator,
         customization=Door_command_menue.__customization)
Exemplo n.º 3
0
 def door_open_enter(self):
     transport.send_command(
         DoorCommand.Open4Enter,
         self.door_id,
         operator_id=self.operator,
         customization=Door_command_menue.__customization)
Exemplo n.º 4
0
 def door_guard_off(self):
     transport.send_command(
         DoorCommand.GuardClear,
         self.door_id,
         operator_id=self.operator,
         customization=Door_command_menue.__customization)
Exemplo n.º 5
0
 def door_absolute_block_off(self):
     transport.send_command(
         DoorCommand.AbsoluteBlockClear,
         self.door_id,
         operator_id=self.operator,
         customization=Door_command_menue.__customization)
Exemplo n.º 6
0
 def door_relative_block_on(self):
     transport.send_command(
         DoorCommand.RelativeBlockSet,
         self.door_id,
         operator_id=self.operator,
         customization=Door_command_menue.__customization)
Exemplo n.º 7
0
 def door_close(self):
     transport.send_command(
         DoorCommand.Close,
         self.door_id,
         operator_id=self.operator,
         customization=Door_command_menue.__customization)