當前位置: 首頁>>代碼示例>>C#>>正文


C# OpenZWave.RemoteValueID類代碼示例

本文整理匯總了C#中OpenZWave.RemoteValueID的典型用法代碼示例。如果您正苦於以下問題:C# RemoteValueID類的具體用法?C# RemoteValueID怎麽用?C# RemoteValueID使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


RemoteValueID類屬於OpenZWave命名空間,在下文中一共展示了RemoteValueID類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: GetSwitchPoint

      public GetSwitchPointReturnStruct GetSwitchPoint(RemoteValueID _id, sbyte _idx)
      {
        #if !SILVERLIGHT
        send_GetSwitchPoint(_id, _idx);
        return recv_GetSwitchPoint();

        #else
        var asyncResult = Begin_GetSwitchPoint(null, null, _id, _idx);
        return End_GetSwitchPoint(asyncResult);

        #endif
      }
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:12,代碼來源:RemoteManager.cs

示例2: Begin_SetSceneValueListSelection_Int32

 public IAsyncResult Begin_SetSceneValueListSelection_Int32(AsyncCallback callback, object state, sbyte _sceneId, RemoteValueID _valueId, int _value)
 {
   return send_SetSceneValueListSelection_Int32(callback, state, _sceneId, _valueId, _value);
 }
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:4,代碼來源:RemoteManager.cs

示例3: send_SetSceneValueListSelection_Int32

 public IAsyncResult send_SetSceneValueListSelection_Int32(AsyncCallback callback, object state, sbyte _sceneId, RemoteValueID _valueId, int _value)
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:1,代碼來源:RemoteManager.cs

示例4: send_SetSceneValue_Int16

 public IAsyncResult send_SetSceneValue_Int16(AsyncCallback callback, object state, sbyte _sceneId, RemoteValueID _valueId, short _value)
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:1,代碼來源:RemoteManager.cs

示例5: SetSceneValue_String

      public bool SetSceneValue_String(sbyte _sceneId, RemoteValueID _valueId, string _value)
      {
        #if !SILVERLIGHT
        send_SetSceneValue_String(_sceneId, _valueId, _value);
        return recv_SetSceneValue_String();

        #else
        var asyncResult = Begin_SetSceneValue_String(null, null, _sceneId, _valueId, _value);
        return End_SetSceneValue_String(asyncResult);

        #endif
      }
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:12,代碼來源:RemoteManager.cs

示例6: send_SetSceneValue_Bool

 public IAsyncResult send_SetSceneValue_Bool(AsyncCallback callback, object state, sbyte _sceneId, RemoteValueID _valueId, bool _value)
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:1,代碼來源:RemoteManager.cs

示例7: SetSceneValue_Float

      public bool SetSceneValue_Float(sbyte _sceneId, RemoteValueID _valueId, double _value)
      {
        #if !SILVERLIGHT
        send_SetSceneValue_Float(_sceneId, _valueId, _value);
        return recv_SetSceneValue_Float();

        #else
        var asyncResult = Begin_SetSceneValue_Float(null, null, _sceneId, _valueId, _value);
        return End_SetSceneValue_Float(asyncResult);

        #endif
      }
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:12,代碼來源:RemoteManager.cs

示例8: send_AddSceneValue_Int16

 public void send_AddSceneValue_Int16(sbyte _sceneId, RemoteValueID _valueId, short _value)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("AddSceneValue_Int16", TMessageType.Call, seqid_));
   AddSceneValue_Int16_args args = new AddSceneValue_Int16_args();
   args._sceneId = _sceneId;
   args._valueId = _valueId;
   args._value = _value;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:16,代碼來源:RemoteManager.cs

示例9: send_AddSceneValue_String

 public IAsyncResult send_AddSceneValue_String(AsyncCallback callback, object state, sbyte _sceneId, RemoteValueID _valueId, string _value)
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:1,代碼來源:RemoteManager.cs

示例10: Begin_AddSceneValue_Int16

 public IAsyncResult Begin_AddSceneValue_Int16(AsyncCallback callback, object state, sbyte _sceneId, RemoteValueID _valueId, short _value)
 {
   return send_AddSceneValue_Int16(callback, state, _sceneId, _valueId, _value);
 }
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:4,代碼來源:RemoteManager.cs

示例11: AddSceneValue_Int16

      public bool AddSceneValue_Int16(sbyte _sceneId, RemoteValueID _valueId, short _value)
      {
        #if !SILVERLIGHT
        send_AddSceneValue_Int16(_sceneId, _valueId, _value);
        return recv_AddSceneValue_Int16();

        #else
        var asyncResult = Begin_AddSceneValue_Int16(null, null, _sceneId, _valueId, _value);
        return End_AddSceneValue_Int16(asyncResult);

        #endif
      }
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:12,代碼來源:RemoteManager.cs

示例12: send_AddSceneValue_Int32

 public IAsyncResult send_AddSceneValue_Int32(AsyncCallback callback, object state, sbyte _sceneId, RemoteValueID _valueId, int _value)
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:1,代碼來源:RemoteManager.cs

示例13: send_GetSwitchPoint

 public void send_GetSwitchPoint(RemoteValueID _id, sbyte _idx)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("GetSwitchPoint", TMessageType.Call, seqid_));
   GetSwitchPoint_args args = new GetSwitchPoint_args();
   args._id = _id;
   args._idx = _idx;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:15,代碼來源:RemoteManager.cs

示例14: Begin_SceneGetValueListSelection_String

 public IAsyncResult Begin_SceneGetValueListSelection_String(AsyncCallback callback, object state, sbyte _sceneId, RemoteValueID _valueId)
 {
   return send_SceneGetValueListSelection_String(callback, state, _sceneId, _valueId);
 }
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:4,代碼來源:RemoteManager.cs

示例15: Begin_RemoveSceneValue

 public IAsyncResult Begin_RemoveSceneValue(AsyncCallback callback, object state, sbyte _sceneId, RemoteValueID _valueId)
 {
   return send_RemoveSceneValue(callback, state, _sceneId, _valueId);
 }
開發者ID:OpenZWave,項目名稱:Thrift4OZW,代碼行數:4,代碼來源:RemoteManager.cs


注:本文中的OpenZWave.RemoteValueID類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。