def __init__(self, module=0): """ :param module: CAN ID of the PDP :type module: int """ self.module = module SensorBase.checkPDPModule(module) hal.initializePDP(module)
def __init__(self, module=0): """ :param module: CAN ID of the PDP :type module: int """ super().__init__() self.module = module SensorBase.checkPDPModule(module) hal.initializePDP(module) self.setName("PowerDistributionPanel", module)
def __init__(self, module=0): """ :param module: CAN ID of the PDP :type module: int """ self.module = module SensorBase.checkPDPModule(module) hal.initializePDP(module) self.chanEntry = None self.voltageEntry = None self.totalCurrentEntry = None
def __init__(self, module: int = 0) -> None: """ :param module: CAN ID of the PDP """ super().__init__() SensorUtil.checkPDPModule(module) self.handle = hal.initializePDP(module) hal.report(hal.UsageReporting.kResourceType_PDP, module) self.setName("PowerDistributionPanel", module)
def __init__(self, module=0): self.module = module SensorBase.checkPDPModule(module) hal.initializePDP(module)