C# Class openhabUWP.Remote.Models.ItemFluent

Exibir arquivo Open project: altima/openhabUWP

Public Methods

Method Description
IsColorItem ( this item ) : bool

Determines whether [is color item].

IsContactItem ( this item ) : bool

Determines whether [is contact item].

IsDateTimeItem ( this item ) : bool

Determines whether [is date time item].

IsDimmerItem ( this item ) : bool

Determines whether [is dimmer item].

IsGroupItem ( this item ) : bool

Determines whether [is group item].

IsLocationItem ( this item ) : bool

Determines whether [is location item].

IsNumberItem ( this item ) : bool

Determines whether [is number item].

IsRollershutterItem ( this item ) : bool

Determines whether [is rollershutter item].

IsSwitchItem ( this item ) : bool

Determines whether [is switch item].

SetCategory ( this item, string category ) : Item

Sets the category.

SetGroupNames ( this item, string groupNames ) : Item

Sets the group names.

SetIcon ( this item, string icon ) : Item

Sets the icon.

SetLabel ( this item, string label ) : Item

Sets the label.

SetLink ( this item, string link ) : Item

Sets the link.

SetName ( this item, string name ) : Item

Sets the name.

SetState ( this item, string state ) : Item

Sets the state.

SetStateDescription ( this item, StateDescription stateDescription ) : Item

Sets the state description.

SetTags ( this item, string tags ) : Item

Sets the tags.

SetType ( this item, string type ) : Item

Sets the type.

Private Methods

Method Description
IsItem ( this item, string type ) : bool

Determines whether the specified type is item.

Method Details

IsColorItem() public static method

Determines whether [is color item].
public static IsColorItem ( this item ) : bool
item this The item.
return bool

IsContactItem() public static method

Determines whether [is contact item].
public static IsContactItem ( this item ) : bool
item this The item.
return bool

IsDateTimeItem() public static method

Determines whether [is date time item].
public static IsDateTimeItem ( this item ) : bool
item this The item.
return bool

IsDimmerItem() public static method

Determines whether [is dimmer item].
public static IsDimmerItem ( this item ) : bool
item this The item.
return bool

IsGroupItem() public static method

Determines whether [is group item].
public static IsGroupItem ( this item ) : bool
item this The item.
return bool

IsLocationItem() public static method

Determines whether [is location item].
public static IsLocationItem ( this item ) : bool
item this The item.
return bool

IsNumberItem() public static method

Determines whether [is number item].
public static IsNumberItem ( this item ) : bool
item this The item.
return bool

IsRollershutterItem() public static method

Determines whether [is rollershutter item].
public static IsRollershutterItem ( this item ) : bool
item this The item.
return bool

IsSwitchItem() public static method

Determines whether [is switch item].
public static IsSwitchItem ( this item ) : bool
item this The item.
return bool

SetCategory() public static method

Sets the category.
public static SetCategory ( this item, string category ) : Item
item this The item.
category string The category.
return Item

SetGroupNames() public static method

Sets the group names.
public static SetGroupNames ( this item, string groupNames ) : Item
item this The widget.
groupNames string The group names.
return Item

SetIcon() public static method

Sets the icon.
public static SetIcon ( this item, string icon ) : Item
item this The item.
icon string The icon.
return Item

SetLabel() public static method

Sets the label.
public static SetLabel ( this item, string label ) : Item
item this The item.
label string The label.
return Item

SetLink() public static method

Sets the link.
public static SetLink ( this item, string link ) : Item
item this The item.
link string The link.
return Item

SetName() public static method

Sets the name.
public static SetName ( this item, string name ) : Item
item this The item.
name string The name.
return Item

SetState() public static method

Sets the state.
public static SetState ( this item, string state ) : Item
item this The item.
state string The state.
return Item

SetStateDescription() public static method

Sets the state description.
public static SetStateDescription ( this item, StateDescription stateDescription ) : Item
item this The item.
stateDescription StateDescription The state description.
return Item

SetTags() public static method

Sets the tags.
public static SetTags ( this item, string tags ) : Item
item this The widget.
tags string The tags.
return Item

SetType() public static method

Sets the type.
public static SetType ( this item, string type ) : Item
item this The item.
type string The type.
return Item