05-14-2020, 03:55 PM
Oh, OK, no, that's not likely to happen. That really would require something like the logic server which is a huge undertaking.
I guess one option would be to derive a class from EventHandler:
https://www.charmedquark.com/Web2/CQCDoc...entHandler
Set up a single triggered event that just roughly filters for the kinds of events you want. The action would be an invocation of your derived class. When that happens, the event server knows it's an event handler. In your Start() method you can call the Get method to get the raw event info and do whatever you want, which could be return some info to the action that tells it to invoke some command line tool to send that info.
Another would be to create an 'event monitor' which I created a long time ago and I don't think anyone has ever used. You derive from EvMonBase:
https://www.charmedquark.com/Web2/CQCDoc.../EvMonBase
In your Start() you tell it a list of fields you are interested in. You will be called back the FIeldChanged() method any time one of them changes. But, in this case, you'd have to build up the MQTT buffer to send yourself. You wouldn't have any way of invoking some external tool.
I guess one option would be to derive a class from EventHandler:
https://www.charmedquark.com/Web2/CQCDoc...entHandler
Set up a single triggered event that just roughly filters for the kinds of events you want. The action would be an invocation of your derived class. When that happens, the event server knows it's an event handler. In your Start() method you can call the Get method to get the raw event info and do whatever you want, which could be return some info to the action that tells it to invoke some command line tool to send that info.
Another would be to create an 'event monitor' which I created a long time ago and I don't think anyone has ever used. You derive from EvMonBase:
https://www.charmedquark.com/Web2/CQCDoc.../EvMonBase
In your Start() you tell it a list of fields you are interested in. You will be called back the FIeldChanged() method any time one of them changes. But, in this case, you'd have to build up the MQTT buffer to send yourself. You wouldn't have any way of invoking some external tool.
Dean Roddey
Explorans limites defectum
Explorans limites defectum