Ejemplo n.º 1
0
 /// <summary> Sets up the data transformer. </summary>
 /// <param name="Output"> The underlying output whose values should be transformed. </param>
 /// <param name="RangeTransform"> The mathematical expression to use when transforming range information (Output to Parent). </param>
 /// <param name="OutputTransform"> The mathematical expression to use when transforming output value information (Parent to Output). </param>
 public AnalogueOutTransform(IAnalogueOut Output, TransformTypes.DoubleTransform RangeTransform, TransformTypes.DoubleTransform OutputTransform)
 {
     this.Range  = RangeTransform;
     this.Output = OutputTransform;
     this.Base   = Output;
 }
Ejemplo n.º 2
0
 public LTC6992(IAnalogueOut Input)
 {
     this.Input   = Input;
     this.Enabled = false;
     this.Value   = 0;
 }