Exemple #1
0
 public override void Dispose()
 {
     DataProcessModule.Dispose();
     SummaryModule.Dispose();
     FilterModule.Dispose();
     base.Dispose();
 }
Exemple #2
0
        public override void BuildModule()
        {
            uint devID = ((IDeviceInfo)Owner).DevID;

            ChannelDriver = new Channel429DriverRx(devID, ChannelID);

            object baudRateValue = App.Instance.ConfigManager.GetParameter(this.Path + "_BaudRate");

            if (baudRateValue != null)
            {
                BaudRate = (int)baudRateValue;
            }
            rxpA429Result = new RxpA429()
            {
                timestamp = 0,
                data      = 0
            };
            DataProcessModule = new DataProcessModule(this);
            SummaryModule     = new SummaryModule(this);
            FilterModule      = new FilterModule(this);
            GetGatherParam();
        }