Exemplo n.º 1
0
        public static PointPairList[] GetDiagramOfTransformation(GlobalUnit unit, StrategyEnums strategyType)
        {
            PointPairList[] graphArrays = new PointPairList[2];

            unit.SetDACNewWeights();
            graphArrays[0] = unit.dacInst.GetCharacteristicOfTransformationStraitComb();
            unit.CalibrationsOfDAC(strategyType);
            graphArrays[1] = unit.dacInst.GetCharacteristicOfTransformationStraitComb();

            return(graphArrays);
        }
Exemplo n.º 2
0
        public static PointPairList[] GetDiagramOfTransformationOfAllStrategies(GlobalUnit unit)
        {
            PointPairList[] graphArrays = new PointPairList[4];

            unit.SetDACNewWeights();
            graphArrays[0] = unit.dacInst.GetCharacteristicOfTransformationStraitComb();
            unit.CalibrationsOfDAC(StrategyEnums.First);
            graphArrays[1] = unit.dacInst.GetCharacteristicOfTransformationStraitComb();
            unit.CalibrationsOfDAC(StrategyEnums.Second);
            graphArrays[2] = unit.dacInst.GetCharacteristicOfTransformationStraitComb();
            unit.CalibrationsOfDAC(StrategyEnums.Third);
            graphArrays[3] = unit.dacInst.GetCharacteristicOfTransformationStraitComb();

            return(graphArrays);
        }