public ChannelSend(ChannelSend src) { targetIndex = new IntParameter(src.targetIndex); targetType = new EnumParameter <ChannelType>(src.targetType); level = new DoubleParameter(src.level); on = new BoolParameter(src.on); }
public ChannelRouting(int index) { busIndex = index; on = false; if (index == -1) { on = true; } }
public ChannelSend(int index, ChannelType type) { targetIndex = index; targetType = type; level = 0; level.Min = -99; level.Max = 10; on = true; }
public override void CopyValueFrom(Parameter p, bool copyMinMax = true) { IntParameter src = (IntParameter)p; this.value = src.value; if (copyMinMax) { this.max = src.max; this.min = src.min; } this.Enabled = src.Enabled; this.MultipleValues = src.MultipleValues; }
public ChannelRouting(ChannelRouting src) { busIndex = new IntParameter(src.busIndex); on = new BoolParameter(src.on); }
public IntParameter(IntParameter src) : base(src) { this.value = src.value; this.max = src.max; this.min = src.min; }