public ComplexRadioModel(double inSv, double inPv, double outPv, double rpv, RadioFormula formula, double correctionValue, double unitFactor = 1, double interval = 1) { this.InSV = inSv; this.InPV = inPv; this.OutPV = outPv; this.RPV = rpv; this.Interval = interval; this.CorrectionValue = correctionValue; this.UniFactor = unitFactor; this.FormulaEnable = true; this.RadioFormula = formula; if (this.RadioFormula != null) { this.ScaleFactor = this.RadioFormula.RFun(this.InPV); } }
public ComplexRadioModel(double inSv, double inPv, double outPv, double rpv, RadioFormula formula, double correctionValue, double min, double max, double unitFactor = 1, double interval = 1) : this(inSv, inPv, outPv, rpv, formula, correctionValue, unitFactor, interval) { this.Minimum = min; this.Maximum = max; this.EnableAdjust = true; }