コード例 #1
0
 public RobotContext()
 {
     _data = new RobotData();
     _controller = new RobotController(_data);
     _data.PropertyChanged += _data_PropertyChanged;
 }
コード例 #2
0
 public RobotController(RobotData data)
 {
     _data = data;
     _brick = new Brick(new BluetoothCommunication());
     _brick.BrickChanged += _brick_BrickChanged;
 }