示例#1
0
 public async Task Initialize()
 {
     State = DroneState.Landed;
     motorCommandsCounter = 1;
     simpleCommandsCounter = 1;
     emergencyCommandsCounter = 1;
     Network = new NetworkAl();
     await Network.Initialize();
     Network.SomethingChanged += OnHandle_SomethingChanged;
 }
示例#2
0
        public async Task Initialize()
        {
            State = DroneState.Landed;
            motorCommandsCounter     = 1;
            simpleCommandsCounter    = 1;
            emergencyCommandsCounter = 1;
            Network = new NetworkAl();
            await Network.Initialize();

            Network.SomethingChanged += OnHandle_SomethingChanged;
        }