Ejemplo n.º 1
0
 public void send_SetSwitchPoint(RemoteValueID _id, sbyte _hours, sbyte _minutes, sbyte _setback)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("SetSwitchPoint", TMessageType.Call, seqid_));
   SetSwitchPoint_args args = new SetSwitchPoint_args();
   args._id = _id;
   args._hours = _hours;
   args._minutes = _minutes;
   args._setback = _setback;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 2
0
 public void SetSwitchPoint_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SetSwitchPoint_args args = new SetSwitchPoint_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SetSwitchPoint_result result = new SetSwitchPoint_result();
   result.Success = iface_.SetSwitchPoint(args._id, args._hours, args._minutes, args._setback);
   oprot.WriteMessageBegin(new TMessage("SetSwitchPoint", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }