public bool TryUnlink(Device device) { _iteInteropService.WaitHandle.WaitOne(); _iteInteropService.ItePow_RemoteMode(device.Address); _iteInteropService.ItePow_SetOutputState(device.Address, "0"); _iteInteropService.WaitHandle.Set(); return(true); }
public bool TryUnlink(Device device) { _iteInteropService.WaitHandle.WaitOne(); _iteInteropService.ItePow_RemoteMode(device.Address); _iteInteropService.ItePow_SetOutputState(device.Address, "0"); _iteInteropService.WaitHandle.Set(); return(true); }