//Device public ManagedEVSdk.Structs.EVDeviceCli[] GetDevices(ManagedEVSdk.Structs.EV_DEVICE_TYPE_CLI type) { _log.InfoFormat("GetDevices: {0}", type); EVDeviceCli[] devices = this.EVSdkWrapper.EVEngineGetDevices(type); _log.InfoFormat("GetDevices done, size:{0}", devices.Length); return(devices); }
public ManagedEVSdk.Structs.EVDeviceCli GetDevice(ManagedEVSdk.Structs.EV_DEVICE_TYPE_CLI type) { _log.InfoFormat("GetDevice: {0}", type); EVDeviceCli device = this.EVSdkWrapper.EVEngineGetDevice(type); _log.Info("GetDevice done"); return(device); }
public void SetDevice(ManagedEVSdk.Structs.EV_DEVICE_TYPE_CLI type, uint id) { _log.InfoFormat("SetDevice, type={0}, id={1}", type, id); this.EVSdkWrapper.EVEngineSetDevice(type, id); _log.Info("SetDevice done"); }