Search Results for

    Show / Hide Table of Contents

    Class ControlEvent

    • C#
    • Visual Basic
    [Obfuscation(Exclude = true, ApplyToMembers = true)]
    [Serializable]
    public class ControlEvent
    <Obfuscation(Exclude:=True, ApplyToMembers:=True)>
    <Serializable>
    Public Class ControlEvent
    Inheritance
    System.Object
    ControlEvent
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: HomeSeer.PluginSdk.Devices.Controls
    Assembly: PluginSdk.dll


    The description of an event representing a controlled change of a HsFeature.


    Constructors

    View Source

    ControlEvent(Int32)

    Create a new ControlEvent for a Ref

    Declaration
    • C#
    • Visual Basic
    public ControlEvent(int devRef)
    Public Sub New(devRef As Integer)
    Parameters
    Type Name Description
    System.Int32 devRef

    The Ref of the HsFeature being controlled

    Fields

    View Source

    _controlString

    Declaration
    • C#
    • Visual Basic
    string _controlString
    _controlString As String
    Field Value
    Type Description
    System.String
    View Source

    _controlType

    Declaration
    • C#
    • Visual Basic
    EControlType _controlType
    _controlType As EControlType
    Field Value
    Type Description
    EControlType
    View Source

    _controlUse

    Declaration
    • C#
    • Visual Basic
    EControlUse _controlUse
    _controlUse As EControlUse
    Field Value
    Type Description
    EControlUse
    View Source

    _controlValue

    Declaration
    • C#
    • Visual Basic
    double _controlValue
    _controlValue As Double
    Field Value
    Type Description
    System.Double
    View Source

    _index

    Declaration
    • C#
    • Visual Basic
    int _index
    _index As Integer
    Field Value
    Type Description
    System.Int32
    View Source

    _label

    Declaration
    • C#
    • Visual Basic
    string _label
    _label As String
    Field Value
    Type Description
    System.String
    View Source

    _ref

    Declaration
    • C#
    • Visual Basic
    int _ref
    _ref As Integer
    Field Value
    Type Description
    System.Int32

    Properties

    View Source

    CCIndex

    A unique index representing the CAPIControl in HomeSeer.

    Declaration
    • C#
    • Visual Basic
    [Obsolete("This is a carry over from the legacy API. It should not need to be used anymore and is maintained for compatibility.", false)]
    public int CCIndex { get; set; }
    <Obsolete("This is a carry over from the legacy API. It should not need to be used anymore and is maintained for compatibility.", False)>
    Public Property CCIndex As Integer
    Property Value
    Type Description
    System.Int32
    Remarks

    This is a carry over from the legacy API. It should not need to be used anymore and is maintained for compatibility.

    View Source

    ControlString

    A string containing control data for the event. This is used for ColorPickers

    Declaration
    • C#
    • Visual Basic
    public string ControlString { get; set; }
    Public Property ControlString As String
    Property Value
    Type Description
    System.String
    Remarks

    This is NOT the Label to display in the DisplayedStatus of the HsFeature. This is not displayed anywhere.

    View Source

    ControlType

    The EControlType of the StatusControl used to generate this event.

    Declaration
    • C#
    • Visual Basic
    public EControlType ControlType { get; set; }
    Public Property ControlType As EControlType
    Property Value
    Type Description
    EControlType
    View Source

    ControlUse

    The EControlUse of the StatusControl used to generate this event.

    Declaration
    • C#
    • Visual Basic
    public EControlUse ControlUse { get; set; }
    Public Property ControlUse As EControlUse
    Property Value
    Type Description
    EControlUse
    View Source

    ControlValue

    The target value for the event. This is the desired Value

    Declaration
    • C#
    • Visual Basic
    public double ControlValue { get; set; }
    Public Property ControlValue As Double
    Property Value
    Type Description
    System.Double
    View Source

    Label

    A human-readable string representing the label to display on the HsFeature for this event.

    Declaration
    • C#
    • Visual Basic
    public string Label { get; set; }
    Public Property Label As String
    Property Value
    Type Description
    System.String
    View Source

    TargetRef

    The Ref of the HsFeature being controlled.

    Declaration
    • C#
    • Visual Basic
    public int TargetRef { get; set; }
    Public Property TargetRef As Integer
    Property Value
    Type Description
    System.Int32

    See Also

    StatusControl
    CreateControlEvent(Double)
    • View Source
    In This Article
    Back to top HomeSeer Technologies