C# Класс openhabUWP.Remote.Models.ItemFluent

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
IsItem ( this item, string type ) : bool

Determines whether the specified type is item.

Описание методов

IsColorItem() публичный статический Метод

Determines whether [is color item].
public static IsColorItem ( this item ) : bool
item this The item.
Результат bool

IsContactItem() публичный статический Метод

Determines whether [is contact item].
public static IsContactItem ( this item ) : bool
item this The item.
Результат bool

IsDateTimeItem() публичный статический Метод

Determines whether [is date time item].
public static IsDateTimeItem ( this item ) : bool
item this The item.
Результат bool

IsDimmerItem() публичный статический Метод

Determines whether [is dimmer item].
public static IsDimmerItem ( this item ) : bool
item this The item.
Результат bool

IsGroupItem() публичный статический Метод

Determines whether [is group item].
public static IsGroupItem ( this item ) : bool
item this The item.
Результат bool

IsLocationItem() публичный статический Метод

Determines whether [is location item].
public static IsLocationItem ( this item ) : bool
item this The item.
Результат bool

IsNumberItem() публичный статический Метод

Determines whether [is number item].
public static IsNumberItem ( this item ) : bool
item this The item.
Результат bool

IsRollershutterItem() публичный статический Метод

Determines whether [is rollershutter item].
public static IsRollershutterItem ( this item ) : bool
item this The item.
Результат bool

IsSwitchItem() публичный статический Метод

Determines whether [is switch item].
public static IsSwitchItem ( this item ) : bool
item this The item.
Результат bool

SetCategory() публичный статический Метод

Sets the category.
public static SetCategory ( this item, string category ) : Item
item this The item.
category string The category.
Результат Item

SetGroupNames() публичный статический Метод

Sets the group names.
public static SetGroupNames ( this item, string groupNames ) : Item
item this The widget.
groupNames string The group names.
Результат Item

SetIcon() публичный статический Метод

Sets the icon.
public static SetIcon ( this item, string icon ) : Item
item this The item.
icon string The icon.
Результат Item

SetLabel() публичный статический Метод

Sets the label.
public static SetLabel ( this item, string label ) : Item
item this The item.
label string The label.
Результат Item

SetLink() публичный статический Метод

Sets the link.
public static SetLink ( this item, string link ) : Item
item this The item.
link string The link.
Результат Item

SetName() публичный статический Метод

Sets the name.
public static SetName ( this item, string name ) : Item
item this The item.
name string The name.
Результат Item

SetState() публичный статический Метод

Sets the state.
public static SetState ( this item, string state ) : Item
item this The item.
state string The state.
Результат Item

SetStateDescription() публичный статический Метод

Sets the state description.
public static SetStateDescription ( this item, StateDescription stateDescription ) : Item
item this The item.
stateDescription StateDescription The state description.
Результат Item

SetTags() публичный статический Метод

Sets the tags.
public static SetTags ( this item, string tags ) : Item
item this The widget.
tags string The tags.
Результат Item

SetType() публичный статический Метод

Sets the type.
public static SetType ( this item, string type ) : Item
item this The item.
type string The type.
Результат Item