public DeviceEntity (String serial, String name, Boolean online) { this.Serial = serial; this.Name = name; this.Online = online; this.Control = DeviceControlEnum.Normal; }
/// <summary> /// Set Device's Action /// </summary> /// <param name="deviceControl"></param> /// <param name="callback"></param> public static void ControlSetDeviceAction(DeviceControlEnum deviceControl, Action <int> callback) { PXR_Plugin.System.UPxr_ControlSetDeviceAction(deviceControl, callback); }
public DeviceEntity () { this.Control = DeviceControlEnum.Normal; }
protected override void Deserialize() { ControlCommand = (DeviceControlEnum)DataPacket[1]; }