Example #1
0
 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()
Example #2
0
 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)
Example #3
0
 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)
Example #4
0
 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)