当前位置: 首页>>代码示例>>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;未经允许,请勿转载。