예제 #1
0
 public void send_BeginControllerCommand(int _homeId, DriverControllerCommand _command, bool _highPower, sbyte _nodeId, sbyte _arg)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("BeginControllerCommand", TMessageType.Call, seqid_));
   BeginControllerCommand_args args = new BeginControllerCommand_args();
   args._homeId = _homeId;
   args._command = _command;
   args._highPower = _highPower;
   args._nodeId = _nodeId;
   args._arg = _arg;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
예제 #2
0
      public bool BeginControllerCommand(int _homeId, DriverControllerCommand _command, bool _highPower, sbyte _nodeId, sbyte _arg)
      {
        #if !SILVERLIGHT
        send_BeginControllerCommand(_homeId, _command, _highPower, _nodeId, _arg);
        return recv_BeginControllerCommand();

        #else
        var asyncResult = Begin_BeginControllerCommand(null, null, _homeId, _command, _highPower, _nodeId, _arg);
        return End_BeginControllerCommand(asyncResult);

        #endif
      }
예제 #3
0
 public IAsyncResult send_BeginControllerCommand(AsyncCallback callback, object state, int _homeId, DriverControllerCommand _command, bool _highPower, sbyte _nodeId, sbyte _arg)
예제 #4
0
 public IAsyncResult Begin_BeginControllerCommand(AsyncCallback callback, object state, int _homeId, DriverControllerCommand _command, bool _highPower, byte _nodeId, byte _arg)
 {
   return send_BeginControllerCommand(callback, state, _homeId, _command, _highPower, _nodeId, _arg);
 }