VideoOS.Platform.AccessControl.Elements.ACElement Class Referenceabstract

ACElement is the base class for all the elements in a configuration. More...

Inheritance diagram for VideoOS.Platform.AccessControl.Elements.ACElement:
VideoOS.Platform.AccessControl.Elements.ACInstance VideoOS.Platform.AccessControl.Elements.ACType VideoOS.Platform.AccessControl.Elements.ACOperationableInstance VideoOS.Platform.AccessControl.Elements.ACZone VideoOS.Platform.AccessControl.Elements.ACCommandType VideoOS.Platform.AccessControl.Elements.ACEventType VideoOS.Platform.AccessControl.Elements.ACOperationableType VideoOS.Platform.AccessControl.Elements.ACStateType VideoOS.Platform.AccessControl.Elements.ACZoneType VideoOS.Platform.AccessControl.Elements.ACServer VideoOS.Platform.AccessControl.Elements.ACUnit VideoOS.Platform.AccessControl.Elements.ACServerType VideoOS.Platform.AccessControl.Elements.ACUnitType

Public Member Functions

 ACElement (string id, string name, string iconKey, IEnumerable< ACProperty > properties)
 Constructor for this class is not be used directly.
 
override bool Equals (object obj)
 Performs a strict compare between this and the specified element.
 
override int GetHashCode ()
 

Properties

string IconKey [get]
 
string Id [get]
 
string Name [get]
 
IEnumerable< ACPropertyProperties [get]
 

Detailed Description

ACElement is the base class for all the elements in a configuration.

A plugin should not interit from this class.

The id is used as an identifier, and needs to be unique within one configuration. If multiple systems are added the MIP abstraction layer will pre-fix the ids per system to avoid duplicates.

The name is used for display in various user interfaces.

The iconkey can be a key defined in the ACBuiltInIconKeys class or one that you have defined in the ACPlugin.GetIcons().

Constructor & Destructor Documentation

◆ ACElement()

VideoOS.Platform.AccessControl.Elements.ACElement.ACElement ( string id,
string name,
string iconKey,
IEnumerable< ACProperty > properties )
inline

Constructor for this class is not be used directly.

Parameters
id
name
iconKey
properties

Member Function Documentation

◆ Equals()

override bool VideoOS.Platform.AccessControl.Elements.ACElement.Equals ( object obj)
inline

Performs a strict compare between this and the specified element.

Parameters
objThe element to compare with
Returns
True if the elemets are strictly identical. False if not.

◆ GetHashCode()

override int VideoOS.Platform.AccessControl.Elements.ACElement.GetHashCode ( )
inline

Property Documentation

◆ IconKey

string VideoOS.Platform.AccessControl.Elements.ACElement.IconKey
get

◆ Id

string VideoOS.Platform.AccessControl.Elements.ACElement.Id
get

◆ Name

string VideoOS.Platform.AccessControl.Elements.ACElement.Name
get

◆ Properties

IEnumerable<ACProperty> VideoOS.Platform.AccessControl.Elements.ACElement.Properties
get