public AnalogSignal(TypesOfSignalEnum type_of_signal, SignalParametrs signalParam)
        {
            currentX = 0.0;

            switch (type_of_signal)
            {
            case TypesOfSignalEnum.KxB:
                gen = new YkxGenerator(signalParam);
                break;

            case TypesOfSignalEnum.SinX:
                gen = new SinXGenerator(signalParam);
                break;

            default:
                break;
            }
        }
 public YkxGenerator(SignalParametrs param)
 {
     this.param = param as LineParametrs;
 }
Beispiel #3
0
 public SinXGenerator(SignalParametrs param)
 {
     this.param = param as SinXParemetrs;
 }