开云体育

Locked Last operated date


 

What triggers the database to update the last operated date and what triggers the operating duration?

I’m going to guess and say using the JMRI throttle.?

Therefore, I ask, can the command monitor Paris, the data coming back and update the database automatically?
?


 

Hi CLL,
?
The RosterEntry attributes Operating Duration and Last Operated are set when a Throttle has been obtained BY ROSTER ENTRY ( not just DCC Address ) and this Throttle is released.
?
Larger Rosters could well have 2 entries for the same DCC Address, it's not a unique field.
?
If there was demand for it, it would be possible to add an option to update Roster Entries matching the DCC Addresses when a non-RosterEntry selected JMRI Throttle is released, although JMRI already has a fair number of Throttle settings and there's been no demand AFAIK.
?
An option to update matching DCC Address RosterEntries based on locos within command station monitors would require a fair few code tweaks.
?
Steve.


 

Thanks for the quick reply Steve

Yes, I would like to see an option To update the matching DCC address Roster entries based on In the command station monitor
?
I think this would be a great asset
?
Then for sure, I know that a locomotive would need maintenance based on the running time.?

?


 

I hope this would not be CPU intensive parsing the DCC system