Class AlarmMessageHeaders
- Namespace
- SenseAnywhere.Sdk.Messages.Headers.Alarms
- Assembly
- SenseAnywhere.Sdk.dll
Represents the headers for an alarm message.
public class AlarmMessageHeaders : DeviceMessageHeaders
- Inheritance
-
AlarmMessageHeaders
- Inherited Members
Constructors
AlarmMessageHeaders(string, AlarmSubject, AlarmMessageType, DeviceMessageSender, MessageRecipient, DateTime)
Initializes a new instance of the AlarmMessageHeaders class.
public AlarmMessageHeaders(string messageId, AlarmSubject subject, AlarmMessageType messageType, DeviceMessageSender from, MessageRecipient to, DateTime timeStamp)
Parameters
messageId
stringThe unique identifier of the message.
subject
AlarmSubjectThe subject of the alarm.
messageType
AlarmMessageTypeThe type of the alarm message.
from
DeviceMessageSenderThe sender of the message.
to
MessageRecipientThe recipient of the message.
timeStamp
DateTimeThe timestamp of the message.
Properties
MessageType
Gets the type of the alarm message.
public AlarmMessageType MessageType { get; }
Property Value
Subject
Gets the subject of the alarm.
public AlarmSubject Subject { get; }