def getPCMSolenoidVoltageFault(self): """ :returns: True if PCM is in fault state : The common highside solenoid voltage rail is too low, most likely a solenoid channel has been shorted. """ return hal.getPCMSolenoidVoltageFault()
def getPCMSolenoidVoltageFault(self): """ :returns: True if PCM is in fault state : The common highside solenoid voltage rail is too low, most likely a solenoid channel has been shorted. """ return hal.getPCMSolenoidVoltageFault(self.moduleNumber)
def getPCMSolenoidVoltageFault(moduleNumber): """ :param moduleNumber: in a static context, the module number to read. otherwise don't provide it. :returns: True if PCM is in fault state : The common highside solenoid voltage rail is too low, most likely a solenoid channel has been shorted. """ if isinstance(moduleNumber, SolenoidBase): moduleNumber = moduleNumber.moduleNumber return hal.getPCMSolenoidVoltageFault(moduleNumber)
def getPCMSolenoidVoltageFault(moduleNumber: Union[int, "SolenoidBase"]) -> bool: """ :param moduleNumber: in a static context, the module number to read. otherwise don't provide it. :returns: True if PCM is in fault state : The common highside solenoid voltage rail is too low, most likely a solenoid channel has been shorted. """ if isinstance(moduleNumber, SolenoidBase): moduleNumber = moduleNumber.moduleNumber return hal.getPCMSolenoidVoltageFault(moduleNumber)