Exemplo n.º 1
0
 public static ushort GetUShortValue(this DeviceUShortInputCollection inputs, string name)
 {
     return(inputs[name].UShortValue);
 }
Exemplo n.º 2
0
 public static void SetValue(this DeviceUShortInputCollection inputs, string name, ushort value, bool repropagate)
 {
     inputs[name].SetValue(value, repropagate);
 }
Exemplo n.º 3
0
 public static ushort GetUShortValue(this DeviceUShortInputCollection inputs, uint index)
 {
     return(inputs[index].UShortValue);
 }
Exemplo n.º 4
0
 public static void SetValue(this DeviceUShortInputCollection inputs, uint index, ushort value, bool repropagate)
 {
     inputs[index].SetValue(value, repropagate);
 }
Exemplo n.º 5
0
 public static void StopRamp(this DeviceUShortInputCollection inputs, string name)
 {
     inputs[name].StopRamp();
 }
Exemplo n.º 6
0
 public static void StopRamp(this DeviceUShortInputCollection inputs, uint index)
 {
     inputs[index].StopRamp();
 }
Exemplo n.º 7
0
 public static void CreateRamp(this DeviceUShortInputCollection inputs, string name, ushort finalRampValue, uint timeToRampIn10msIntervals)
 {
     inputs[name].CreateRamp(finalRampValue, timeToRampIn10msIntervals);
 }
Exemplo n.º 8
0
 public static void CreateRampWithEvent(this DeviceUShortInputCollection inputs, string name, ushort finalRampValue, uint timeToRampIn10msIntervals, RampChangeHandler changeHandler)
 {
     CreateRampWithEvent(inputs[name], finalRampValue, timeToRampIn10msIntervals, changeHandler);
 }