Exemplo n.º 1
0
        protected override void AddRequestHandlers()
        {
            RequestDict.Add(BluetoothCommands.Start, new BluetoothRequestStart());
            RequestDict.Add(BluetoothCommands.Image, new BluetoothRequestImage());
            RequestDict.Add(BluetoothCommands.Status, new BluetoothRequestStatus());

            var tmpHandler = new BluetoothRequestTrack();

            RequestDict.Add(BluetoothCommands.TrackLine, tmpHandler);
            RequestDict.Add(BluetoothCommands.TrackTurn, tmpHandler);
            RequestDict.Add(BluetoothCommands.TrackArcLeft, tmpHandler);
            RequestDict.Add(BluetoothCommands.TrackArcRight, tmpHandler);
        }
Exemplo n.º 2
0
 protected override void AddRequestHandlers()
 {
     RequestDict.Add(HttpClient.ReturnReport, new HttpRequest());
 }