pub struct EventData {Show 14 fields
pub custom_data: Option<CustomData>,
pub event_id: i64,
pub timestamp: DateTime,
pub trigger: EventTriggerEnum,
pub cause: Option<i64>,
pub actual_value: String,
pub tech_code: Option<String>,
pub tech_info: Option<String>,
pub cleared: Option<bool>,
pub transaction_id: Option<String>,
pub component: Component,
pub variable_monitoring_id: Option<i64>,
pub event_notification_type: EventNotificationEnum,
pub variable: Variable,
}Expand description
Class to report an event notification for a component-variable.
Fields§
§custom_data: Option<CustomData>§event_id: i64Identifies the event. This field can be referred to as a cause by other events.
timestamp: DateTimeTimestamp of the moment the report was generated.
trigger: EventTriggerEnum§cause: Option<i64>Refers to the Id of an event that is considered to be the cause for this event.
actual_value: StringActual value (attributeType Actual) of the variable. The Configuration Variable <<configkey-reporting-value-size,ReportingValueSize>> can be used to limit GetVariableResult.attributeValue, VariableAttribute.value and EventData.actualValue. The max size of these values will always remain equal.
tech_code: Option<String>Technical (error) code as reported by component.
tech_info: Option<String>Technical detail information as reported by component.
cleared: Option<bool>Cleared is set to true to report the clearing of a monitored situation, i.e. a ‘return to normal’.
transaction_id: Option<String>If an event notification is linked to a specific transaction, this field can be used to specify its transactionId.
component: Component§variable_monitoring_id: Option<i64>Identifies the VariableMonitoring which triggered the event.
event_notification_type: EventNotificationEnum§variable: Variable