Alarm Class
Represents an alarm.
Inheritance Hierarchy
System.Object
TcHmiSrv.Core.Alarm
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public class Alarm : IComparable<Alarm>,
ICopyable<Alarm>, IDeepCopyable<Alarm>, IShallowCopyable<Alarm>,
IEquatable<Alarm>, ILocalizable
The Alarm type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the Alarm class. | |
|
Initializes a new instance of the Alarm class with the specified Context and name. |
Properties
|
Name |
Description |
---|---|---|
|
Contains the AlarmState of the Alarm. | |
|
Contains the AlarmConfirmationState of the Alarm. | |
|
Contains the domain of the Alarm. | |
|
Contains the unique identifier of the Alarm. | |
|
Gets a value that indicates whether the Alarm is set. | |
|
Contains the name of the language variable. | |
|
Gets the parameters of the localizable object. The names of the parameters must match the placeholders in the localization string. | |
|
Contains the Severity of the Alarm. | |
|
Contains the DateTime when the Alarm was cleared. | |
|
Contains the DateTime when the Alarm was confirmed. | |
|
Contains the DateTime when the Alarm was raised. | |
|
Gets the ValueType of the localizable object that will be Alarm. |
Methods
|
Name |
Description |
---|---|---|
|
Compares the current Alarm with another Alarm and returns an integer that indicates whether the current Alarm precedes, follows, or occurs in the same position in the sort order as the other Alarm. | |
|
Creates a new object that is a deep copy of the current Alarm. | |
|
Determines whether the specified Object is equal to the current Alarm. (Overrides Object.Equals(Object).) | |
|
Indicates whether the current Alarm is equal to another Alarm. | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Overrides Object.GetHashCode..) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Creates a new Alarm that is a shallow copy of the current Alarm. | |
|
Returns a String that represents the Name of the current Alarm. (Overrides Object.ToString..) |
Operators
|
Name |
Description |
---|---|---|
|
Determines whether two instances of the Alarm class are equal. | |
|
Determines whether the current instance of the Alarm class is greater than another instance. | |
|
Determines whether the current instance of the Alarm class is greater than or equal to another instance. | |
|
Determines whether two instances of the Alarm class are not equal. | |
|
Determines whether the current instance of the Alarm class is less than another instance. | |
|
Determines whether the current instance of the Alarm class is less than or equal to another instance. |
Extension Methods
|
Name |
Description |
---|---|---|
|
Overloaded. Returns an unformatted JSON String that represents the current Alarm. (Defined by AlarmExtensions.) | |
|
Overloaded. Returns an unformatted JSON String that represents the current Alarm. (Defined by AlarmExtensions.) | |
|
Overloaded. Returns a JSON String that represents the current Alarm. (Defined by AlarmExtensions.) |