当前位置: 首页>>代码示例>>Java>>正文


Java AuxSensorProperties类代码示例

本文整理汇总了Java中com.digitaldan.jomnilinkII.MessageTypes.properties.AuxSensorProperties的典型用法代码示例。如果您正苦于以下问题:Java AuxSensorProperties类的具体用法?Java AuxSensorProperties怎么用?Java AuxSensorProperties使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


AuxSensorProperties类属于com.digitaldan.jomnilinkII.MessageTypes.properties包,在下文中一共展示了AuxSensorProperties类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: readAuxProperties

import com.digitaldan.jomnilinkII.MessageTypes.properties.AuxSensorProperties; //导入依赖的package包/类
/**
 * Read the properties of a Auxiliary sensor
 * @param number of Auxiliary sensor
 * @return AuxSensorProperties of Auxiliary sensor or null if not found
 * @throws IOException
 * @throws OmniNotConnectedException
 * @throws OmniInvalidResponseException
 * @throws OmniUnknownMessageTypeException
 */
private AuxSensorProperties readAuxProperties(int number)
		throws IOException, OmniNotConnectedException,
		OmniInvalidResponseException, OmniUnknownMessageTypeException {

	Message m = c.reqObjectProperties(Message.OBJ_TYPE_AUX_SENSOR,
			number, 0, ObjectProperties.FILTER_1_NAMED,
			ObjectProperties.FILTER_2_AREA_ALL,
			ObjectProperties.FILTER_3_ANY_LOAD);
	if (m.getMessageType() == Message.MESG_TYPE_OBJ_PROP) {
		return ((AuxSensorProperties) m);
	}
	return null;
}
 
开发者ID:andrey-desman,项目名称:openhab-hdl,代码行数:23,代码来源:OmniLinkBinding.java

示例2: readAuxProperties

import com.digitaldan.jomnilinkII.MessageTypes.properties.AuxSensorProperties; //导入依赖的package包/类
/**
 * Read the properties of a Auxiliary sensor
 *
 * @param number of Auxiliary sensor
 * @return AuxSensorProperties of Auxiliary sensor or null if not found
 * @throws IOException
 * @throws OmniNotConnectedException
 * @throws OmniInvalidResponseException
 * @throws OmniUnknownMessageTypeException
 */
private AuxSensorProperties readAuxProperties(int number) throws IOException, OmniNotConnectedException,
        OmniInvalidResponseException, OmniUnknownMessageTypeException {

    Message m = c.reqObjectProperties(Message.OBJ_TYPE_AUX_SENSOR, number, 0, ObjectProperties.FILTER_1_NAMED,
            ObjectProperties.FILTER_2_AREA_ALL, ObjectProperties.FILTER_3_ANY_LOAD);
    if (m.getMessageType() == Message.MESG_TYPE_OBJ_PROP) {
        return ((AuxSensorProperties) m);
    }
    return null;
}
 
开发者ID:openhab,项目名称:openhab1-addons,代码行数:21,代码来源:OmniLinkBinding.java

示例3: Auxiliary

import com.digitaldan.jomnilinkII.MessageTypes.properties.AuxSensorProperties; //导入依赖的package包/类
public Auxiliary(AuxSensorProperties properties, boolean celius) {
	this.properties = properties;
	this.celsius = celius;
}
 
开发者ID:andrey-desman,项目名称:openhab-hdl,代码行数:5,代码来源:Auxiliary.java

示例4: getProperties

import com.digitaldan.jomnilinkII.MessageTypes.properties.AuxSensorProperties; //导入依赖的package包/类
@Override
public AuxSensorProperties getProperties() {
	return properties;
}
 
开发者ID:andrey-desman,项目名称:openhab-hdl,代码行数:5,代码来源:Auxiliary.java

示例5: setProperties

import com.digitaldan.jomnilinkII.MessageTypes.properties.AuxSensorProperties; //导入依赖的package包/类
public void setProperties(AuxSensorProperties properties) {
	this.properties = properties;
}
 
开发者ID:andrey-desman,项目名称:openhab-hdl,代码行数:4,代码来源:Auxiliary.java

示例6: Auxiliary

import com.digitaldan.jomnilinkII.MessageTypes.properties.AuxSensorProperties; //导入依赖的package包/类
public Auxiliary(AuxSensorProperties properties, boolean celius) {
    this.properties = properties;
    this.celsius = celius;
}
 
开发者ID:openhab,项目名称:openhab1-addons,代码行数:5,代码来源:Auxiliary.java

示例7: getProperties

import com.digitaldan.jomnilinkII.MessageTypes.properties.AuxSensorProperties; //导入依赖的package包/类
@Override
public AuxSensorProperties getProperties() {
    return properties;
}
 
开发者ID:openhab,项目名称:openhab1-addons,代码行数:5,代码来源:Auxiliary.java

示例8: setProperties

import com.digitaldan.jomnilinkII.MessageTypes.properties.AuxSensorProperties; //导入依赖的package包/类
public void setProperties(AuxSensorProperties properties) {
    this.properties = properties;
}
 
开发者ID:openhab,项目名称:openhab1-addons,代码行数:4,代码来源:Auxiliary.java


注:本文中的com.digitaldan.jomnilinkII.MessageTypes.properties.AuxSensorProperties类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。