-
Notifications
You must be signed in to change notification settings - Fork 0
/
condition.msd
31 lines (28 loc) · 1.92 KB
/
condition.msd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package :Condition, 'The condition of the device' do
basic_type :ConditionDescription, 'The description of the Condition'
attr :NativeSeverity, 'The device\'s severity'
enum :Qualifier, 'A qualifier for the condition' do
# Conditions
value :HIGH, 'The value is too high'
value :LOW, 'The value is too low'
end
type :Condition, 'An abstract indicator of the device\'s condition' do
abstract
member :Sequence, 'The events sequence number'
member :Timestamp, 'The time the event occurred'
member :Name, 'The name of the event corresponding to the measurement', 0..1
member :DataItemId, 'The unique identifier of the item being produced'
member :CompositionId, 'The identifier of the sub-element this result is in reference to', 0..1
member :type, 'The type of condition', :DataItemEnum
member :NativeCode, 'The component specific Notifcation code', 0..1
member :NativeSeverity, 'The component specific Notifcation code', 0..1
member :Qualifier, 'An optional attribute that helps qualify the condition', 0..1
member :Statistic, 'The statistical operation on this data', 0..1, :DataItemStatistics
member :SubType, 'The event subtype corresponding to the measurement subtype', 0..1, :DataItemSubEnum
member :Value, 'The description of the condition', :ConditionDescription
end
type :Unavailable, 'The conditon can not be determined.', :Condition
type :Normal, 'The item being monitored is operating normally and no action is required. Also indicates a cleared condition.', :Condition
type :Warning, 'he item being monitored is moving into the abnormal range and should be observed. No action required at this time.', :Condition
type :Fault, 'The item has failed an intervention is required to return to a normal condition. Transition to a normal condition indicates that the Fault has been cleared. Something that needs to be acknowledged. Sometimes noted as an alarm.', :Condition
end