14.5 Handling of Errors, Warnings and Prognosis (Maintenance and Calibration)
Errors, warnings and prognoses are managed under the 6:Notification node inside the TTD. As you can see in Figure 16, the 6:Notification node has two (optional) child nodes 6:Messages and 6:Prognoses. The 6:Messages node is used for sending events like errors, warnings and messages. The 6:Prognosis contains a list of the current prognoses (e.g. maintenance or calibration tasks) for the TTD. The list can be used dynamically or statically. When used statically the Objects in the AddressSpace stay the same during the runtime of the Server. No nodes are added or deleted. When used dynamically, Nodes in the AddressSpace are added and deleted as necessary: every time a new Prognosis is calculated, a respective object is added to the list of prognoses. As soon as the predicted task occurred, the Object in the AddressSpace is deleted. In the case of dynamic usage, each modification of the Prognosis list will trigger a GeneralModelChangeEvent to inform Clients (MES) about the change.
Figure 16 shows a sample implementation for the 6:Notification Node.