public StabilityDevice() { Port.RxEvent += PortOnRxEvent; _mode = StabilityParseMode.ParseData; CurrAdcVals = new double[4]; WeightKoefs = MainConfig.WeightKoefs; zeroAdcVals = MainConfig.ZeroAdcVals; ExchangeConfig = MainConfig.ExchangeConfig; WeightDoubles = new double[4]; }
public StabilityDevice() { Port.RxEvent+=PortOnRxEvent; _mode = StabilityParseMode.ParseData; CurrAdcVals = new double[4]; WeightKoefs = MainConfig.WeightKoefs; zeroAdcVals = MainConfig.ZeroAdcVals; ExchangeConfig = MainConfig.ExchangeConfig; WeightDoubles = new double[4]; }