Exemplo n.º 1
0
		public MaxStateAnalyzer(IMaxConnector maxConnector, MaxMerger maxMerger)
		{
			_maxMerger = maxMerger;

			maxConnector.Connected += (sender, args) => _maxCube = new MaxCube();
			maxConnector.MessageReceived += MaxConnector_MessageReceived;
		}
Exemplo n.º 2
0
		private IMaxStateAnalyzer CreateMaxStateAnalyzer(IMaxConnector maxConnector)
		{
			var maxMerger = new MaxMerger();
			return new MaxStateAnalyzer(maxConnector, maxMerger);
		}