C# Class Kreyos.Classes.Components.DeviceData

Exibir arquivo Open project: kreyosopensource/KreyosWP Class Usage Examples

Public Properties

Property Type Description
FONT_BOLD string
FONT_NORMAL string
STATUS_CONNECTED string
STATUS_CONNECTING string
STATUS_DISCONNECTED string
STATUS_NEUTRAL string

Public Methods

Method Description
DeviceData ( string p_name ) : System
DeviceFromIndex ( List p_list, int p_index ) : DeviceData
DeviceFromName ( List p_list, string p_name ) : DeviceData
UpdateStatus ( EDevice p_status ) : void

Method Details

DeviceData() public method

public DeviceData ( string p_name ) : System
p_name string
return System

DeviceFromIndex() public static method

public static DeviceFromIndex ( List p_list, int p_index ) : DeviceData
p_list List
p_index int
return DeviceData

DeviceFromName() public static method

public static DeviceFromName ( List p_list, string p_name ) : DeviceData
p_list List
p_name string
return DeviceData

UpdateStatus() public method

public UpdateStatus ( EDevice p_status ) : void
p_status EDevice
return void

Property Details

FONT_BOLD public_oe static_oe property

public static string FONT_BOLD
return string

FONT_NORMAL public_oe static_oe property

Device Label Font Weight STATUS. the data is binded to the Template of Bluetooth screen
public static string FONT_NORMAL
return string

STATUS_CONNECTED public_oe static_oe property

public static string STATUS_CONNECTED
return string

STATUS_CONNECTING public_oe static_oe property

public static string STATUS_CONNECTING
return string

STATUS_DISCONNECTED public_oe static_oe property

public static string STATUS_DISCONNECTED
return string

STATUS_NEUTRAL public_oe static_oe property

Device status data. the data is binded to the Template of Bluetooth screen
public static string STATUS_NEUTRAL
return string