I need to monitor data on a widget(on which a system scheme or image is laid out). My main question is how to classify and organize data to that monitoring becomes easy and also the best way I can show monitor data in the program, considering the space limit on the Main Window.
The monitoring data include System signals, alarms and command sent relevant to the specific signal or alarm. signals only give data showing the current status of a sub-component, whereas alarms are triggered when something abnormal happens. let's say temperature increases over x. The commands user input according to the signals and alarms warnings shown in the scheme.
let's jump in the main problem:
as I mentioned above the scheme of a particular sub-system is shown on the main window. The main scheme of sub-system shows its components to the user, it is an image. Signals, alarms and commands are categories in which if the user selects one, it adds data to the main scheme. So, if I choose signals from the let's say combo box it shows and adds signals to the main scheme, same to Alarms and commands. as I don't have enough space and the number of signals and alarms are much I need to monitor it in a perfect and tricky way.
Does anyone had any experience with this before? if so, could you let me know about the best way to program this problem. besides what classes do you classify to handle signals and alarms?
uh, I almost forgot, another very important thing is the relation between signals and alarms. for example one signal shown in a the scheme of sub-system x may be relevant to another sub-system y. because of a lack in space what is the best way to make this monitoring easily-shown to the user?
an example:
In the main scheme if i choose system x, it shows its scheme. let's say some component of this subsystem's temperature increases so that if it increases more than a number, or if it turns off or if doesn't get closed, a relevant signal or alarm may rise, in this case this is an alarm, bcoz it is abnormal situtaiton, how to show it?
signals of this are regular receiving data that shows its current status. in any case user enters commands a pre-defined decision by inputing data like pressing a button or any kind.
I want to know how to classify this things in code with classes so that everything becomes encapsulated. and the best way to monitor the whole system with alarms, signals and rising commands according to lack of space I have.
Bookmarks