Alarm Class
Represents an alarm.
Inheritance Hierarchy
SystemObject
TcHmiSrv.CoreAlarm
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public class Alarm : IComparable<Alarm>,
ICopyable<Alarm>, IDeepCopyable<Alarm>, IShallowCopyable<Alarm>,
IEquatable<Alarm>, ILocalizableThe 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. | |
|
|
Contains a value that indicates whether the Alarm is active. | |
|
|
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. | |
|
|
Indicates whether the current Alarm is equal to another Alarm. | |
|
|
Determines whether the specified Object is equal to the
current Alarm. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current 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. |
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 |
|---|---|---|
|
|
Returns an unformatted JSON String that represents the
current Alarm. | |
|
|
Returns an unformatted JSON String that represents the
current Alarm. | |
|
|
Returns a JSON String that represents the
current Alarm. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0