The extreme health codes from each system eg : {'OID' : 'MLS', 'DID' : 'CNS', 'PLD' : ' HC# Brakes have failed'}, {'OID' : 'MLS', 'DID' : 'CNS', 'PLD' : 'HC# left turn signal non functional'}
We will also need the information that are maintenance related like :
{'OID' : 'MLS', 'DID' : 'CNS', 'PLD' : ' Batteries need to be changed'}
{'OID' : 'MLS', 'DID' : 'CNS', 'PLD' : ' Brake calipers need to be changed'}
{'OID' : 'MLS', 'DID' : 'CNS', 'PLD' : ' Fans for the climate control system needs to be changed'}
{'OID' : 'MLS', 'DID' : 'CNS', 'PLD' : ' Lights are near the end of their life cycle'}
We could set up the alert to be sent once the light have been turned on and off for a certain number of times or when the brakes have been used a certain number of times (setting up a life cycle for the wear and tear parts of the vehicle). An entry of a counter variable into the collection would work.
No comments:
Post a Comment