예제 #1
0
 def getPCMSolenoidVoltageStickyFault(self):
     """
     :returns: True if PCM Sticky fault is set : The common
         highside solenoid voltage rail is too low, most likely
         a solenoid channel has been shorted.
     """
     return hal.getPCMSolenoidVoltageStickyFault()
예제 #2
0
 def getPCMSolenoidVoltageStickyFault(self):
     """
     :returns: True if PCM Sticky fault is set : The common
         highside solenoid voltage rail is too low, most likely
         a solenoid channel has been shorted.
     """
     return hal.getPCMSolenoidVoltageStickyFault(self.moduleNumber)
예제 #3
0
 def getPCMSolenoidVoltageStickyFault(moduleNumber):
     """
     :param moduleNumber: in a static context, the module number to read. otherwise don't provide it.
     :returns: True if PCM Sticky fault is set : 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.getPCMSolenoidVoltageStickyFault(moduleNumber)
예제 #4
0
 def getPCMSolenoidVoltageStickyFault(
     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 Sticky fault is set : 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.getPCMSolenoidVoltageStickyFault(moduleNumber)