class Bd2Hal(object): ''' Method to initilize the laser package ''' def __init__(self): self.name = 'bd2_hal' self.state = OffState() ''' Method to handle events Parameters: event: Event passed from HUB ''' def on_event(self, event): self.state = self.state.on_event(event)
def __init__(self): self.name = 'bt1_hal' self.state = OffState()
def __init__(self): self.name = 'bd1_bd2' self.state = OffState()
def __init__(self): self.name = 'kit_utl' self.state = OffState()