C# Class Kreyos.Classes.Components.DeviceData

Show file 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 static property

public static string FONT_BOLD
return string

FONT_NORMAL public static 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 static property

public static string STATUS_CONNECTED
return string

STATUS_CONNECTING public static property

public static string STATUS_CONNECTING
return string

STATUS_DISCONNECTED public static property

public static string STATUS_DISCONNECTED
return string

STATUS_NEUTRAL public static property

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