public Program() { _målingContainer = new MålingContainer(); _dataContainer = new DataContainer(); _ifilter = new RawFilter(); _BTcontroller = new BTMålerController(_målingContainer); _dataqueue = new ConcurrentQueue <Bufferblock>(); _producer = new DataProducer(_dataqueue); DL = new DataController(_producer); _kalib = new Kalibrering(DL); _UdKal = new UdregnKalibrering(); _consumer = new Consumer(_dataqueue, _ifilter, _dataContainer, _BTcontroller, _UdKal); LL = new LogikController(DL, _consumer, _dataContainer, _kalib); PL = new PresentationLayerController(LL, _dataContainer, _målingContainer); PL.startUpGUI(); }
public Converter(BTMålerController BTMålerController, UdregnKalibrering UdKal) { _BTMålerController = BTMålerController; _UdKal = UdKal; }
public Consumer(ConcurrentQueue <Bufferblock> dataQueue, IFilter iFilter, DataContainer DCT, BTMålerController BTMålerController, UdregnKalibrering UdKal) { Ifilter = iFilter; _dataQueue = dataQueue; _dct = DCT; convert = new Converter(BTMålerController, UdKal); filter = new Filter(iFilter, _dct); }