public static void SetUShortValues(this CrestronDeviceWithEvents device, IEnumerable <KeyValuePair <string, ushort> > values, bool repropagate) { var ii = device.UShortInput; foreach (var v in values) { ii.SetValue(v.Key, v.Value, repropagate); } }
void cde_SigChange(CrestronDeviceWithEvents currentDevice, SigEventArgs args) { if (SigChange != null) { SigChange(this, new UnifiedSigEventArgs(args)); } OnSigChange(args); }
public static void SetStringValues(this CrestronDeviceWithEvents device, IEnumerable <KeyValuePair <string, string> > values, bool repropagate) { var si = device.StringInput; foreach (var v in values) { si.SetValue(v.Key, repropagate, v.Value); } }
public static void SetFalse(this CrestronDeviceWithEvents device, string name) { device.BooleanInput[name].BoolValue = false; }
public static void SetFalse(this CrestronDeviceWithEvents device, uint index) { device.BooleanInput[index].BoolValue = false; }
public static void CreateRampWithEvent(this CrestronDeviceWithEvents device, string name, ushort finalRampValue, uint timeToRampIn10msIntervals, RampChangeHandler changeHandler) { CreateRampWithEvent(device.UShortInput, name, finalRampValue, timeToRampIn10msIntervals, changeHandler); }
public static string GetStringInputValue(this CrestronDeviceWithEvents device, uint index) { return(device.StringInput[index].StringValue); }
public static void StopRamp(this CrestronDeviceWithEvents device, uint index) { device.UShortInput[index].StopRamp(); }
public static void Pulse(this CrestronDeviceWithEvents device, uint index, int msTimeBetweenTransition) { device.BooleanInput[index].Pulse(msTimeBetweenTransition); }
public static void SetStringValue(this CrestronDeviceWithEvents device, string name, bool repropagate, string value) { device.StringInput.SetValue(name, repropagate, value); }
public static void SetStringValue(this CrestronDeviceWithEvents device, uint index, string format, params object[] args) { device.StringInput.SetValue(index, format, args); }
public static void SetValue(this CrestronDeviceWithEvents device, string name, bool value) { device.SetBoolValue(name, value); }
public static void SetStringValue(this CrestronDeviceWithEvents device, uint index, string value) { device.StringInput.SetValue(index, value); }
public static void SetValue(this CrestronDeviceWithEvents device, uint index, bool value) { device.SetBoolValue(index, value); }
public static void SetValue(this CrestronDeviceWithEvents device, string name, ushort value) { device.SetUShortValue(name, value); }
public static void StopRamp(this CrestronDeviceWithEvents device, string name) { device.UShortInput[name].StopRamp(); }
public static void Pulse(this CrestronDeviceWithEvents device, uint index) { device.BooleanInput[index].Pulse(); }
public static void SetStringValue(this CrestronDeviceWithEvents device, string name, bool repropagate, string format, params object[] args) { device.StringInput.SetValue(name, repropagate, format, args); }
public static void Pulse(this CrestronDeviceWithEvents device, string name) { device.BooleanInput[name].Pulse(); }
public static bool GetBooleanOutputValue(this CrestronDeviceWithEvents device, uint index) { return(device.BooleanOutput[index].BoolValue); }
public static void Pulse(this CrestronDeviceWithEvents device, string name, int msTimeBetweenTransition) { device.BooleanInput[name].Pulse(msTimeBetweenTransition); }
public static ushort GetUShortOutputValue(this CrestronDeviceWithEvents device, uint index) { return(device.UShortOutput[index].UShortValue); }
public static void SetUShortValue(this CrestronDeviceWithEvents device, uint index, ushort value) { device.UShortInput.SetValue(index, value); }
public static void CreateRamp(this CrestronDeviceWithEvents device, string name, ushort finalRampValue, uint timeToRampIn10msIntervals) { device.UShortInput[name].CreateRamp(finalRampValue, timeToRampIn10msIntervals); }
public static bool GetBooleanOutputValue(this CrestronDeviceWithEvents device, string name) { return(device.BooleanOutput[name].BoolValue); }
public static void SetUShortValue(this CrestronDeviceWithEvents device, string name, ushort value, bool repropagate) { device.UShortInput.SetValue(name, value, repropagate); }
public static ushort GetUShortOutputValue(this CrestronDeviceWithEvents device, string name) { return(device.UShortOutput[name].UShortValue); }
public static void SetBoolValue(this CrestronDeviceWithEvents device, uint index, bool value) { device.BooleanInput[index].BoolValue = value; }
public static string GetStringInputValue(this CrestronDeviceWithEvents device, string name) { return(device.StringInput[name].StringValue); }
public static void SetBoolValue(this CrestronDeviceWithEvents device, string name, bool value) { device.BooleanInput[name].BoolValue = value; }