本文整理汇总了C#中ZWaveNode.SendRequest方法的典型用法代码示例。如果您正苦于以下问题:C# ZWaveNode.SendRequest方法的具体用法?C# ZWaveNode.SendRequest怎么用?C# ZWaveNode.SendRequest使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ZWaveNode
的用法示例。
在下文中一共展示了ZWaveNode.SendRequest方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Reset
public static void Reset(ZWaveNode node)
{
node.SendRequest(new byte[] {
(byte)CommandClass.Meter,
(byte)Command.MeterReset
});
}
示例2: GetOperatingState
public static void GetOperatingState(ZWaveNode node)
{
node.SendRequest(new byte[] {
(byte)CommandClass.ThermostatOperatingState,
(byte)Command.BasicGet
});
}
示例3: Get
public static void Get(ZWaveNode node)
{
node.SendRequest(new byte[] {
(byte)CommandClass.SensorMultilevel,
(byte)Command.SensorMultilevelGet
});
}
示例4: Get
public static void Get(ZWaveNode node)
{
node.SendRequest(new byte[] {
(byte)CommandClass.ThermostatFanMode,
(byte)Command.BasicGet
});
}
示例5: Get
public static void Get(ZWaveNode node)
{
node.SendRequest(new byte[] {
(byte)CommandClass.SensorBinary,
(byte)Command.SensorBinaryGet
});
}
示例6: GetSupported
public static void GetSupported(ZWaveNode node)
{
node.SendRequest(new byte[] {
(byte)CommandClass.Meter,
(byte)Command.MeterSupportedGet
});
}
示例7: Get
public static void Get(ZWaveNode node)
{
node.SendRequest(new byte[] {
(byte)CommandClass.WakeUp,
(byte)Command.WakeUpIntervalGet
});
}
示例8: Get
public static void Get(ZWaveNode node)
{
node.SendRequest(new byte[] {
(byte)CommandClass.DoorLock,
(byte)Command.DoorLockGet
});
}
示例9: Set
public static void Set(ZWaveNode node, Value mode)
{
node.SendRequest(new byte[] {
(byte)CommandClass.ThermostatFanMode,
(byte)Command.BasicSet,
(byte)mode
});
}
示例10: Get
public static void Get(ZWaveNode node, Value ptype)
{
node.SendRequest(new byte[] {
(byte)CommandClass.ThermostatSetPoint,
(byte)Command.ThermostatSetPointGet,
(byte)ptype
});
}
示例11: Get
public static void Get(ZWaveNode node, byte parameter)
{
node.SendRequest(new byte[] {
(byte)CommandClass.Configuration,
(byte)Command.ConfigurationGet,
parameter
});
}
示例12: GetCount
public static void GetCount(ZWaveNode node, byte commandClass)
{
node.SendRequest(new byte[] {
(byte) CommandClass.MultiInstance,
(byte) Command.MultiInstanceCountGet,
commandClass
});
}
示例13: Set
public static void Set(ZWaveNode node, int value)
{
node.SendRequest(new byte[] {
(byte)CommandClass.Basic,
(byte)Command.BasicSet,
byte.Parse(value.ToString())
});
}
示例14: Get
public static void Get(ZWaveNode node, byte groupId)
{
node.SendRequest(new byte[] {
(byte)CommandClass.Association,
(byte)Command.AssociationGet,
groupId
});
}
示例15: Get
public static void Get(ZWaveNode node, byte scaleType)
{
node.SendRequest(new byte[] {
(byte)CommandClass.Meter,
(byte)Command.MeterGet,
scaleType
});
}