Class IOnvifClient.PullpointTopic
Represents an ONVIF pullpoint event topic, including its metadata, associated rules, and helper methods for generating display names and identifier reference names.
public class IOnvifClient.PullpointTopic
- Inheritance
-
IOnvifClient.PullpointTopic
- Inherited Members
Constructors
PullpointTopic()
public PullpointTopic()
Fields
MessageCount
The message key identifying the count element within a notification message.
public static readonly string MessageCount
Field Value
MessageIsInside
The message key identifying the "is inside" element within a notification message.
public static readonly string MessageIsInside
Field Value
MessageSource
The message key identifying the source element within a notification message.
public static readonly string MessageSource
Field Value
MessageState
The message key identifying the state element within a notification message.
public static readonly string MessageState
Field Value
MotionAlarmMessageKey
The message key used to identify motion alarm notifications.
public static readonly string MotionAlarmMessageKey
Field Value
TagsToIgnore
Tags that should be ignored when processing topic information.
public static readonly string[] TagsToIgnore
Field Value
- string[]
TypeBoolean
The type name for boolean-valued topic messages.
public static readonly string TypeBoolean
Field Value
TypeInt
The type name for integer-valued topic messages.
public static readonly string TypeInt
Field Value
Properties
DisplayName
Gets the human-readable display name for this topic, composed from topic, service, and message.
public string DisplayName { get; }
Property Value
DisplayNameStarted
Gets the display name for this topic with a "Started" suffix appended.
public string DisplayNameStarted { get; }
Property Value
DisplayNameStopped
Gets the display name for this topic with a "Stopped" suffix appended.
public string DisplayNameStopped { get; }
Property Value
IdRefName
Gets the dot-separated identifier reference name for this topic, composed from topic, service, and message.
public string IdRefName { get; }
Property Value
IdRefNameStarted
Gets the dot-separated identifier reference name for this topic with a "Started" suffix appended.
public string IdRefNameStarted { get; }
Property Value
IdRefNameStopped
Gets the dot-separated identifier reference name for this topic with a "Stopped" suffix appended.
public string IdRefNameStopped { get; }
Property Value
Message
Gets or sets the message name associated with the topic.
public string Message { get; set; }
Property Value
Rules
Gets or sets the list of rules associated with this topic.
public List<IOnvifClient.PullpointRule> Rules { get; set; }
Property Value
Service
Gets or sets the service name associated with the topic.
public string Service { get; set; }
Property Value
Topic
Gets or sets the topic name.
public string Topic { get; set; }
Property Value
Type
Gets or sets the data type of the topic value.
public string Type { get; set; }
Property Value
Methods
DisplayNameIOT(string, string, string)
Gets the human-readable display name for an I/O event topic.
public string DisplayNameIOT(string category, string catCode, string profileName)
Parameters
categorystringThe event category name.
catCodestringThe category code.
profileNamestringThe profile name associated with the event.
Returns
- string
A formatted display name for the I/O event topic.
DisplayNameProfile(string, string)
Gets the human-readable display name for a specific source and profile.
public string DisplayNameProfile(string source, string profileName)
Parameters
Returns
- string
The display name including the source and profile name.
DisplayNameRule(string)
Gets the human-readable display name for a specific rule.
public string DisplayNameRule(string ruleName)
Parameters
ruleNamestringThe name of the rule.
Returns
- string
The display name including the rule name.
DisplayNameRuleStarted(string)
Gets the human-readable display name for a specific rule with a "Started" suffix.
public string DisplayNameRuleStarted(string ruleName)
Parameters
ruleNamestringThe name of the rule.
Returns
- string
The display name including the rule name and "Started" suffix.
DisplayNameRuleStopped(string)
Gets the human-readable display name for a specific rule with a "Stopped" suffix.
public string DisplayNameRuleStopped(string ruleName)
Parameters
ruleNamestringThe name of the rule.
Returns
- string
The display name including the rule name and "Stopped" suffix.
IdRefNameProfile(string, string)
Gets the dot-separated identifier reference name for a specific source and profile.
public string IdRefNameProfile(string source, string profileName)
Parameters
Returns
- string
The dot-separated identifier reference name including the source and profile name.
IdRefNameRule(string)
Gets the dot-separated identifier reference name for a specific rule.
public string IdRefNameRule(string ruleName)
Parameters
ruleNamestringThe name of the rule.
Returns
- string
The dot-separated identifier reference name including the rule name.
IdRefNameRuleStarted(string)
Gets the dot-separated identifier reference name for a specific rule with a "Started" suffix.
public string IdRefNameRuleStarted(string ruleName)
Parameters
ruleNamestringThe name of the rule.
Returns
- string
The dot-separated identifier reference name including the rule name and "Started" suffix.
IdRefNameRuleStopped(string)
Gets the dot-separated identifier reference name for a specific rule with a "Stopped" suffix.
public string IdRefNameRuleStopped(string ruleName)
Parameters
ruleNamestringThe name of the rule.
Returns
- string
The dot-separated identifier reference name including the rule name and "Stopped" suffix.
ToString()
Returns a string representation of this topic using the DisplayName property.
public override string ToString()
Returns
- string
The human-readable display name of the topic.