示例#1
0
        public MainWindow()
        {
            InitializeComponent();
            AccubatteryController accubatteryController = new AccubatteryController();
            DoorControllers       doorControllers       = new DoorControllers();

            nextCar = new Car();
            nextCar.setAccubatteryController(accubatteryController);
            nextCar.setDoorController(doorControllers);
        }
示例#2
0
文件: Car.cs 项目: derihan/NextCar
 public void setAccubatteryController(AccubatteryController accubatteryController)
 {
     this.accubatteryController = accubatteryController;
 }