Ejemplo n.º 1
0
 //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);
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 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");
 }