Compare commits
No commits in common. "f3cca74a55f7295943b76e71f2f9dea4965d55bc" and "772a423717223c2f96afa1fba9a82d8de153abc6" have entirely different histories.
f3cca74a55
...
772a423717
|
|
@ -1,224 +0,0 @@
|
|||
package com.yanzhu.system.domain;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.yanzhu.common.core.annotation.Excel;
|
||||
import com.yanzhu.common.core.annotation.Excel.ColumnType;
|
||||
import com.yanzhu.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* LED屏配置对象 sys_ledscreen
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-12-31
|
||||
*/
|
||||
public class SysLedscreen extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 项目ID */
|
||||
@Excel(name = "项目ID")
|
||||
private Long projectId;
|
||||
|
||||
/** 分区ID */
|
||||
@Excel(name = "分区ID")
|
||||
private Long workareaId;
|
||||
|
||||
/** 设备名称 */
|
||||
@Excel(name = "设备名称")
|
||||
private String deviceName;
|
||||
|
||||
/** 设备序列号 */
|
||||
@Excel(name = "设备序列号")
|
||||
private String deviceSn;
|
||||
|
||||
/** 宽 */
|
||||
@Excel(name = "宽")
|
||||
private Long width;
|
||||
|
||||
/** 高 */
|
||||
@Excel(name = "高")
|
||||
private Long height;
|
||||
|
||||
/** 频率(秒) */
|
||||
@Excel(name = "频率(秒)")
|
||||
private Long frequency;
|
||||
|
||||
/** LED绘图模式 */
|
||||
@Excel(name = "LED绘图模式")
|
||||
private Long drawType;
|
||||
|
||||
/** 标题 */
|
||||
@Excel(name = "标题")
|
||||
private String title;
|
||||
|
||||
/** 启停1-启用 0-停用 */
|
||||
@Excel(name = "启停1-启用 0-停用")
|
||||
private Long enabled;
|
||||
|
||||
|
||||
private boolean isOnline;
|
||||
|
||||
public boolean isOnline() {
|
||||
return isOnline;
|
||||
}
|
||||
|
||||
public void setOnline(boolean online) {
|
||||
isOnline = online;
|
||||
}
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Long isDel;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private Long state;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setProjectId(Long projectId)
|
||||
{
|
||||
this.projectId = projectId;
|
||||
}
|
||||
|
||||
public Long getProjectId()
|
||||
{
|
||||
return projectId;
|
||||
}
|
||||
public void setWorkareaId(Long workareaId)
|
||||
{
|
||||
this.workareaId = workareaId;
|
||||
}
|
||||
|
||||
public Long getWorkareaId()
|
||||
{
|
||||
return workareaId;
|
||||
}
|
||||
public void setDeviceName(String deviceName)
|
||||
{
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceName()
|
||||
{
|
||||
return deviceName;
|
||||
}
|
||||
public void setDeviceSn(String deviceSn)
|
||||
{
|
||||
this.deviceSn = deviceSn;
|
||||
}
|
||||
|
||||
public String getDeviceSn()
|
||||
{
|
||||
return deviceSn;
|
||||
}
|
||||
public void setWidth(Long width)
|
||||
{
|
||||
this.width = width;
|
||||
}
|
||||
|
||||
public Long getWidth()
|
||||
{
|
||||
return width;
|
||||
}
|
||||
public void setHeight(Long height)
|
||||
{
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public Long getHeight()
|
||||
{
|
||||
return height;
|
||||
}
|
||||
public void setFrequency(Long frequency)
|
||||
{
|
||||
this.frequency = frequency;
|
||||
}
|
||||
|
||||
public Long getFrequency()
|
||||
{
|
||||
return frequency;
|
||||
}
|
||||
public void setDrawType(Long drawType)
|
||||
{
|
||||
this.drawType = drawType;
|
||||
}
|
||||
|
||||
public Long getDrawType()
|
||||
{
|
||||
return drawType;
|
||||
}
|
||||
public void setTitle(String title)
|
||||
{
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getTitle()
|
||||
{
|
||||
return title;
|
||||
}
|
||||
public void setEnabled(Long enabled)
|
||||
{
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
public Long getEnabled()
|
||||
{
|
||||
return enabled;
|
||||
}
|
||||
public void setIsDel(Long isDel)
|
||||
{
|
||||
this.isDel = isDel;
|
||||
}
|
||||
|
||||
public Long getIsDel()
|
||||
{
|
||||
return isDel;
|
||||
}
|
||||
public void setState(Long state)
|
||||
{
|
||||
this.state = state;
|
||||
}
|
||||
|
||||
public Long getState()
|
||||
{
|
||||
return state;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("projectId", getProjectId())
|
||||
.append("workareaId", getWorkareaId())
|
||||
.append("deviceName", getDeviceName())
|
||||
.append("deviceSn", getDeviceSn())
|
||||
.append("width", getWidth())
|
||||
.append("height", getHeight())
|
||||
.append("frequency", getFrequency())
|
||||
.append("drawType", getDrawType())
|
||||
.append("title", getTitle())
|
||||
.append("enabled", getEnabled())
|
||||
.append("isDel", getIsDel())
|
||||
.append("state", getState())
|
||||
.append("remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,69 +0,0 @@
|
|||
package com.yanzhu.system.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.yanzhu.system.domain.SysLedscreen;
|
||||
|
||||
/**
|
||||
* LED屏配置Mapper接口
|
||||
*
|
||||
* @author yanzhu
|
||||
* @date 2025-12-31
|
||||
*/
|
||||
public interface SysLedscreenMapper
|
||||
{
|
||||
/**
|
||||
* 查询LED屏配置
|
||||
*
|
||||
* @param id LED屏配置主键
|
||||
* @return LED屏配置
|
||||
*/
|
||||
public SysLedscreen selectSysLedscreenById(Long id);
|
||||
|
||||
/**
|
||||
* 查询LED屏配置列表
|
||||
*
|
||||
* @param sysLedscreen LED屏配置
|
||||
* @return LED屏配置集合
|
||||
*/
|
||||
public List<SysLedscreen> selectSysLedscreenList(SysLedscreen sysLedscreen);
|
||||
|
||||
/**
|
||||
* 新增LED屏配置
|
||||
*
|
||||
* @param sysLedscreen LED屏配置
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertSysLedscreen(SysLedscreen sysLedscreen);
|
||||
|
||||
/**
|
||||
* 修改LED屏配置
|
||||
*
|
||||
* @param sysLedscreen LED屏配置
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSysLedscreen(SysLedscreen sysLedscreen);
|
||||
|
||||
/**
|
||||
* 删除LED屏配置
|
||||
*
|
||||
* @param id LED屏配置主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSysLedscreenById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除LED屏配置
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteSysLedscreenByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 根据设备序列号更新LED屏配置
|
||||
*
|
||||
* @param sysLedscreen LED屏配置
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateSysLedscreenByDeviceSn(SysLedscreen sysLedscreen);
|
||||
}
|
||||
|
|
@ -1,159 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.yanzhu.system.mapper.SysLedscreenMapper">
|
||||
|
||||
<resultMap type="SysLedscreen" id="SysLedscreenResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="projectId" column="project_id" />
|
||||
<result property="workareaId" column="workarea_id" />
|
||||
<result property="deviceName" column="device_name" />
|
||||
<result property="deviceSn" column="device_sn" />
|
||||
<result property="width" column="width" />
|
||||
<result property="height" column="height" />
|
||||
<result property="frequency" column="frequency" />
|
||||
<result property="drawType" column="draw_type" />
|
||||
<result property="title" column="title" />
|
||||
<result property="enabled" column="enabled" />
|
||||
<result property="isDel" column="is_del" />
|
||||
<result property="state" column="state" />
|
||||
<result property="isOnline" column="is_online" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectSysLedscreenVo">
|
||||
select id, project_id, workarea_id, device_name, device_sn, width, height, frequency, draw_type, title, enabled, is_del, state, is_online, remark, create_by, create_time, update_by, update_time from sys_ledscreen
|
||||
</sql>
|
||||
|
||||
<select id="selectSysLedscreenList" parameterType="SysLedscreen" resultMap="SysLedscreenResult">
|
||||
<include refid="selectSysLedscreenVo"/>
|
||||
<where>
|
||||
<if test="projectId != null "> and project_id = #{projectId}</if>
|
||||
<if test="workareaId != null "> and workarea_id = #{workareaId}</if>
|
||||
<if test="deviceName != null and deviceName != ''"> and device_name like concat('%', #{deviceName}, '%')</if>
|
||||
<if test="deviceSn != null and deviceSn != ''"> and device_sn = #{deviceSn}</if>
|
||||
<if test="width != null "> and width = #{width}</if>
|
||||
<if test="height != null "> and height = #{height}</if>
|
||||
<if test="frequency != null "> and frequency = #{frequency}</if>
|
||||
<if test="drawType != null "> and draw_type = #{drawType}</if>
|
||||
<if test="title != null and title != ''"> and title = #{title}</if>
|
||||
<if test="enabled != null "> and enabled = #{enabled}</if>
|
||||
<if test="isDel != null "> and is_del = #{isDel}</if>
|
||||
<if test="state != null "> and state = #{state}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectSysLedscreenById" parameterType="Long" resultMap="SysLedscreenResult">
|
||||
<include refid="selectSysLedscreenVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertSysLedscreen" parameterType="SysLedscreen">
|
||||
insert into sys_ledscreen
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">id,</if>
|
||||
<if test="projectId != null">project_id,</if>
|
||||
<if test="workareaId != null">workarea_id,</if>
|
||||
<if test="deviceName != null">device_name,</if>
|
||||
<if test="deviceSn != null">device_sn,</if>
|
||||
<if test="width != null">width,</if>
|
||||
<if test="height != null">height,</if>
|
||||
<if test="frequency != null">frequency,</if>
|
||||
<if test="drawType != null">draw_type,</if>
|
||||
<if test="title != null">title,</if>
|
||||
<if test="enabled != null">enabled,</if>
|
||||
<if test="isDel != null">is_del,</if>
|
||||
<if test="state != null">state,</if>
|
||||
<if test="isOnline != null">is_online,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
<if test="projectId != null">#{projectId},</if>
|
||||
<if test="workareaId != null">#{workareaId},</if>
|
||||
<if test="deviceName != null">#{deviceName},</if>
|
||||
<if test="deviceSn != null">#{deviceSn},</if>
|
||||
<if test="width != null">#{width},</if>
|
||||
<if test="height != null">#{height},</if>
|
||||
<if test="frequency != null">#{frequency},</if>
|
||||
<if test="drawType != null">#{drawType},</if>
|
||||
<if test="title != null">#{title},</if>
|
||||
<if test="enabled != null">#{enabled},</if>
|
||||
<if test="isDel != null">#{isDel},</if>
|
||||
<if test="state != null">#{state},</if>
|
||||
<if test="isOnline != null">#{isOnline},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateSysLedscreen" parameterType="SysLedscreen">
|
||||
update sys_ledscreen
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="projectId != null">project_id = #{projectId},</if>
|
||||
<if test="workareaId != null">workarea_id = #{workareaId},</if>
|
||||
<if test="deviceName != null">device_name = #{deviceName},</if>
|
||||
<if test="deviceSn != null">device_sn = #{deviceSn},</if>
|
||||
<if test="width != null">width = #{width},</if>
|
||||
<if test="height != null">height = #{height},</if>
|
||||
<if test="frequency != null">frequency = #{frequency},</if>
|
||||
<if test="drawType != null">draw_type = #{drawType},</if>
|
||||
<if test="title != null">title = #{title},</if>
|
||||
<if test="enabled != null">enabled = #{enabled},</if>
|
||||
<if test="isDel != null">is_del = #{isDel},</if>
|
||||
<if test="state != null">state = #{state},</if>
|
||||
<if test="isOnline != null">is_online = #{isOnline},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteSysLedscreenById" parameterType="Long">
|
||||
delete from sys_ledscreen where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteSysLedscreenByIds" parameterType="String">
|
||||
delete from sys_ledscreen where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<update id="updateSysLedscreenByDeviceSn" parameterType="SysLedscreen">
|
||||
update sys_ledscreen
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="projectId != null">project_id = #{projectId},</if>
|
||||
<if test="workareaId != null">workarea_id = #{workareaId},</if>
|
||||
<if test="deviceName != null">device_name = #{deviceName},</if>
|
||||
<if test="width != null">width = #{width},</if>
|
||||
<if test="height != null">height = #{height},</if>
|
||||
<if test="frequency != null">frequency = #{frequency},</if>
|
||||
<if test="drawType != null">draw_type = #{drawType},</if>
|
||||
<if test="title != null">title = #{title},</if>
|
||||
<if test="enabled != null">enabled = #{enabled},</if>
|
||||
<if test="isDel != null">is_del = #{isDel},</if>
|
||||
<if test="state != null">state = #{state},</if>
|
||||
<if test="isOnline != null">is_online = #{isOnline},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
</trim>
|
||||
where device_sn = #{deviceSn}
|
||||
</update>
|
||||
</mapper>
|
||||
|
|
@ -15,7 +15,6 @@
|
|||
<module>yanzhu-file</module>
|
||||
<module>yanzhu-manage</module>
|
||||
<module>yanzhu-flowable</module>
|
||||
<module>yanzhu-led</module>
|
||||
</modules>
|
||||
|
||||
<artifactId>yanzhu-modules</artifactId>
|
||||
|
|
|
|||
|
|
@ -1,81 +0,0 @@
|
|||
<dependency>
|
||||
<groupId>com.lib.bx05</groupId>
|
||||
<artifactId>com.lib.bx05</artifactId>
|
||||
<version>0.5.0-SNAPSHOT</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/bx05-0.5.0-SNAPSHOT.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lib.bx</groupId>
|
||||
<artifactId>com.lib.bx</artifactId>
|
||||
<version>0.5.1-SNAPSHOT</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/bx05.message-0.5.0-SNAPSHOT.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lib.bx2</groupId>
|
||||
<artifactId>com.lib.bx2</artifactId>
|
||||
<version>0.5.1-SNAPSHOT2</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/uia-message-0.6.0.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lib.bx4</groupId>
|
||||
<artifactId>com.lib.bx4</artifactId>
|
||||
<version>0.5.1-SNAPSHOT4</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/bx05-0.5.0-SNAPSHOT-javadoc.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lib.bx5</groupId>
|
||||
<artifactId>com.lib.bx5</artifactId>
|
||||
<version>0.5.1-SNAPSHOT5</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/rxtx-2.1.7.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lib.bx6</groupId>
|
||||
<artifactId>com.lib.bx6</artifactId>
|
||||
<version>0.5.1-SNAPSHOT6</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/RXTXcomm.jar</systemPath>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>com.lib.bx7</groupId>
|
||||
<artifactId>com.lib.bx7</artifactId>
|
||||
<version>0.5.1-SNAPSHOT7</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/simple-xml-2.7.1.jar</systemPath>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.lib.bx8</groupId>
|
||||
<artifactId>com.lib.bx8</artifactId>
|
||||
<version>0.5.1-SNAPSHOT8</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/stax-1.2.0.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lib.bx9</groupId>
|
||||
<artifactId>com.lib.bx9</artifactId>
|
||||
<version>0.5.1-SNAPSHOT9</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/stax-api-1.0.1.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lib.bx11</groupId>
|
||||
<artifactId>com.lib.bx11</artifactId>
|
||||
<version>0.5.1-SNAPSHOT11</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/uia-comm-0.5.1.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lib.bx12</groupId>
|
||||
<artifactId>com.lib.bx12</artifactId>
|
||||
<version>0.5.1-SNAPSHOT12</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/uia-utils-0.2.0.jar</systemPath>
|
||||
</dependency>
|
||||
|
|
@ -1 +0,0 @@
|
|||
LED
|
||||
Binary file not shown.
|
|
@ -1,149 +0,0 @@
|
|||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
public class BxUtils {
|
||||
|
||||
public enum ENDIAN {LITTLE, BIG}
|
||||
|
||||
private static final int[] crc16_table = new int[] {
|
||||
0X0000, 0XC0C1, 0XC181, 0X0140, 0XC301, 0X03C0, 0X0280, 0XC241,
|
||||
0XC601, 0X06C0, 0X0780, 0XC741, 0X0500, 0XC5C1, 0XC481, 0X0440,
|
||||
0XCC01, 0X0CC0, 0X0D80, 0XCD41, 0X0F00, 0XCFC1, 0XCE81, 0X0E40,
|
||||
0X0A00, 0XCAC1, 0XCB81, 0X0B40, 0XC901, 0X09C0, 0X0880, 0XC841,
|
||||
0XD801, 0X18C0, 0X1980, 0XD941, 0X1B00, 0XDBC1, 0XDA81, 0X1A40,
|
||||
0X1E00, 0XDEC1, 0XDF81, 0X1F40, 0XDD01, 0X1DC0, 0X1C80, 0XDC41,
|
||||
0X1400, 0XD4C1, 0XD581, 0X1540, 0XD701, 0X17C0, 0X1680, 0XD641,
|
||||
0XD201, 0X12C0, 0X1380, 0XD341, 0X1100, 0XD1C1, 0XD081, 0X1040,
|
||||
0XF001, 0X30C0, 0X3180, 0XF141, 0X3300, 0XF3C1, 0XF281, 0X3240,
|
||||
0X3600, 0XF6C1, 0XF781, 0X3740, 0XF501, 0X35C0, 0X3480, 0XF441,
|
||||
0X3C00, 0XFCC1, 0XFD81, 0X3D40, 0XFF01, 0X3FC0, 0X3E80, 0XFE41,
|
||||
0XFA01, 0X3AC0, 0X3B80, 0XFB41, 0X3900, 0XF9C1, 0XF881, 0X3840,
|
||||
0X2800, 0XE8C1, 0XE981, 0X2940, 0XEB01, 0X2BC0, 0X2A80, 0XEA41,
|
||||
0XEE01, 0X2EC0, 0X2F80, 0XEF41, 0X2D00, 0XEDC1, 0XEC81, 0X2C40,
|
||||
0XE401, 0X24C0, 0X2580, 0XE541, 0X2700, 0XE7C1, 0XE681, 0X2640,
|
||||
0X2200, 0XE2C1, 0XE381, 0X2340, 0XE101, 0X21C0, 0X2080, 0XE041,
|
||||
0XA001, 0X60C0, 0X6180, 0XA141, 0X6300, 0XA3C1, 0XA281, 0X6240,
|
||||
0X6600, 0XA6C1, 0XA781, 0X6740, 0XA501, 0X65C0, 0X6480, 0XA441,
|
||||
0X6C00, 0XACC1, 0XAD81, 0X6D40, 0XAF01, 0X6FC0, 0X6E80, 0XAE41,
|
||||
0XAA01, 0X6AC0, 0X6B80, 0XAB41, 0X6900, 0XA9C1, 0XA881, 0X6840,
|
||||
0X7800, 0XB8C1, 0XB981, 0X7940, 0XBB01, 0X7BC0, 0X7A80, 0XBA41,
|
||||
0XBE01, 0X7EC0, 0X7F80, 0XBF41, 0X7D00, 0XBDC1, 0XBC81, 0X7C40,
|
||||
0XB401, 0X74C0, 0X7580, 0XB541, 0X7700, 0XB7C1, 0XB681, 0X7640,
|
||||
0X7200, 0XB2C1, 0XB381, 0X7340, 0XB101, 0X71C0, 0X7080, 0XB041,
|
||||
0X5000, 0X90C1, 0X9181, 0X5140, 0X9301, 0X53C0, 0X5280, 0X9241,
|
||||
0X9601, 0X56C0, 0X5780, 0X9741, 0X5500, 0X95C1, 0X9481, 0X5440,
|
||||
0X9C01, 0X5CC0, 0X5D80, 0X9D41, 0X5F00, 0X9FC1, 0X9E81, 0X5E40,
|
||||
0X5A00, 0X9AC1, 0X9B81, 0X5B40, 0X9901, 0X59C0, 0X5880, 0X9841,
|
||||
0X8801, 0X48C0, 0X4980, 0X8941, 0X4B00, 0X8BC1, 0X8A81, 0X4A40,
|
||||
0X4E00, 0X8EC1, 0X8F81, 0X4F40, 0X8D01, 0X4DC0, 0X4C80, 0X8C41,
|
||||
0X4400, 0X84C1, 0X8581, 0X4540, 0X8701, 0X47C0, 0X4680, 0X8641,
|
||||
0X8201, 0X42C0, 0X4380, 0X8341, 0X4100, 0X81C1, 0X8081, 0X4040
|
||||
};
|
||||
|
||||
//
|
||||
// 将字节转换成short 型
|
||||
public static final short bytesToShort(byte[] src, int start, ENDIAN endian) {
|
||||
|
||||
short result = 0;
|
||||
|
||||
if(endian == ENDIAN.LITTLE) {
|
||||
result = src[start+1];
|
||||
result <<= 8;
|
||||
result |= (((short)src[start]) & 0x00ff);
|
||||
}
|
||||
else {
|
||||
result = src[start];
|
||||
result <<= 8;
|
||||
result |= (((short)src[start+1]) & 0x00ff);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 用于对数据哉进行校验的 CRC16 算法
|
||||
* @param data 将要进行CRC16校验的原始数据
|
||||
* @return 校验值
|
||||
* @note none
|
||||
*/
|
||||
public static short CRC16(byte[] data, int offset, int length) {
|
||||
|
||||
int crc = 0x0000;
|
||||
|
||||
int a, b;
|
||||
byte d0;
|
||||
|
||||
for(int i=0; i<length; i++) {
|
||||
//crc = (short)(((crc) >> 8 ) ^ crc16_table[((crc) ^ (d0)) & 0xFF]);
|
||||
|
||||
d0 = data[offset+i];
|
||||
|
||||
a = (crc ^ d0) & 0xff;
|
||||
b = crc16_table[a];
|
||||
crc = (crc >> 8);
|
||||
crc = crc ^ b;
|
||||
}
|
||||
|
||||
return (short)(crc & 0xffff);
|
||||
}
|
||||
|
||||
/**
|
||||
* 用于对数据哉进行校验的 CRC16 算法
|
||||
* @param data 将要进行CRC16校验的原始数据
|
||||
* @return 校验值
|
||||
* @note none
|
||||
*/
|
||||
public static byte calcXorCrc(byte[] data, int len) {
|
||||
|
||||
byte crc = 0x00;
|
||||
|
||||
for(int i = 0; i<len; i++) {
|
||||
crc ^= data[i];
|
||||
}
|
||||
|
||||
return crc;
|
||||
}
|
||||
|
||||
public static String dateToString(Date model) {
|
||||
//
|
||||
SimpleDateFormat ft;
|
||||
ft = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
return (ft.format(model));
|
||||
}
|
||||
|
||||
public static Date dateFromString(String data) {
|
||||
|
||||
SimpleDateFormat ft;
|
||||
Date model;
|
||||
|
||||
if(data != null) {
|
||||
ft = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
try {
|
||||
model = ft.parse(data);
|
||||
} catch (ParseException e) {
|
||||
e.printStackTrace();
|
||||
//
|
||||
// 返回当时间
|
||||
model = new Date(System.currentTimeMillis());
|
||||
}
|
||||
}
|
||||
else {
|
||||
model = new Date(System.currentTimeMillis());
|
||||
}
|
||||
|
||||
return model;
|
||||
}
|
||||
|
||||
public static short byteSwap(short src) {
|
||||
|
||||
short result;
|
||||
|
||||
result = (short) ((src >> 8) | (src << 8));
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,36 +0,0 @@
|
|||
log4j.rootLogger=ALL, console, system, error
|
||||
|
||||
# Pattern Layout Description
|
||||
# %c Category name C{n}
|
||||
# %C Class name c{n}
|
||||
# %d Time format like yyyy-MM-dd HH:mm:ss
|
||||
# %l Class name + Method + Line Number
|
||||
# %L Line Number
|
||||
# %m Log Message
|
||||
# %M Method Name
|
||||
# %t Thread Name
|
||||
# %n New line
|
||||
# %p Log level: FATAL > ERROR > WARN > INFO > DEBUG
|
||||
# %r Program Execution Time
|
||||
# %x NDC
|
||||
# %X MDC
|
||||
|
||||
#Console log file
|
||||
log4j.appender.console=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.console.Threshold=INFO
|
||||
log4j.appender.console.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.console.layout.ConversionPattern=%-5p %d{HH:mm:ss.SSS} %-55c - %m%n
|
||||
|
||||
#System log file
|
||||
log4j.appender.system=org.apache.log4j.DailyRollingFileAppender
|
||||
log4j.appender.system.Threshold=ALL
|
||||
log4j.appender.system.File=log/all_log.txt
|
||||
log4j.appender.system.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.system.layout.ConversionPattern=%-5p %d{HH:mm:ss} %-55c - %m%n
|
||||
|
||||
#Error log file
|
||||
log4j.appender.error=org.apache.log4j.DailyRollingFileAppender
|
||||
log4j.appender.error.Threshold=ERROR
|
||||
log4j.appender.error.File=log/err_log.txt
|
||||
log4j.appender.error.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.error.layout.ConversionPattern=%-5p %d{HH:mm:ss} %-50c %-20M %-5L - %m%n
|
||||
|
|
@ -1,412 +0,0 @@
|
|||
package onbon.bx05.tutorial;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GException;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.Bx5GScreenProfile;
|
||||
import onbon.bx05.area.DateStyle;
|
||||
import onbon.bx05.area.DateTimeBxArea;
|
||||
import onbon.bx05.area.TextCaptionBxArea;
|
||||
import onbon.bx05.area.TimeStyle;
|
||||
import onbon.bx05.area.page.TextBxPage;
|
||||
import onbon.bx05.cmd.dyn7.DynamicBxAreaRule;
|
||||
import onbon.bx05.file.BxFileWriterListener;
|
||||
import onbon.bx05.file.ProgramBxFile;
|
||||
import onbon.bx05.message.common.ErrorType;
|
||||
import onbon.bx05.message.led.ReturnControllerStatus;
|
||||
import onbon.bx05.utils.DisplayStyleFactory;
|
||||
import onbon.bx05.utils.DisplayStyleFactory.DisplayStyle;
|
||||
import onbon.bx05.utils.TextBinary;
|
||||
|
||||
public class BxClientDemo implements BxFileWriterListener<Bx5GScreen> {
|
||||
|
||||
/**
|
||||
* Demo code.
|
||||
* @param args Ignore
|
||||
* @throws Exception Something wrong.
|
||||
* @author Wang
|
||||
*/
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
int posX = 0;
|
||||
int posY = 0;
|
||||
|
||||
//
|
||||
// SDK 初始化
|
||||
//Bx5GEnv.initial("log.properties");
|
||||
Bx5GEnv.initial( 30000);
|
||||
|
||||
//
|
||||
// 5Q 系列控制器
|
||||
// Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen", new Bx5Q());
|
||||
|
||||
//
|
||||
// 其它控制器
|
||||
// 创建 screen 对象,用于对控制器进行访问
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
|
||||
//
|
||||
// 连接控制器
|
||||
// 其中, 192.168.88.199 为控制器的实际 IP,请根据实际情况填写。
|
||||
// 如你不知道控制器的 IP 是多少,请先使用 LEDSHOW TW 软件对控制器进行 IP 设置
|
||||
// 端口号默认为 5005
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
/*
|
||||
//
|
||||
//
|
||||
// 以下为显示屏参数的设置方法
|
||||
// !!!注意:显示屏参数只需要在显示屏第一次安装时使用一次即可。没有必要每次发送节目前都设置一次。
|
||||
ControllerConfigBxFile bxFile = new ControllerConfigBxFile();
|
||||
|
||||
bxFile.setControllerName("TEST1");
|
||||
//bxFile.setAddress(new byte[] { (byte) 0x00, 0x00 });
|
||||
|
||||
// 显示屏的宽度(单位:像素)
|
||||
bxFile.setScreenWidth(128);
|
||||
// 显示屏的高度(单位:像素)
|
||||
bxFile.setScreenHeight(96);
|
||||
// 将参数文件写入控制器
|
||||
screen.writeConfig(bxFile);
|
||||
// 通常参数配置完后,控制器会进行重启,需等待一段时间再对控制器进行操作
|
||||
Thread.sleep(5000);
|
||||
*/
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
//
|
||||
// 以下为一些简单控制命令的使用方法
|
||||
// 更多命令可以参考 Javadoc 中的 Bx5GScreen 类
|
||||
|
||||
//
|
||||
// 开关机
|
||||
screen.turnOff(); // 关机
|
||||
Thread.sleep(2000);
|
||||
screen.turnOn(); // 开机
|
||||
|
||||
// 校时
|
||||
screen.syncTime();
|
||||
|
||||
// 调整亮度
|
||||
// 亮度值 为 1- 16, 16级为最高亮度
|
||||
screen.manualBrightness((byte) 8); // 将屏幕亮度调整至 8
|
||||
Thread.sleep(2000);
|
||||
screen.manualBrightness((byte) 16); // 将屏幕亮度调整到 16
|
||||
// 设置为自动调亮
|
||||
// 注意!!!:此功能需要外接传感器
|
||||
// screen.sensorBrightness();
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 可以通过以下接口,回读控制器状态
|
||||
Bx5GScreen.Result<ReturnControllerStatus> result1 = screen.checkControllerStatus();
|
||||
if (result1.isOK()) {
|
||||
ReturnControllerStatus stauts = result1.reply;
|
||||
stauts.getBrightness();
|
||||
stauts.getRtcDay();
|
||||
stauts.getScreenOnOff();
|
||||
//
|
||||
// status 还有很多其它接口,可以根据实际需求在此调用以获取相应状态
|
||||
}
|
||||
else {
|
||||
ErrorType error = result1.getError();
|
||||
System.out.println(error);
|
||||
}
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 可以通过 screen 的 getProfile 方法获取控制器参数
|
||||
// 也可通过此方法验证控制器参数是否被正确设置
|
||||
Bx5GScreenProfile profile = screen.getProfile();
|
||||
org.apache.log4j.Logger.getLogger(BxClientDemo.class).info("screen width : " + profile.getWidth());
|
||||
org.apache.log4j.Logger.getLogger(BxClientDemo.class).info("screen height : " + profile.getHeight());
|
||||
|
||||
/*
|
||||
// !!! 注意 !!!
|
||||
// 如果想提高发送节目的效率
|
||||
// 且自己知道显示屏参数的情况下
|
||||
// 可以手动创建 profile 对象
|
||||
// screen.getProfile()此方式,是通过从控制器回读来自动创建profile的,使用方便
|
||||
// 但增加了PC与控制器之前的交互,从而使得发送效率降低
|
||||
profile = new Bx5GScreenProfile(128, 96);
|
||||
profile.setMatrixType(Bx5GScreenProfile.ScreenMatrixType.COLOR3BYTE);
|
||||
*/
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
//
|
||||
// 以下为创建节目的方法
|
||||
// 在以下DEMO中,将创建 P000 和 P001 两个节目
|
||||
//
|
||||
// 创建节目的通常过程如下:
|
||||
// 1. 创建一个 ProgramBxFile 对象(节目文件)
|
||||
// 2. 创建一个或多个 Area 对象(区域,可以是图文区,也可以是时间区等)
|
||||
// 3. 如果是图文区(TextCaptionBxArea), 可以创建 Page 对象,按页将文本或图片添加到Area中
|
||||
// 4. 将 Area 对象添加到节目中
|
||||
// 5. 使用 screen 对象将节目下发到控制器
|
||||
|
||||
//
|
||||
// 获取显示特技方式列表,此变量会下面用到
|
||||
// 关于 style 的定义,请参考 Javadoc 中,相关类(DisplayStyleFactory)的定义
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
for (DisplayStyle style : styles) {
|
||||
System.out.println(style);
|
||||
}
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 下面开始创建第一个节目,P009
|
||||
// 此节目包括只包括一个图文区, 图文区中包括两个数据页:一页文本,一页图片
|
||||
// 显示节目边框
|
||||
// 区域显示边框
|
||||
|
||||
// 创建节目文件
|
||||
ProgramBxFile p000 = new ProgramBxFile("P000", profile);
|
||||
// 是否显示节目边框
|
||||
p000.setFrameShow(true);
|
||||
// 节目边框的移动速度
|
||||
p000.setFrameSpeed(20);
|
||||
// 使用第几个内置边框
|
||||
p000.loadFrameImage(13);
|
||||
|
||||
// 创建一个文本区
|
||||
// 分别输入其X,Y,W,H
|
||||
// 屏幕左上角坐标为 (0, 0)
|
||||
// 注意区域坐标和宽高,不要越界
|
||||
TextCaptionBxArea tArea = new TextCaptionBxArea(posX, posY, 64, 32, screen.getProfile());
|
||||
// 使能区域边框
|
||||
tArea.setFrameShow(true);
|
||||
// 使用内置边框3
|
||||
tArea.loadFrameImage(3);
|
||||
|
||||
// 创建一个数据页,并希望显示 “P009” 这几个文字
|
||||
TextBxPage page = new TextBxPage("P000 - This is the first program!");
|
||||
// 对文本的处理是否自动换行
|
||||
// page.setLineBreak(true);
|
||||
// 设置文本水平对齐方式
|
||||
page.setHorizontalAlignment(TextBinary.Alignment.NEAR);
|
||||
// 设置文本垂直居中方式
|
||||
page.setVerticalAlignment(TextBinary.Alignment.CENTER);
|
||||
// 设置文本字体
|
||||
page.setFont(new Font("consolas", Font.PLAIN, 12)); // 字体
|
||||
// 设置文本颜色
|
||||
page.setForeground(Color.red);
|
||||
// 设置区域背景色,默认为黑色
|
||||
page.setBackground(Color.darkGray);
|
||||
// 调整特技方式
|
||||
page.setDisplayStyle(styles[0]);
|
||||
|
||||
// 调整特技速度
|
||||
page.setSpeed(10);
|
||||
//
|
||||
page.setHeadTailInterval(-2);
|
||||
// 调整停留时间, 单位 10ms
|
||||
page.setStayTime(0);
|
||||
|
||||
// 将前面创建的 page 添加到 area 中
|
||||
tArea.addPage(page);
|
||||
|
||||
// 再创建一个数据页,用于显示图片
|
||||
/**
|
||||
ImageFileBxPage iPage = new ImageFileBxPage("d:/1.png");
|
||||
// 调整特技方式
|
||||
iPage.setDisplayStyle(styles[1]);
|
||||
// 调整特技速度
|
||||
iPage.setSpeed(1);
|
||||
// 调整停留时间, 单位 10ms
|
||||
iPage.setStayTime(100);
|
||||
|
||||
// 将前面创建的 iPage 添加到 area 中
|
||||
tArea.addPage(iPage);
|
||||
*/
|
||||
|
||||
// 将 area 添加到节目中
|
||||
p000.addArea(tArea);
|
||||
|
||||
if (p000.validate() != null) {
|
||||
System.out.println("P000 out of range");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 下面开始创建第三个节目,P001
|
||||
// 此节目用于展示如何添加时间区
|
||||
// 此节目包括只包括一个时间区
|
||||
// 不显示节目边框
|
||||
// 区域显示边框
|
||||
|
||||
// 创建节目文件
|
||||
ProgramBxFile p001 = new ProgramBxFile("P001", profile);
|
||||
// 是否显示节目边框
|
||||
p001.setFrameShow(false);
|
||||
|
||||
//
|
||||
// 下面代码创建了一个时间区
|
||||
// 注意:只需要输入时间区的起始坐标,区域的宽度和高度SDK会根据字体和显示方式自动计算
|
||||
DateTimeBxArea dtArea = new DateTimeBxArea(posX, posY, screen.getProfile());
|
||||
// 设置字体
|
||||
dtArea.setFont(new Font("Arial", Font.PLAIN, 12));
|
||||
// 设置颜色
|
||||
dtArea.setColor(Color.red);
|
||||
// 多行显示还是单行显示
|
||||
dtArea.setMultiline(true);
|
||||
// 年月日的显示方式
|
||||
// 如果不显示,则设置为 null
|
||||
dtArea.setDateStyle(DateStyle.YYYY_MM_DD_1);
|
||||
dtArea.setTimeStyle(TimeStyle.HH_MM_SS_1);
|
||||
dtArea.setWeekStyle(null);
|
||||
|
||||
//
|
||||
// 注意时间区也可像P001中图文区那样设置背景或添加背景区域
|
||||
|
||||
// 将时间区添加到节目中
|
||||
p001.addArea(dtArea);
|
||||
if (p001.validate() != null) {
|
||||
System.out.println("P001 out of range");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 创建一个 list
|
||||
ArrayList<ProgramBxFile> plist = new ArrayList<ProgramBxFile>();
|
||||
plist.add(p000);
|
||||
plist.add(p001);
|
||||
|
||||
//
|
||||
screen.deletePrograms();
|
||||
screen.deleteAllDynamic();
|
||||
|
||||
//
|
||||
// 将节目文件发送到控制器
|
||||
// 发送节目有三种方式
|
||||
// 可以根据自己的需求进行选择
|
||||
|
||||
//
|
||||
// 1. writeProgramsAsync - 异步方式,即SDK会自己起线程来发送
|
||||
// 此时需传入 BxFileWriterListener
|
||||
// 可在相应的接口对相应的事件进行处理
|
||||
//screen.writeProgramsAsync(plist, new WriteProgramTextCaptionWithStyle());
|
||||
|
||||
//
|
||||
// 2. writePrograms - 同步方式,即SDK会BLOCK住一直等到节目发送完毕
|
||||
screen.writePrograms(plist);
|
||||
|
||||
//
|
||||
// 此方法通常不用
|
||||
// 3. 同步方式将节目写入控制器,本方法不做任何检查,从而提高发送效率
|
||||
//screen.writeProgramQuickly(pf);
|
||||
|
||||
Thread.sleep(20000);
|
||||
|
||||
//
|
||||
// 如何需要,可以从控制器回读控制器上已有的节目列表
|
||||
List<String> pgs = screen.readProgramList();
|
||||
for (String pg : pgs) {
|
||||
System.out.println(pg);
|
||||
}
|
||||
|
||||
//
|
||||
// 以下是动态区部分 Demo
|
||||
// 动态区的特点
|
||||
|
||||
// DynamicBxAreaRule(id, runMode, immediatePlay, timeout)
|
||||
// runMode 运行模式:
|
||||
// 0:循环显示。
|
||||
// 1:显示完成后静止显示最后一页数据。
|
||||
// 2:循环显示,超过设定时间后数据仍未更新时不再显示。
|
||||
// 3:循环显示,超过设定时间后数据仍未更新时显示 Logo 信息。
|
||||
// 4:循环显示,显示完最后一页后就不再显示。
|
||||
// immediatePlay 是否立即播放:
|
||||
// 0:与异步节目一起播放。
|
||||
// 1:异步节目停止播放,仅播放动态区域。
|
||||
// 2:当播放完节目编号最高的异步节目后播放该动态区域。
|
||||
|
||||
//
|
||||
// 定义一个动态区
|
||||
// 可以通过ID来更新不同的动态区内容, 此处 ID 为 0
|
||||
DynamicBxAreaRule dynRule = new DynamicBxAreaRule(0, (byte) 4, (byte) 1, 0);
|
||||
//dArea.addProgram("P000");
|
||||
//dArea.addProgram("P001");
|
||||
|
||||
TextCaptionBxArea dAreaContent = new TextCaptionBxArea(posX, posY, 64, 16, screen.getProfile());
|
||||
page = new TextBxPage("动态第一次尝试");
|
||||
page.setDisplayStyle(DisplayStyleFactory.getStyle(4));
|
||||
dAreaContent.addPage(page);
|
||||
|
||||
// 发送动态区之前,如果需要删除之前的动态区,可以调用以下接口
|
||||
// 通常如果动态区的位置或大小没有发生改变,不用删除
|
||||
screen.deleteAllDynamic();
|
||||
|
||||
// 更新动态区
|
||||
screen.writeDynamic(dynRule, dAreaContent);
|
||||
Thread.sleep(15000);
|
||||
|
||||
//
|
||||
// 下面模拟再次更新动态区
|
||||
page = new TextBxPage("再次尝试");
|
||||
TextBxPage page2 = new TextBxPage("成功");
|
||||
|
||||
dAreaContent.clearPages();
|
||||
dAreaContent.addPage(page);
|
||||
dAreaContent.addPage(page2);
|
||||
|
||||
// 更新动态区
|
||||
screen.writeDynamic(dynRule, dAreaContent);
|
||||
|
||||
//
|
||||
// 继开与控制器之间的链接
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx5GScreen bx6GScreen, String s, int i) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx5GScreen bx6GScreen, String s, int i) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx5GScreen bx6GScreen, String s, int i, int i1) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx5GScreen bx6GScreen, String s, Bx5GException e) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx5GScreen bx6GScreen) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
package onbon.bx05.tutorial.client;
|
||||
|
||||
import onbon.bx05.Bx5GBrightnessClockEnv;
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.cmd.led.ScreenTimingOnOffCmd;
|
||||
|
||||
public class SimpleCommand {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial( 15000);
|
||||
|
||||
//
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
screen.ping();
|
||||
screen.checkControllerStatus();
|
||||
screen.checkFirmware();
|
||||
screen.checkMemVolumes();
|
||||
screen.syncTime();
|
||||
screen.readControllerId();
|
||||
|
||||
//
|
||||
screen.checkHealth();
|
||||
screen.turnOff();
|
||||
screen.turnOn();
|
||||
screen.lock();
|
||||
screen.unlock();
|
||||
|
||||
//
|
||||
ScreenTimingOnOffCmd cmd1 = screen.createTimingOnOff();
|
||||
cmd1.addTime(10, 20, 11, 0);
|
||||
screen.setupTimingOnOff(cmd1);
|
||||
screen.cancelTimingOnOff();
|
||||
|
||||
//
|
||||
screen.manualBrightness((byte) 16);
|
||||
Bx5GBrightnessClockEnv env = new Bx5GBrightnessClockEnv();
|
||||
screen.clockBrightness(env);
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
package onbon.bx05.tutorial.client;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.file.ControllerConfigBxFile;
|
||||
|
||||
public class WriteConfiguration {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial();
|
||||
|
||||
//
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
screen.reset2Factory();
|
||||
Thread.sleep(2000);
|
||||
|
||||
//
|
||||
ControllerConfigBxFile bxFile = new ControllerConfigBxFile();
|
||||
bxFile.setControllerName("TEST1");
|
||||
bxFile.setAddress(new byte[] { (byte) 0xb0, 0x05 });
|
||||
bxFile.setScreenWidth(512);
|
||||
bxFile.setScreenHeight(80);
|
||||
screen.writeConfig(bxFile);
|
||||
Thread.sleep(4000);
|
||||
|
||||
//
|
||||
screen.checkControllerStatus();
|
||||
screen.checkFirmware();
|
||||
screen.checkMemVolumes();
|
||||
screen.checkHealth();
|
||||
screen.syncTime();
|
||||
screen.readControllerId();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
package onbon.bx05.tutorial.client;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GException;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.area.ClockBxArea;
|
||||
import onbon.bx05.file.BxFileWriterListener;
|
||||
import onbon.bx05.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramClock implements BxFileWriterListener<Bx5GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial();
|
||||
|
||||
//
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
program.addPlayPeriodSetting(10, 10, 0, 10, 12, 13);
|
||||
ClockBxArea area1 = new ClockBxArea(448, 10, 48, screen.getProfile());
|
||||
program.addArea(area1);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramClock());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx5GScreen owner, String fileName, Bx5GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx5GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx5GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
package onbon.bx05.tutorial.client;
|
||||
|
||||
import java.awt.Font;
|
||||
import java.util.Calendar;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GException;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.area.CounterBxArea;
|
||||
import onbon.bx05.area.unit.CounterBxUnit.CounterBxUnitFormat;
|
||||
import onbon.bx05.area.unit.CounterBxUnit.CounterBxUnitMode;
|
||||
import onbon.bx05.file.BxFileWriterListener;
|
||||
import onbon.bx05.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramCounter implements BxFileWriterListener<Bx5GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial();
|
||||
|
||||
//
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
|
||||
Calendar cal = Calendar.getInstance();
|
||||
cal.add(Calendar.DAY_OF_MONTH, 1);
|
||||
|
||||
CounterBxArea area1 = new CounterBxArea(448, 0, 64, 28, cal.getTime(), screen.getProfile());
|
||||
area1.setFont(new Font("Tohoma", Font.ITALIC, 24));
|
||||
area1.setMode(CounterBxUnitMode.D);
|
||||
area1.setFormat(new CounterBxUnitFormat(false, true, true, true));
|
||||
program.addArea(area1);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramCounter());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx5GScreen owner, String fileName, Bx5GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx5GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx5GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
package onbon.bx05.tutorial.client;
|
||||
|
||||
import java.awt.Font;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GException;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.area.DateStyle;
|
||||
import onbon.bx05.area.DateTimeBxArea;
|
||||
import onbon.bx05.area.TimeStyle;
|
||||
import onbon.bx05.area.WeekStyle;
|
||||
import onbon.bx05.file.BxFileWriterListener;
|
||||
import onbon.bx05.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramDateTime implements BxFileWriterListener<Bx5GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial();
|
||||
|
||||
//
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
|
||||
//
|
||||
DateTimeBxArea area1 = new DateTimeBxArea(448, 0, screen.getProfile());
|
||||
area1.setFont(new Font("宋体", Font.ITALIC, 16));
|
||||
area1.setDateStyle(DateStyle.YYYY_MM_DD_1);
|
||||
area1.setTimeStyle(TimeStyle.HH_MM_1);
|
||||
area1.setWeekStyle(WeekStyle.CHINESE);
|
||||
program.addArea(area1);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramDateTime());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx5GScreen owner, String fileName, Bx5GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx5GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx5GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
package onbon.bx05.tutorial.client;
|
||||
|
||||
import java.awt.Font;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GException;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.area.FestivalBxArea;
|
||||
import onbon.bx05.file.BxFileWriterListener;
|
||||
import onbon.bx05.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramFestival implements BxFileWriterListener<Bx5GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial();
|
||||
|
||||
//
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
|
||||
FestivalBxArea area1 = new FestivalBxArea(448, 0, 64, 28, screen.getProfile());
|
||||
area1.setFont(new Font("Tohoma", Font.ITALIC, 14));
|
||||
program.addArea(area1);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramFestival());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx5GScreen owner, String fileName, Bx5GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx5GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx5GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,80 +0,0 @@
|
|||
package onbon.bx05.tutorial.client;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GException;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.area.TextCaptionBxArea;
|
||||
import onbon.bx05.area.page.ImageFileBxPage;
|
||||
import onbon.bx05.area.page.TextBxPage;
|
||||
import onbon.bx05.area.page.TextFileBxPage;
|
||||
import onbon.bx05.file.BxFileWriterListener;
|
||||
import onbon.bx05.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramTextCaption implements BxFileWriterListener<Bx5GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial();
|
||||
|
||||
//
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
program.setFrameShow(true);
|
||||
program.setFrameSpeed(20);
|
||||
program.loadFrameImage(13);
|
||||
|
||||
//
|
||||
TextCaptionBxArea area = new TextCaptionBxArea(440, 0, 72, 32, screen.getProfile());
|
||||
area.setFrameShow(true);
|
||||
area.setFrameSpeed(20);
|
||||
area.loadFrameImage(13);
|
||||
|
||||
area.addPage(new TextBxPage("Hello World"));
|
||||
area.addPage(new TextFileBxPage("c:\\temp\\news.txt"));
|
||||
area.addPage(new ImageFileBxPage("c:\\temp\\news.png"));
|
||||
|
||||
//
|
||||
program.addArea(area);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramTextCaption());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx5GScreen owner, String fileName, Bx5GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx5GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx5GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
package onbon.bx05.tutorial.client;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GException;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.area.TextCaptionBxArea;
|
||||
import onbon.bx05.area.page.TextBxPage;
|
||||
import onbon.bx05.file.BxFileWriterListener;
|
||||
import onbon.bx05.file.ProgramBxFile;
|
||||
import onbon.bx05.utils.TextBinary.Alignment;
|
||||
|
||||
public class WriteProgramTextCaption2 implements BxFileWriterListener<Bx5GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial();
|
||||
|
||||
//
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
program.setFrameShow(true);
|
||||
program.setFrameSpeed(20);
|
||||
program.loadFrameImage(13);
|
||||
|
||||
//
|
||||
TextCaptionBxArea area = new TextCaptionBxArea(448, 0, 64, 32, screen.getProfile());
|
||||
area.setFrameShow(true);
|
||||
area.setFrameSpeed(20);
|
||||
area.loadFrameImage(13);
|
||||
|
||||
// code 1: using object
|
||||
TextBxPage page = new TextBxPage("ä»?麼啊!\n好阿\næ<6E>žä»€éº¼é¬¼æ<C2BC>±è¥¿");
|
||||
page.setHorizontalAlignment(Alignment.FAR);
|
||||
area.addPage(page);
|
||||
//
|
||||
program.addArea(area);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramTextCaption2());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx5GScreen owner, String fileName, Bx5GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx5GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx5GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
package onbon.bx05.tutorial.client;
|
||||
|
||||
import java.awt.Color;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GException;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.area.TextCaptionBxArea;
|
||||
import onbon.bx05.area.page.TextBxPage;
|
||||
import onbon.bx05.file.BxFileWriterListener;
|
||||
import onbon.bx05.file.ProgramBxFile;
|
||||
import onbon.bx05.utils.DisplayStyleFactory;
|
||||
import onbon.bx05.utils.DisplayStyleFactory.DisplayStyle;
|
||||
|
||||
public class WriteProgramTextCaptionWithStyle implements BxFileWriterListener<Bx5GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial();
|
||||
|
||||
//
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
}
|
||||
|
||||
// Style Object, reference java doc
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
//
|
||||
TextCaptionBxArea area = new TextCaptionBxArea(448, 0, 64, 32, screen.getProfile());
|
||||
area.setFrameShow(false);
|
||||
|
||||
TextBxPage page = new TextBxPage("What do you want to display");
|
||||
page.setLineBreak(true);
|
||||
page.setForeground(Color.GREEN);
|
||||
page.setDisplayStyle(styles[6]);
|
||||
area.addPage(page);
|
||||
|
||||
//
|
||||
ProgramBxFile pf = new ProgramBxFile("P000", screen.getProfile());
|
||||
pf.setFrameShow(true);
|
||||
pf.setFrameSpeed(20);
|
||||
pf.loadFrameImage(13);
|
||||
pf.addArea(area);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(pf, new WriteProgramTextCaptionWithStyle());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx5GScreen owner, String fileName, Bx5GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx5GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx5GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
package onbon.bx05.tutorial.client;
|
||||
|
||||
import java.awt.Font;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GException;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.area.TimerBxArea;
|
||||
import onbon.bx05.area.unit.TimerBxUnit.TimerBxUnitFormat;
|
||||
import onbon.bx05.area.unit.TimerBxUnit.TimerBxUnitMode;
|
||||
import onbon.bx05.file.BxFileWriterListener;
|
||||
import onbon.bx05.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramTimer implements BxFileWriterListener<Bx5GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial();
|
||||
|
||||
//
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient("MyScreen");
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
|
||||
TimerBxArea area1 = new TimerBxArea(448, 0, 64, 28, 100, screen.getProfile());
|
||||
area1.setFont(new Font("Tahoma", Font.ITALIC, 20));
|
||||
area1.setMode(TimerBxUnitMode.B);
|
||||
area1.setFormat(new TimerBxUnitFormat(false, false, true, false));
|
||||
program.addArea(area1);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramTimer());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx5GScreen owner, String fileName, Bx5GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx5GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx5GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx5GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
package onbon.bx05.tutorial.rs232;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GScreenRS;
|
||||
import onbon.bx05.Bx5GScreenRS.BaudRate;
|
||||
|
||||
public class SimpleCommand {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx5GEnv.initial();
|
||||
Bx5GEnv.initial();
|
||||
|
||||
//
|
||||
Bx5GScreenRS screen = new Bx5GScreenRS("MyScreen");
|
||||
if (!screen.connect("COM3", BaudRate.RATE_57600)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
screen.ping();
|
||||
screen.checkControllerStatus();
|
||||
screen.checkFirmware();
|
||||
screen.checkMemVolumes();
|
||||
screen.syncTime();
|
||||
screen.readControllerId();
|
||||
|
||||
//
|
||||
screen.checkHealth();
|
||||
screen.turnOff();
|
||||
screen.turnOn();
|
||||
screen.lock();
|
||||
screen.unlock();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
package onbon.bx05.tutorial.server;
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GServer;
|
||||
import onbon.bx05.Bx5GServerListener;
|
||||
|
||||
public class SimpleCommand {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// 初始化API
|
||||
Bx5GEnv.initial();
|
||||
|
||||
// 创建server 端口号8001
|
||||
Bx5GServer server = new Bx5GServer("TEST", 8001);
|
||||
|
||||
// 添加监听
|
||||
server.addListener(new ConnectionListener());
|
||||
|
||||
// 启动服务
|
||||
server.start();
|
||||
System.out.println("waiting...");
|
||||
|
||||
Thread.sleep(120000);
|
||||
|
||||
// 停止服务
|
||||
server.stop();
|
||||
System.out.println("done!");
|
||||
}
|
||||
|
||||
public static class ConnectionListener implements Bx5GServerListener {
|
||||
|
||||
@Override
|
||||
public void connected(String socketId, String netId, Bx5GScreen screen) {
|
||||
// 常用命令
|
||||
System.out.println(socketId + " online:" + netId);
|
||||
System.out.println("ping: " + screen.ping()); // PING 命令
|
||||
System.out.println("status: " + screen.checkControllerStatus()); // 查询控制器状态
|
||||
System.out.println("frimware: " + screen.checkFirmware()); // 查询固件状态
|
||||
System.out.println("id: " + screen.readControllerId()); // 读取控制器id
|
||||
|
||||
// TODO: 其他通讯
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disconnected(String socketId, String controllerAddr, Bx5GScreen screen) {
|
||||
// 断开连接
|
||||
|
||||
// TODO: <20><><EFBFBD><EFBFBD> screen <20>YӍ<59><D38D><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD>lϵ<6C>y<EFBFBD><79><EFBFBD>M<EFBFBD>Дྀ̎<E0BE80><CC8E>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,347 +0,0 @@
|
|||
/**
|
||||
* Created by admin on 2019/8/19.
|
||||
*/
|
||||
|
||||
import onbon.bx05.Bx5GEnv;
|
||||
import onbon.bx05.Bx5GScreen;
|
||||
import onbon.bx05.Bx5GScreenClient;
|
||||
import onbon.bx05.Bx5GScreenRS;
|
||||
import onbon.bx05.area.*;
|
||||
import onbon.bx05.area.page.ImageFileBxPage;
|
||||
import onbon.bx05.area.page.TextBxPage;
|
||||
import onbon.bx05.area.page.TextFileBxPage;
|
||||
import onbon.bx05.cmd.dyn7.DynamicBxAreaRule;
|
||||
import onbon.bx05.file.ProgramBxFile;
|
||||
import onbon.bx05.message.common.ErrorType;
|
||||
import onbon.bx05.message.led.ReturnControllerStatus;
|
||||
import onbon.bx05.utils.DisplayStyleFactory;
|
||||
import onbon.bx05.utils.DisplayStyleFactory.DisplayStyle;
|
||||
import java.awt.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @program: bx05_demo
|
||||
* @description:
|
||||
* @author: Mr.Feng
|
||||
* @create: 2019-08-19 10:58
|
||||
**/
|
||||
|
||||
// 此demo只用于五代控制卡,例如BX-5E1、BX-5M1等
|
||||
public class bx05_demo {
|
||||
private static String ip = "192.168.100.199";
|
||||
private static int port =5005;
|
||||
public static void main(String[] args)throws Exception
|
||||
{
|
||||
// 初始化API,此操作只在程序启动时候执行一次即可,多次执行会出现内存错误
|
||||
Bx5GEnv.initial(30000);
|
||||
SendDynamicProgam();
|
||||
}
|
||||
|
||||
// 将一个节目发送到控制器上并显示
|
||||
public static void SendProgram()throws Exception
|
||||
{
|
||||
// 关于显示特技
|
||||
// 0:随机显示
|
||||
// 1:静止显示
|
||||
// 2:快速打出
|
||||
// 3:向左移动
|
||||
// 4:向左连移
|
||||
// 5:向上移动
|
||||
// 6:向上连移
|
||||
// 7:闪烁
|
||||
// 8:飘雪
|
||||
// 9:冒泡
|
||||
// 10:中间移出
|
||||
// 11:左右移入
|
||||
// 12:左右交叉移入
|
||||
// 13:上下交叉移入
|
||||
// 14:花卷闭合
|
||||
// 15:花卷打开
|
||||
// 16:向左拉伸
|
||||
// 17:向右拉伸
|
||||
// 18:向上拉伸
|
||||
// 19:向下拉伸
|
||||
// 20:向左镭射
|
||||
// 21:向右镭射
|
||||
// 22:向上镭射
|
||||
// 23:向下镭射
|
||||
// 24:左右交叉拉幕
|
||||
// 25:上下交叉拉幕
|
||||
// 26:分散左拉
|
||||
// 27:水平百叶
|
||||
// 28:垂直百叶
|
||||
// 29:向左拉幕
|
||||
// 30:向右拉幕
|
||||
// 31:向上拉幕
|
||||
// 32:向下拉幕
|
||||
// 33:左右闭合
|
||||
// 34:左右对开
|
||||
// 35:上下闭合
|
||||
// 36;上下对开
|
||||
// 37:向右移动
|
||||
// 38:向右连移
|
||||
// 39:向下移动
|
||||
// 40:向下连移
|
||||
// 41:45度左旋
|
||||
// 42:180度左旋
|
||||
// 43:90度左旋
|
||||
// 44:45度右旋
|
||||
// 45:180度右旋
|
||||
// 46:90度右旋
|
||||
// 47:菱形打开
|
||||
// 48:菱形闭合
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
// 创建screen对象,用于与控制卡的交互
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient( "MyScreen" );
|
||||
|
||||
// 连接控制器
|
||||
screen.connect( ip,port );
|
||||
|
||||
// 创建节目 一个节目相当于一屏显示内容
|
||||
ProgramBxFile pf = new ProgramBxFile( 0,screen.getProfile() );
|
||||
|
||||
// 创建一个文本区
|
||||
// 分别输入X,Y,width,heigth
|
||||
// 注意区域坐标和宽度高度,不要越界
|
||||
TextCaptionBxArea area = new TextCaptionBxArea( 0,0,160,64,screen.getProfile() );
|
||||
|
||||
// 创建一个数据页
|
||||
// 第一行数据
|
||||
TextBxPage page = new TextBxPage("仰邦科技欢迎你");
|
||||
// 第二行数据
|
||||
page.newLine( "这是第二行" );
|
||||
// 设置字体
|
||||
page.setFont( new Font("宋体",Font.PLAIN,12) );
|
||||
// 设置显示特技为快速打出
|
||||
page.setDisplayStyle( styles[2] );
|
||||
|
||||
// 数据页可以是图片
|
||||
ImageFileBxPage iPage = new ImageFileBxPage( "E;a/001.bmp" );
|
||||
|
||||
// 数据页可以是txt文件
|
||||
TextFileBxPage tPage = new TextFileBxPage("E:a/001.txt");
|
||||
|
||||
// 将前面的page添加到area中 area中可以添加多个page 其中page可以是字符串,可以是txt文件,可以是图片,不可以是表格,如果需要Led屏上显示表格,请先将表格绘制成图片
|
||||
area.addPage( page );
|
||||
area.addPage( iPage );
|
||||
area.addPage( tPage );
|
||||
// 将area添加到节目中 节目中可以添加多个area
|
||||
pf.addArea( area );
|
||||
|
||||
// 更新节目
|
||||
screen.writeProgram( pf );
|
||||
|
||||
// 断开连接
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
// 将多个节目发送到控制器并显示
|
||||
public static void SendPrograms()throws Exception
|
||||
{
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient( "MyScreen" );
|
||||
|
||||
screen.connect( ip,port );
|
||||
|
||||
ProgramBxFile pf = new ProgramBxFile( "P000",screen.getProfile() );
|
||||
|
||||
// 创建一个时间区
|
||||
DateTimeBxArea dtArea = new DateTimeBxArea( 0,0,160,64,screen.getProfile() );
|
||||
|
||||
// 设定时间区多行显示
|
||||
dtArea.setMultiline( true );
|
||||
|
||||
// 设定日期显示格式NULL表示不显示日期
|
||||
dtArea.setDateStyle( DateStyle.YYYY_MM_DD_1 );
|
||||
|
||||
// 设定时间显示格式NULL表示不显示时间
|
||||
dtArea.setTimeStyle( TimeStyle.HH12_MM_SS_1 );
|
||||
|
||||
// 设定星期显示格式NULL表示不显示星期
|
||||
dtArea.setWeekStyle( WeekStyle.CHINESE );
|
||||
|
||||
dtArea.setFont( new Font("宋体",Font.PLAIN,12) );
|
||||
|
||||
pf.addArea( dtArea );
|
||||
|
||||
// 创建第二个节目
|
||||
ProgramBxFile pf_2 = new ProgramBxFile( "P001",screen.getProfile() );
|
||||
|
||||
TextCaptionBxArea area = new TextCaptionBxArea( 0,0,160,64,screen.getProfile() );
|
||||
|
||||
TextBxPage page = new TextBxPage( "Led控制系统首选仰邦" );
|
||||
|
||||
page.setDisplayStyle( styles[4] );
|
||||
|
||||
area.addPage( page );
|
||||
|
||||
pf_2.addArea( area );
|
||||
|
||||
// 创建一个list
|
||||
ArrayList<ProgramBxFile> plist = new ArrayList<ProgramBxFile>( );
|
||||
plist.add( pf );
|
||||
plist.add( pf_2 );
|
||||
|
||||
screen.writePrograms( plist );
|
||||
|
||||
// 如果需要,可以从控制器回读控制器上已有的节目列表
|
||||
List<String> pfs = screen.readProgramList();
|
||||
for (String program :pfs)
|
||||
{
|
||||
System.out.println( program );
|
||||
}
|
||||
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
// 更新动态区
|
||||
// 只有BX-5E1、BX-5E2、BX-5E3支持动态区,其他控制卡不支持动态区
|
||||
// 动态区是完全独立于节目,其显示内容可以按区域单独更新
|
||||
// 动态区可以与节目一起播放,也可以单独播放
|
||||
// 动态区显示内容存储于ARM,掉电不保存,没有刷新次数限制
|
||||
|
||||
// 动态区单独播放
|
||||
public static void SendDynamic()throws Exception
|
||||
{
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient( "MyScreen" );
|
||||
|
||||
screen.connect( ip,port );
|
||||
|
||||
// DynamicBxRule(id,runMode,immediatePlay,timeout);
|
||||
// runMode 运行模式
|
||||
// 0:循环显示
|
||||
// 1:显示完成后静止显示最后一页数据
|
||||
// 2:循环显示,超过设定时间后数据仍未更新时不再显示
|
||||
// 3:循环显示,超过设定时间后数据仍未更新时显示Logo信息
|
||||
// 4:循环显示,显示完最后一页后就不再显示
|
||||
// immediatePlay 是否立即播放
|
||||
// 0:与异步节目一起播放
|
||||
// 1:异步节目停止播放,仅播放动态区
|
||||
// 2:当播放完节目编号最高的异步节目后播放该动态区
|
||||
|
||||
// BX-5E系列控制卡最高支持4个动态区,当屏幕上需要显示多个动态区时,动态区ID不可以相同
|
||||
// 定义一个动态区,此处动态区ID为0
|
||||
DynamicBxAreaRule rule = new DynamicBxAreaRule( 0,(byte)0,(byte)1 ,0);
|
||||
|
||||
TextCaptionBxArea darea = new TextCaptionBxArea( 0,0,160,64,screen.getProfile() );
|
||||
|
||||
TextBxPage dpage = new TextBxPage( "动态区测试123abc" );
|
||||
|
||||
dpage.setDisplayStyle( styles[2] );
|
||||
|
||||
darea.addPage( dpage );
|
||||
|
||||
// 更新动态区
|
||||
screen.writeDynamic( rule,darea );
|
||||
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
// 动态区和节目一起播放
|
||||
public static void SendDynamicProgam()throws Exception
|
||||
{
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient( "MyScreen" );
|
||||
|
||||
screen.connect( ip,port );
|
||||
|
||||
ProgramBxFile pf = new ProgramBxFile( "P000",screen.getProfile() );
|
||||
|
||||
TextCaptionBxArea area = new TextCaptionBxArea( 0,0,160,32,screen.getProfile() );
|
||||
|
||||
TextBxPage page = new TextBxPage( "这是节目√" );
|
||||
|
||||
area.addPage( page );
|
||||
|
||||
pf.addArea( area );
|
||||
|
||||
screen.writeProgram( pf );
|
||||
|
||||
DynamicBxAreaRule rule = new DynamicBxAreaRule( 0,(byte)0,(byte)0,0 );
|
||||
// 动态区关联上面的节目
|
||||
rule.addProgram( "P000" );
|
||||
|
||||
TextCaptionBxArea darea = new TextCaptionBxArea( 0,32,160,32,screen.getProfile() );
|
||||
|
||||
TextBxPage dpage = new TextBxPage( "这是动态区" );
|
||||
|
||||
darea.addPage( dpage );
|
||||
|
||||
screen.writeDynamic( rule,darea );
|
||||
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
// 其他一些常用命令
|
||||
public static void Sendcmd()throws Exception
|
||||
{
|
||||
Bx5GScreenClient screen = new Bx5GScreenClient( "MyScreen" );
|
||||
screen.connect( ip,port );
|
||||
|
||||
// 关机命令
|
||||
screen.turnOff();
|
||||
|
||||
// 开机命令
|
||||
screen.turnOn();
|
||||
|
||||
// ping命令
|
||||
screen.ping();
|
||||
|
||||
// 查询控制器状态
|
||||
screen.checkControllerStatus();
|
||||
|
||||
// 查询控制器当前固件版本
|
||||
screen.checkFirmware();
|
||||
|
||||
// 查询控制器内存
|
||||
screen.checkMemVolumes();
|
||||
|
||||
// 校时命令
|
||||
screen.syncTime();
|
||||
|
||||
// 获取控制器ID
|
||||
screen.readControllerId();
|
||||
|
||||
// 锁定屏幕当前画面
|
||||
screen.lock();
|
||||
|
||||
// 解除锁定屏幕当前画面
|
||||
screen.unlock();
|
||||
|
||||
// 通过以下接口回读控制器状态
|
||||
Bx5GScreen.Result<ReturnControllerStatus> result = screen.checkControllerStatus();
|
||||
if(result.isOK())
|
||||
{
|
||||
ReturnControllerStatus status = result.reply;
|
||||
status.getBrightness(); // 取得亮度值
|
||||
status.getTemperature1(); // 取得温度传感器温度值
|
||||
|
||||
// status还有很多接口,根据实际应用进行调用
|
||||
}
|
||||
else
|
||||
{
|
||||
ErrorType error = result.getError();
|
||||
System.out.println( error );
|
||||
}
|
||||
}
|
||||
|
||||
// 关于串口通讯
|
||||
public static void RsConnect()throws Exception
|
||||
{
|
||||
// 串口创建screen 对象方法和网口不同
|
||||
Bx5GScreenRS screen = new Bx5GScreenRS( "MyScreen" );
|
||||
|
||||
// 连接控制器
|
||||
// comPort : 串口号
|
||||
// baudRate : 波特率 ,目前支持的波特率为9600/57600
|
||||
screen.connect( "COM2", Bx5GScreenRS.BaudRate.RATE_9600 );
|
||||
|
||||
screen.disconnect();
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,36 +0,0 @@
|
|||
log4j.rootLogger=ALL, console, system, error
|
||||
|
||||
# Pattern Layout Description
|
||||
# %c Category name C{n}
|
||||
# %C Class name c{n}
|
||||
# %d Time format like yyyy-MM-dd HH:mm:ss
|
||||
# %l Class name + Method + Line Number
|
||||
# %L Line Number
|
||||
# %m Log Message
|
||||
# %M Method Name
|
||||
# %t Thread Name
|
||||
# %n New line
|
||||
# %p Log level: FATAL > ERROR > WARN > INFO > DEBUG
|
||||
# %r Program Execution Time
|
||||
# %x NDC
|
||||
# %X MDC
|
||||
|
||||
#Console log file
|
||||
log4j.appender.console=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.console.Threshold=ALL
|
||||
log4j.appender.console.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.console.layout.ConversionPattern=%-5p %d{HH:mm:ss.SSS} %-55c - %m%n
|
||||
|
||||
#System log file
|
||||
log4j.appender.system=org.apache.log4j.DailyRollingFileAppender
|
||||
log4j.appender.system.Threshold=ALL
|
||||
log4j.appender.system.File=log/all_log.txt
|
||||
log4j.appender.system.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.system.layout.ConversionPattern=%-5p %d{HH:mm:ss} %-55c - %m%n
|
||||
|
||||
#Error log file
|
||||
log4j.appender.error=org.apache.log4j.DailyRollingFileAppender
|
||||
log4j.appender.error.Threshold=ERROR
|
||||
log4j.appender.error.File=log/err_log.txt
|
||||
log4j.appender.error.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.error.layout.ConversionPattern=%-5p %d{HH:mm:ss} %-50c %-20M %-5L - %m%n
|
||||
|
|
@ -1,427 +0,0 @@
|
|||
package onbon.bx06.tutorial;
|
||||
|
||||
/**
|
||||
* Created by TATABA on 2016/9/30.
|
||||
*/
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GException;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.Bx6GScreenProfile;
|
||||
import onbon.bx06.area.DateTimeBxArea;
|
||||
import onbon.bx06.area.DynamicBxArea;
|
||||
import onbon.bx06.area.TextCaptionBxArea;
|
||||
import onbon.bx06.area.WeekStyle;
|
||||
import onbon.bx06.area.page.TextBxPage;
|
||||
import onbon.bx06.cmd.dyn.DynamicBxAreaRule;
|
||||
import onbon.bx06.file.BxFileWriterListener;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
import onbon.bx06.message.common.ErrorType;
|
||||
import onbon.bx06.message.led.ReturnControllerStatus;
|
||||
import onbon.bx06.utils.DisplayStyleFactory;
|
||||
import onbon.bx06.utils.DisplayStyleFactory.DisplayStyle;
|
||||
import onbon.bx06.utils.TextBinary;
|
||||
|
||||
public class BxClientDemo implements BxFileWriterListener<Bx6GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
int posX = 0;
|
||||
int posY = 0;
|
||||
|
||||
//
|
||||
// SDK 初始化
|
||||
// init the SDK
|
||||
//Bx6GEnv.initial("log.properties");
|
||||
Bx6GEnv.initial(30000);
|
||||
|
||||
//
|
||||
// 其它控制器
|
||||
// 创建 screen 对象,用于对控制器进行访问
|
||||
// Create a screen object, it will be used to control the led card
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
|
||||
//
|
||||
// 连接控制器
|
||||
// 其中, 192.168.88.199 为控制器的实际 IP,请根据实际情况填写。
|
||||
// 如你不知道控制器的 IP 是多少,请先使用 LEDSHOW TW 软件对控制器进行 IP 设置
|
||||
// 端口号默认为 5005
|
||||
//
|
||||
// Connect to the screen, please use the ip of the Controller
|
||||
// The default port is 5005
|
||||
if (!screen.connect("192.168.5.67", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
//
|
||||
// 以下为显示屏参数的设置方法
|
||||
// !!!注意:显示屏参数只需要在显示屏第一次安装时使用一次即可。没有必要每次发送节目前都设置一次。
|
||||
/*
|
||||
ControllerConfigBxFile bxFile = new ControllerConfigBxFile();
|
||||
|
||||
bxFile.setControllerName("TEST1");
|
||||
bxFile.setAddress(new byte[] { (byte) 0xb0, 0x05 });
|
||||
|
||||
// 显示屏的宽度(单位:像素)
|
||||
bxFile.setScreenWidth(128);
|
||||
// 显示屏的高度(单位:像素)
|
||||
bxFile.setScreenHeight(96);
|
||||
// 将参数文件写入控制器
|
||||
screen.writeConfig(bxFile);
|
||||
// 通常参数配置完后,控制器会进行重启,需等待一段时间再对控制器进行操作
|
||||
Thread.sleep(5000);
|
||||
*/
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
//
|
||||
// 以下为一些简单控制命令的使用方法
|
||||
// 更多命令可以参考 Javadoc 中的 Bx6GScreen 类
|
||||
//
|
||||
// some simple commands
|
||||
|
||||
//
|
||||
// 开关机
|
||||
// turn on/off
|
||||
screen.turnOff(); // 关机
|
||||
Thread.sleep(2000);
|
||||
screen.turnOn(); // 开机
|
||||
|
||||
// 校时
|
||||
// sync time with the computer
|
||||
screen.syncTime();
|
||||
|
||||
// 调整亮度
|
||||
// 亮度值 为 1- 16, 16级为最高亮度
|
||||
// change the brightness
|
||||
screen.manualBrightness((byte) 8); // 将屏幕亮度调整至 8
|
||||
Thread.sleep(2000);
|
||||
screen.manualBrightness((byte) 16); // 将屏幕亮度调整到 16
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 可以通过以下接口,回读控制器状态
|
||||
// You can read back the status of the controller like this
|
||||
Bx6GScreen.Result<ReturnControllerStatus> result1 = screen.checkControllerStatus();
|
||||
if (result1.isOK()) {
|
||||
ReturnControllerStatus stauts = result1.reply;
|
||||
stauts.getBrightness();
|
||||
stauts.getRtcDay();
|
||||
stauts.getScreenOnOff();
|
||||
//
|
||||
// status 还有很多其它接口,可以根据实际需求在此调用以获取相应状态
|
||||
}
|
||||
else {
|
||||
ErrorType error = result1.getError();
|
||||
System.out.println(error);
|
||||
}
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 可以通过 screen 的 getProfile 方法获取控制器参数
|
||||
// 也可通过此方法验证控制器参数是否被正确设置
|
||||
Bx6GScreenProfile profile = screen.getProfile();
|
||||
org.apache.log4j.Logger.getLogger(BxClientDemo.class).info("screen width : " + profile.getWidth());
|
||||
org.apache.log4j.Logger.getLogger(BxClientDemo.class).info("screen height : " + profile.getHeight());
|
||||
|
||||
/*
|
||||
// !!! 注意 !!!
|
||||
// 如果想提高发送节目的效率
|
||||
// 且自己知道显示屏参数的情况下
|
||||
// 可以手动创建 profile 对象
|
||||
// screen.getProfile()此方式,是通过从控制器回读来自动创建profile的,使用方便
|
||||
// 但增加了PC与控制器之前的交互,从而使得发送效率降低
|
||||
profile = new Bx6GScreenProfile(128, 96);
|
||||
profile.setMatrixType(Bx6GScreenProfile.ScreenMatrixType.COLOR3BYTE);
|
||||
*/
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
//
|
||||
// 以下为创建节目的方法
|
||||
// 在以下DEMO中,将创建 P000 和 P001, P002 三个节目
|
||||
// We will create 3 programs below, they are called P000, P001, P002
|
||||
|
||||
//
|
||||
// 创建节目的通常过程如下:
|
||||
// 1. 创建一个 ProgramBxFile 对象(节目文件)
|
||||
// 2. 创建一个或多个 Area 对象(区域,可以是图文区,也可以是时间区等)
|
||||
// 3. 如果是图文区(TextCaptionBxArea), 可以创建 Page 对象,按页将文本或图片添加到Area中
|
||||
// 4. 将 Area 对象添加到节目中
|
||||
// 5. 使用 screen 对象将节目下发到控制器
|
||||
|
||||
// The process to create a Prgoram
|
||||
// 1. create a ProgramBxFile Object (program file)
|
||||
// 2. create 1 or more than 1 Area Object (Area, it can be a Text, Picture, or Time)
|
||||
// 3. If you create a text/pic area, you can create Page Object, And then add page to Area object
|
||||
// 4. add area object to program object
|
||||
// 5. send the programs to the controller
|
||||
|
||||
//
|
||||
// 获取显示特技方式列表,此变量会下面用到
|
||||
// 关于 style 的定义,请参考 Javadoc 中,相关类(DisplayStyleFactory)的定义
|
||||
//
|
||||
// Get the display styles list, it will be used below
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
for (DisplayStyle style : styles) {
|
||||
System.out.println(style);
|
||||
}
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 下面开始创建第一个节目,P000
|
||||
// 此节目包括只包括一个图文区, 图文区中包括两个数据页:一页文本,一页图片
|
||||
// 显示节目边框
|
||||
// 区域显示边框
|
||||
|
||||
//
|
||||
// Now we begin to create the first program, P000
|
||||
|
||||
// 创建节目文件
|
||||
// Create Program file
|
||||
ProgramBxFile p000 = new ProgramBxFile(0, profile);
|
||||
// 是否显示节目边框
|
||||
// set the program frame show or not
|
||||
p000.setFrameShow(false);
|
||||
// 节目边框的移动速度
|
||||
// frame move speed
|
||||
p000.setFrameSpeed(20);
|
||||
// 使用第几个内置边框
|
||||
// select which frame
|
||||
p000.loadFrameImage(7);
|
||||
p000.setProgramTimeSpan(20);
|
||||
|
||||
// 创建一个文本区
|
||||
// 分别输入其X,Y,W,H
|
||||
// 屏幕左上角坐标为 (0, 0)
|
||||
// 注意区域坐标和宽高,不要越界
|
||||
|
||||
// Create a Text Area
|
||||
// (x, y, w, h)
|
||||
TextCaptionBxArea tArea = new TextCaptionBxArea(posX, posY, 32, 32, screen.getProfile());
|
||||
// 使能区域边框
|
||||
// enable the area frame
|
||||
tArea.setFrameShow(false);
|
||||
// 使用内置边框3
|
||||
// select which frame
|
||||
tArea.loadFrameImage(3);
|
||||
|
||||
// 创建一个数据页,并希望显示 “P000” 这几个文字
|
||||
// create a page, and add some text to the page
|
||||
TextBxPage page = new TextBxPage("P000 - This is the first test");
|
||||
// 对文本的处理是否自动换行
|
||||
|
||||
// 设置文本水平对齐方式
|
||||
page.setHorizontalAlignment(TextBinary.Alignment.NEAR);
|
||||
// 设置文本垂直居中方式
|
||||
page.setVerticalAlignment(TextBinary.Alignment.CENTER);
|
||||
// 设置文本字体
|
||||
page.setFont(new Font("宋体", Font.PLAIN, 14)); // 字体
|
||||
// 设置文本颜色
|
||||
page.setForeground(Color.red);
|
||||
// 设置区域背景色,默认为黑色
|
||||
page.setBackground(Color.darkGray);
|
||||
// 调整特技方式
|
||||
page.setDisplayStyle(styles[4]);
|
||||
|
||||
// 调整特技速度
|
||||
page.setSpeed(1);
|
||||
// 调整停留时间, 单位 10ms
|
||||
page.setStayTime(0);
|
||||
//
|
||||
page.setHeadTailInterval(-2);
|
||||
|
||||
// 将前面创建的 page 添加到 area 中
|
||||
tArea.addPage(page);
|
||||
|
||||
// 再创建一个数据页,用于显示图片
|
||||
/**
|
||||
ImageFileBxPage iPage = new ImageFileBxPage("d:/1.png");
|
||||
// 调整特技方式
|
||||
iPage.setDisplayStyle(styles[1]);
|
||||
// 调整特技速度
|
||||
iPage.setSpeed(1);
|
||||
// 调整停留时间, 单位 10ms
|
||||
iPage.setStayTime(100);
|
||||
|
||||
// 将前面创建的 iPage 添加到 area 中
|
||||
tArea.addPage(iPage);
|
||||
*/
|
||||
|
||||
// 将 area 添加到节目中
|
||||
p000.addArea(tArea);
|
||||
|
||||
if (p000.validate() != null) {
|
||||
System.out.println("P000 out of range");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 下面开始创建第三个节目,P001
|
||||
// 此节目用于展示如何添加时间区
|
||||
// 此节目包括只包括一个时间区
|
||||
// 不显示节目边框
|
||||
// 区域显示边框
|
||||
|
||||
// 创建节目文件
|
||||
ProgramBxFile p001 = new ProgramBxFile(1, profile);
|
||||
// 是否显示节目边框
|
||||
p001.setFrameShow(false);
|
||||
|
||||
//
|
||||
// 下面代码创建了一个时间区
|
||||
// 注意:只需要输入时间区的起始坐标,区域的宽度和高度SDK会根据字体和显示方式自动计算
|
||||
DateTimeBxArea dtArea = new DateTimeBxArea(posX, posY, screen.getProfile());
|
||||
// 设置颜色
|
||||
dtArea.setForeground(Color.yellow);
|
||||
// 多行显示还是单行显示
|
||||
dtArea.setMultiline(true);
|
||||
//
|
||||
// 年月日的显示方式
|
||||
// 如果不显示,则设置为 null
|
||||
dtArea.setDateStyle(null);
|
||||
dtArea.setTimeStyle(null);
|
||||
dtArea.setWeekStyle(WeekStyle.ENG);
|
||||
|
||||
//
|
||||
// 注意时间区也可像P001中图文区那样设置背景或添加背景区域
|
||||
|
||||
// 将时间区添加到节目中
|
||||
p001.addArea(dtArea);
|
||||
if (p001.validate() != null) {
|
||||
System.out.println("P001 out of range");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// ---------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 创建一个 list
|
||||
ArrayList<ProgramBxFile> plist = new ArrayList<ProgramBxFile>();
|
||||
plist.add(p000);
|
||||
plist.add(p001);
|
||||
|
||||
//
|
||||
screen.deletePrograms();
|
||||
screen.deleteAllDynamic();
|
||||
|
||||
//
|
||||
// 将节目文件发送到控制器
|
||||
// 发送节目有三种方式
|
||||
// 可以根据自己的需求进行选择
|
||||
|
||||
//
|
||||
// 1. writeProgramsAsync - 异步方式,即SDK会自己起线程来发送
|
||||
// 此时需传入 BxFileWriterListener
|
||||
// 可在相应的接口对相应的事件进行处理
|
||||
//screen.writeProgramsAsync(plist, new WriteProgramTextCaptionWithStyle());
|
||||
|
||||
//
|
||||
// 2. writePrograms - 同步方式,即SDK会BLOCK住一直等到节目发送完毕
|
||||
screen.writePrograms(plist);
|
||||
|
||||
//
|
||||
// 此方法通常不用
|
||||
// 3. 同步方式将节目写入控制器,本方法不做任何检查,从而提高发送效率
|
||||
//screen.writeProgramQuickly(pf);
|
||||
|
||||
Thread.sleep(20000);
|
||||
|
||||
//
|
||||
// 如何需要,可以从控制器回读控制器上已有的节目列表
|
||||
List<String> pgs = screen.readProgramList();
|
||||
for (String pg : pgs) {
|
||||
System.out.println(pg);
|
||||
}
|
||||
|
||||
//
|
||||
// 以下是动态区部分 Demo
|
||||
// 动态区的特点是
|
||||
|
||||
//DynamicBxArea(int id, byte runMode, byte immediatePlay, int timeout)
|
||||
//运行模式:
|
||||
//0:循环显示。
|
||||
//1:显示完成后静止显示最后一页数据。
|
||||
//2:循环显示,超过设定时间后数据仍未更新时不再显示。
|
||||
//3:循环显示,超过设定时间后数据仍未更新时显示 Logo信息。
|
||||
//4:循环显示,显示完最后一页后就不再显示。
|
||||
|
||||
//是否立即播放:
|
||||
//0:与异步节目一起播放。
|
||||
//1:异步节目停止播放,仅播放动态区域。
|
||||
//2:当播放完节目编号最高的异步节目后播放该动态区域。
|
||||
|
||||
//
|
||||
// 定义一个动态区
|
||||
// 可以通过ID来更新不同的动态区内容, 此处 ID 为0
|
||||
|
||||
DynamicBxAreaRule dRule = new DynamicBxAreaRule();
|
||||
dRule.setId(0);
|
||||
dRule.setImmediatePlay((byte) 2);
|
||||
dRule.setRunMode((byte) 4);
|
||||
dRule.addRelativeProgram(1);
|
||||
|
||||
DynamicBxArea dArea = new DynamicBxArea(posX, posY, 32, 32, profile);
|
||||
page = new TextBxPage("Hello This is Dynamic");
|
||||
page.setDisplayStyle(styles[4]);
|
||||
page.setHeadTailInterval(-2);
|
||||
dArea.addPage(page);
|
||||
screen.writeDynamic(dRule, dArea);
|
||||
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
// 继开与控制器之间的链接
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx6GScreen bx6GScreen, String s, int i) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx6GScreen bx6GScreen, String s, int i) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx6GScreen bx6GScreen, String s, int i, int i1) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx6GScreen bx6GScreen, String s, Bx6GException e) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx6GScreen bx6GScreen) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
package onbon.bx06.tutorial;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.area.TextCaptionBxArea;
|
||||
import onbon.bx06.area.page.TextFileBxPage;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
import onbon.bx06.utils.DisplayStyleFactory;
|
||||
import onbon.bx06.utils.TextBinary.Alignment;
|
||||
|
||||
public class Case1 {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Bx6GEnv.initial(15000);
|
||||
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
// 增加文本頁
|
||||
TextFileBxPage page = new TextFileBxPage("c:\\temp\\test.txt", new Font("隶书", Font.PLAIN, 55), Color.red, Color.black);
|
||||
page.setDisplayStyle(DisplayStyleFactory.getStyle(4));
|
||||
page.setVerticalAlignment(Alignment.CENTER); // 垂直置中
|
||||
|
||||
// 增加圖文區
|
||||
TextCaptionBxArea area = new TextCaptionBxArea(1, 0, 1706, 64, screen.getProfile());
|
||||
area.setFrameShow(false);
|
||||
area.setFrameStyle(2);
|
||||
area.loadFrameImage(6);
|
||||
area.addPage(page);
|
||||
|
||||
// 建立節目
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
program.addArea(area);
|
||||
|
||||
// 傳送
|
||||
screen.writeProgram(program);
|
||||
|
||||
Thread.sleep(1000);
|
||||
|
||||
screen.disconnect();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.message.file.ControllerConfigFile;
|
||||
|
||||
public class ReadConfiguration {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Bx6GEnv.initial();
|
||||
|
||||
//
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6M());
|
||||
if (!screen.connect("192.168.5.67", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
ControllerConfigFile config = screen.readConfig();
|
||||
System.out.println(config);
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
|
||||
public class SimpleCommand {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Bx6GEnv.initial(15000);
|
||||
|
||||
//
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.67", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
screen.ping();
|
||||
screen.checkControllerStatus();
|
||||
screen.checkFirmware();
|
||||
screen.checkMemVolumes();
|
||||
screen.syncTime();
|
||||
screen.readControllerId();
|
||||
|
||||
//
|
||||
screen.checkHealth();
|
||||
screen.turnOff();
|
||||
screen.turnOn();
|
||||
screen.lock();
|
||||
screen.unlock();
|
||||
|
||||
screen.manualBrightness((byte) 16);
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.file.ControllerConfigBxFile;
|
||||
|
||||
public class WriteConfiguration {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Bx6GEnv.initial();
|
||||
|
||||
//
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.67", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
ControllerConfigBxFile bxFile = new ControllerConfigBxFile();
|
||||
bxFile.setControllerName("TEST1");
|
||||
bxFile.setAddress(new byte[] { (byte) 0xb0, 0x05 });
|
||||
bxFile.setScreenWidth(128);
|
||||
bxFile.setScreenHeight(96);
|
||||
screen.writeConfig(bxFile);
|
||||
Thread.sleep(4000);
|
||||
|
||||
//
|
||||
screen.checkControllerStatus();
|
||||
screen.checkFirmware();
|
||||
screen.checkMemVolumes();
|
||||
screen.checkHealth();
|
||||
screen.syncTime();
|
||||
screen.readControllerId();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,64 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GException;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.area.ClockBxArea;
|
||||
import onbon.bx06.file.BxFileWriterListener;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramClock implements BxFileWriterListener<Bx6GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Bx6GEnv.initial();
|
||||
|
||||
//
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
program.addPlayPeriodSetting(10, 10, 0, 10, 12, 13);
|
||||
ClockBxArea area1 = new ClockBxArea(448, 0, 48, 48, screen.getProfile());
|
||||
program.addArea(area1);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramClock());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx6GScreen owner, String fileName, Bx6GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx6GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx6GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,75 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import java.awt.Font;
|
||||
import java.util.Calendar;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GException;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.area.CounterBxArea;
|
||||
import onbon.bx06.area.unit.CounterBxUnit.CounterBxUnitFormat;
|
||||
import onbon.bx06.area.unit.CounterBxUnit.CounterBxUnitMode;
|
||||
import onbon.bx06.file.BxFileWriterListener;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramCounter implements BxFileWriterListener<Bx6GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Bx6GEnv.initial();
|
||||
|
||||
//
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
|
||||
Calendar cal = Calendar.getInstance();
|
||||
cal.add(Calendar.DAY_OF_MONTH, 1);
|
||||
|
||||
CounterBxArea area1 = new CounterBxArea(448, 0, 64, 28, cal.getTime(), screen.getProfile());
|
||||
area1.setFont(new Font("Tohoma", Font.ITALIC, 24));
|
||||
area1.setMode(CounterBxUnitMode.D);
|
||||
area1.setFormat(new CounterBxUnitFormat(false, true, true, true));
|
||||
program.addArea(area1);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramCounter());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx6GScreen owner, String fileName, Bx6GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx6GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx6GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import java.awt.Font;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GException;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.area.DateStyle;
|
||||
import onbon.bx06.area.DateTimeBxArea;
|
||||
import onbon.bx06.area.TimeStyle;
|
||||
import onbon.bx06.area.WeekStyle;
|
||||
import onbon.bx06.file.BxFileWriterListener;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramDateTime implements BxFileWriterListener<Bx6GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx6GEnv.initial();
|
||||
Bx6GEnv.initial();
|
||||
|
||||
//
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
|
||||
//
|
||||
DateTimeBxArea area1 = new DateTimeBxArea(448, 0, screen.getProfile());
|
||||
area1.setFont(new Font("宋体", Font.ITALIC, 16));
|
||||
area1.setDateStyle(DateStyle.YYYY_MM_DD_1);
|
||||
area1.setTimeStyle(TimeStyle.HH_MM_1);
|
||||
area1.setWeekStyle(WeekStyle.CHINESE);
|
||||
program.addArea(area1);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramDateTime());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx6GScreen owner, String fileName, Bx6GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx6GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx6GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import java.awt.Font;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GException;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.area.FestivalBxArea;
|
||||
import onbon.bx06.file.BxFileWriterListener;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramFestival implements BxFileWriterListener<Bx6GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx6GEnv.initial();
|
||||
Bx6GEnv.initial();
|
||||
|
||||
//
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
|
||||
FestivalBxArea area1 = new FestivalBxArea(448, 0, 64, 28, screen.getProfile());
|
||||
area1.setFont(new Font("Tohoma", Font.ITALIC, 14));
|
||||
program.addArea(area1);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramFestival());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx6GScreen owner, String fileName, Bx6GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx6GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx6GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,75 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GException;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.area.TextCaptionBxArea;
|
||||
import onbon.bx06.area.page.TextBxPage;
|
||||
import onbon.bx06.file.BxFileWriterListener;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramTextCaption implements BxFileWriterListener<Bx6GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Bx6GEnv.initial();
|
||||
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.67", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
|
||||
//
|
||||
TextCaptionBxArea area = new TextCaptionBxArea(96, 0, 32, 32, screen.getProfile());
|
||||
area.loadFrameImage(2);
|
||||
area.setFrameSpeed(1);
|
||||
|
||||
area.addPage(new TextBxPage("OK G"));
|
||||
|
||||
//
|
||||
program.addArea(area);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramTextCaption());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
List<String> pgs = screen.readProgramList();
|
||||
for (String pg : pgs) {
|
||||
System.out.println(pg);
|
||||
}
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx6GScreen owner, String fileName, Bx6GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx6GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx6GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GException;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.area.TextCaptionBxArea;
|
||||
import onbon.bx06.area.page.TextBxPage;
|
||||
import onbon.bx06.file.BxFileWriterListener;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
import onbon.bx06.utils.TextBinary.Alignment;
|
||||
|
||||
public class WriteProgramTextCaption2 implements BxFileWriterListener<Bx6GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx6GEnv.initial();
|
||||
Bx6GEnv.initial();
|
||||
|
||||
//
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
program.setFrameShow(true);
|
||||
program.setFrameSpeed(20);
|
||||
program.loadFrameImage(13);
|
||||
|
||||
//
|
||||
TextCaptionBxArea area = new TextCaptionBxArea(448, 0, 64, 32, screen.getProfile());
|
||||
area.setFrameShow(true);
|
||||
area.setFrameSpeed(20);
|
||||
area.loadFrameImage(13);
|
||||
|
||||
// code 1: using object
|
||||
TextBxPage page = new TextBxPage("<22>?麼啊!\n好阿\n搞什麼鬼東西");
|
||||
page.setHorizontalAlignment(Alignment.FAR);
|
||||
area.addPage(page);
|
||||
//
|
||||
program.addArea(area);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramTextCaption2());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx6GScreen owner, String fileName, Bx6GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx6GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx6GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import java.awt.Color;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GException;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.area.TextCaptionBxArea;
|
||||
import onbon.bx06.area.page.TextBxPage;
|
||||
import onbon.bx06.file.BxFileWriterListener;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
import onbon.bx06.utils.DisplayStyleFactory;
|
||||
import onbon.bx06.utils.DisplayStyleFactory.DisplayStyle;
|
||||
|
||||
public class WriteProgramTextCaptionWithStyle implements BxFileWriterListener<Bx6GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx6GEnv.initial();
|
||||
Bx6GEnv.initial();
|
||||
|
||||
//
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
}
|
||||
|
||||
// Style Object, reference java doc
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
//
|
||||
TextCaptionBxArea area = new TextCaptionBxArea(448, 0, 64, 32, screen.getProfile());
|
||||
area.setFrameShow(false);
|
||||
|
||||
TextBxPage page = new TextBxPage("What do you want to display");
|
||||
// page.setLineBreak(true);
|
||||
page.setForeground(Color.GREEN);
|
||||
page.setDisplayStyle(styles[6]);
|
||||
area.addPage(page);
|
||||
|
||||
//
|
||||
ProgramBxFile pf = new ProgramBxFile("P000", screen.getProfile());
|
||||
pf.setFrameShow(true);
|
||||
pf.setFrameSpeed(20);
|
||||
pf.loadFrameImage(13);
|
||||
pf.addArea(area);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(pf, new WriteProgramTextCaptionWithStyle());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx6GScreen owner, String fileName, Bx6GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx6GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx6GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
package onbon.bx06.tutorial.client;
|
||||
|
||||
import java.awt.Font;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GException;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.area.TimerBxArea;
|
||||
import onbon.bx06.area.unit.TimerBxUnit.TimerBxUnitFormat;
|
||||
import onbon.bx06.area.unit.TimerBxUnit.TimerBxUnitMode;
|
||||
import onbon.bx06.file.BxFileWriterListener;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
|
||||
public class WriteProgramTimer implements BxFileWriterListener<Bx6GScreen> {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Bx6GEnv.initial();
|
||||
Bx6GEnv.initial();
|
||||
|
||||
//
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("MyScreen",new Bx6E());
|
||||
if (!screen.connect("192.168.5.7", 5005)) {
|
||||
System.out.println("connect failed");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
ProgramBxFile program = new ProgramBxFile("P000", screen.getProfile());
|
||||
|
||||
TimerBxArea area1 = new TimerBxArea(448, 0, 64, 28, 100, screen.getProfile());
|
||||
area1.setFont(new Font("Tahoma", Font.ITALIC, 20));
|
||||
area1.setMode(TimerBxUnitMode.B);
|
||||
area1.setFormat(new TimerBxUnitFormat(false, false, true, false));
|
||||
program.addArea(area1);
|
||||
|
||||
//
|
||||
screen.writeProgramAsync(program, new WriteProgramTimer());
|
||||
Thread.sleep(5000);
|
||||
|
||||
//
|
||||
screen.readProgramList();
|
||||
|
||||
//
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cancel(Bx6GScreen owner, String fileName, Bx6GException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void done(Bx6GScreen owner) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileFinish(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileFinish:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fileWriting(Bx6GScreen owner, String fileName, int total) {
|
||||
System.out.println(fileName + " fileWriting:" + total);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void progressChanged(Bx6GScreen owner, String fileName, int write, int total) {
|
||||
System.out.println(fileName + " progressChanged:" + write + "/" + total);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
package onbon.bx06.tutorial.server;
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GServer;
|
||||
import onbon.bx06.Bx6GServerListener;
|
||||
|
||||
public class SimpleCommand {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Bx6GEnv.initial();
|
||||
|
||||
Bx6GServer server = new Bx6GServer("TEST", 8001,new Bx6E());
|
||||
|
||||
server.addListener(new ConnectionListener());
|
||||
|
||||
server.start();
|
||||
System.out.println("waiting...");
|
||||
|
||||
Thread.sleep(120000);
|
||||
|
||||
server.stop();
|
||||
System.out.println("done!");
|
||||
}
|
||||
|
||||
public static class ConnectionListener implements Bx6GServerListener {
|
||||
|
||||
@Override
|
||||
public void connected(String socketId, String controllerAddr, Bx6GScreen screen) {
|
||||
System.out.println(socketId + " online:" + controllerAddr);
|
||||
System.out.println("ping: " + screen.ping());
|
||||
System.out.println("status: " + screen.checkControllerStatus());
|
||||
System.out.println("frimware: " + screen.checkFirmware());
|
||||
System.out.println("id: " + screen.readControllerId());
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disconnected(String socketId, String controllerAddr, Bx6GScreen screen) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,485 +0,0 @@
|
|||
/**
|
||||
* Created by admin on 2019/8/21.
|
||||
*/
|
||||
|
||||
import onbon.bx06.Bx6GEnv;
|
||||
import onbon.bx06.Bx6GScreen;
|
||||
import onbon.bx06.Bx6GScreenClient;
|
||||
import onbon.bx06.Bx6GScreenRS;
|
||||
import onbon.bx06.area.*;
|
||||
import onbon.bx06.area.page.ImageFileBxPage;
|
||||
import onbon.bx06.area.page.TextBxPage;
|
||||
import onbon.bx06.area.page.TextFileBxPage;
|
||||
import onbon.bx06.cmd.dyn.DynamicBxAreaRule;
|
||||
import onbon.bx06.file.ProgramBxFile;
|
||||
import onbon.bx06.message.common.ErrorType;
|
||||
import onbon.bx06.message.led.ReturnControllerStatus;
|
||||
import onbon.bx06.series.Bx6E;
|
||||
import onbon.bx06.utils.DisplayStyleFactory.DisplayStyle;
|
||||
import onbon.bx06.utils.DisplayStyleFactory;
|
||||
import onbon.bx06.utils.TextBinary;
|
||||
|
||||
import java.awt.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @program: bx06_demo
|
||||
* @description:
|
||||
* @author: Mr.Feng
|
||||
* @create: 2019-08-21 14:52
|
||||
**/
|
||||
public class bx06_demo {
|
||||
private static String ip = "192.168.100.199";
|
||||
private static int port = 5005;
|
||||
public static void main(String[] args)throws Exception
|
||||
{
|
||||
// 初始化API,此操作只在程序启动时候执行一次即可,多次执行会出现内存错误
|
||||
Bx6GEnv.initial(30000);
|
||||
SendDynamicProgram();
|
||||
}
|
||||
|
||||
// 将一个节目发送到控制器
|
||||
public static void SendProgram()throws Exception
|
||||
{
|
||||
// 关于显示特技
|
||||
// 0:随机显示
|
||||
// 1:静止显示
|
||||
// 2:快速打出
|
||||
// 3:向左移动
|
||||
// 4:向左连移
|
||||
// 5:向上移动
|
||||
// 6:向上连移
|
||||
// 7:闪烁
|
||||
// 8:飘雪
|
||||
// 9:冒泡
|
||||
// 10:中间移出
|
||||
// 11:左右移入
|
||||
// 12:左右交叉移入
|
||||
// 13:上下交叉移入
|
||||
// 14:花卷闭合
|
||||
// 15:花卷打开
|
||||
// 16:向左拉伸
|
||||
// 17:向右拉伸
|
||||
// 18:向上拉伸
|
||||
// 19:向下拉伸
|
||||
// 20:向左镭射
|
||||
// 21:向右镭射
|
||||
// 22:向上镭射
|
||||
// 23:向下镭射
|
||||
// 24:左右交叉拉幕
|
||||
// 25:上下交叉拉幕
|
||||
// 26:分散左拉
|
||||
// 27:水平百叶
|
||||
// 28:垂直百叶
|
||||
// 29:向左拉幕
|
||||
// 30:向右拉幕
|
||||
// 31:向上拉幕
|
||||
// 32:向下拉幕
|
||||
// 33:左右闭合
|
||||
// 34:左右对开
|
||||
// 35:上下闭合
|
||||
// 36:上下对开
|
||||
// 37;向右移动
|
||||
// 38:向右连移
|
||||
// 39:向下移动
|
||||
// 40:向下连移
|
||||
// 41:45度左旋
|
||||
// 42:180度左旋
|
||||
// 43:90度右旋
|
||||
// 44:45度右旋
|
||||
// 45:180度右旋
|
||||
// 46:90度右旋
|
||||
// 47:菱形打开
|
||||
// 48:菱形闭合
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
// 创建screen对象,用于与控制卡的交互
|
||||
// 第二个参数是控制卡型号,只有型号对才能正常通讯,否则会出现逾时未回应,如果使用的型号API中未定义,用new Bx6M()替代
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient( "MyScreen",new Bx6E() );
|
||||
|
||||
// 连接控制器
|
||||
screen.connect( ip,port);
|
||||
|
||||
// 创建节目 一个节目相当于一屏显示内容
|
||||
ProgramBxFile pf = new ProgramBxFile( "P000",screen.getProfile() );
|
||||
|
||||
// 创建一个分区
|
||||
// 分别输入X,Y,width,heigth
|
||||
// 注意区域坐标和宽度高度不要越界
|
||||
TextCaptionBxArea area = new TextCaptionBxArea( 0,0,160,64,screen.getProfile() );
|
||||
|
||||
// 创建一个数据页
|
||||
// 第一行数据
|
||||
TextBxPage page = new TextBxPage("仰邦科技欢迎你!");
|
||||
// 第二行数据
|
||||
page.newLine( "这是第二行数据" );
|
||||
// 设置字体
|
||||
page.setFont( new Font("宋体", Font.PLAIN,12) );
|
||||
// 设置显示特技为快速打出
|
||||
page.setDisplayStyle( styles[2] );
|
||||
|
||||
// 数据页可以是图片
|
||||
ImageFileBxPage iPage = new ImageFileBxPage( "D:a/004.bmp" );
|
||||
|
||||
// 数据页可以是txt文件
|
||||
TextFileBxPage tPage = new TextFileBxPage( "D:a/001.txt" );
|
||||
|
||||
// 将前面的page添加到area中,page不可以是表格,如果需要Led显示表格,请先将表格绘制成图片
|
||||
area.addPage( page );
|
||||
area.addPage( iPage );
|
||||
area.addPage( tPage );
|
||||
|
||||
// 将area添加到节目中,节目中可以添加多个area
|
||||
pf.addArea( area );
|
||||
|
||||
// 更新节目
|
||||
screen.writeProgram( pf );
|
||||
|
||||
// 断开连接
|
||||
screen.disconnect();
|
||||
|
||||
}
|
||||
|
||||
// 将多个节目发送到控制器并显示
|
||||
public static void SendPrograms()throws Exception
|
||||
{
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient( "MyScreen",new Bx6E() );
|
||||
|
||||
screen.connect( ip,port );
|
||||
|
||||
ProgramBxFile pf = new ProgramBxFile( "P000",screen.getProfile() );
|
||||
|
||||
// 创建一个时间区
|
||||
DateTimeBxArea dtArea = new DateTimeBxArea( 0,0,160,64,screen.getProfile() );
|
||||
|
||||
// 设定时间区多行显示
|
||||
dtArea.setMultiline( true );
|
||||
|
||||
// 设定日期显示格式 NULL表示不显示日期
|
||||
dtArea.setDateStyle( DateStyle.YYYY_MM_DD_1 );
|
||||
// 设定时间显示格式 NULL表示不显示时间
|
||||
dtArea.setTimeStyle( TimeStyle.HH12_MM_SS_1 );
|
||||
// 设定星期显示格式 NULL表示不显示星期
|
||||
dtArea.setWeekStyle( WeekStyle.CHINESE );
|
||||
// 设定时间区字体
|
||||
dtArea.setFont( new Font("宋体",Font.PLAIN,12) );
|
||||
|
||||
pf.addArea( dtArea );
|
||||
|
||||
// 创建第二个节目
|
||||
ProgramBxFile pf_2 = new ProgramBxFile( "P001",screen.getProfile() );
|
||||
TextCaptionBxArea area = new TextCaptionBxArea( 0,0,160,64,screen.getProfile() );
|
||||
TextBxPage page = new TextBxPage( "Led控制系统首选仰邦" );
|
||||
page.setDisplayStyle( styles[4] );
|
||||
area.addPage( page );
|
||||
pf_2.addArea( area );
|
||||
|
||||
// 创建一个list
|
||||
ArrayList<ProgramBxFile> plist = new ArrayList<ProgramBxFile>( );
|
||||
plist.add( pf );
|
||||
plist.add( pf_2 );
|
||||
|
||||
screen.writePrograms( plist );
|
||||
|
||||
// 如果需要,可以从控制器回读控制器上已有的节目列表
|
||||
List<String> pfs = screen.readProgramList();
|
||||
for(String program:pfs)
|
||||
{
|
||||
System.out.println( program );
|
||||
}
|
||||
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
// 更新动态区
|
||||
// 六代卡中,只有BX-6E系列、BX-6EX系列和BX-6Q系列支持动态区
|
||||
// 动态区是完全独立于节目,其显示内容可以按区域单独更新
|
||||
// 动态区可以与节目一起播放,也可以单独播放
|
||||
// 动态区显示内容存储于ARM,掉电不保存,没有刷新次数限制
|
||||
|
||||
// 动态区单独播放
|
||||
public static void SendDynamic()throws Exception
|
||||
{
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient( "MyScreen",new Bx6E() );
|
||||
|
||||
screen.connect( ip,port );
|
||||
|
||||
// 创建动态区
|
||||
// BX-6E BX-6EX系列支持4个动态区,BX-6Q系列支持32个动态区
|
||||
DynamicBxAreaRule rule = new DynamicBxAreaRule();
|
||||
// 设定动态区ID ,此处ID为0 ,多个动态区ID不能相同
|
||||
rule.setId(0);
|
||||
// 设定异步节目停止播放,仅播放动态区
|
||||
// 0:与异步节目一起播放
|
||||
// 1:异步节目 停止播放,仅播放动态区
|
||||
// 2:当播放完节目编号坐高的异步节目后播放该动态区
|
||||
rule.setImmediatePlay( (byte)1 );
|
||||
// 设定动态区循环播放
|
||||
// 0:循环显示
|
||||
// 1:显示完成后静止显示最后一页数据
|
||||
// 2:循环显示,超过设定时间后数据仍未更新时不再显示
|
||||
// 3:循环显示,超过设定时间后数据仍未更新时显示Logo信息
|
||||
// 4:循环显示,显示完成最后一页后就不再显示
|
||||
rule.setRunMode( (byte)0 );
|
||||
|
||||
DynamicBxArea area = new DynamicBxArea( 0,0,160,32,screen.getProfile() );
|
||||
|
||||
TextBxPage page = new TextBxPage( "第一个动态区" );
|
||||
|
||||
page.setFont( new Font( "宋体",Font.PLAIN,12 ) );
|
||||
|
||||
page.setDisplayStyle( styles[2] );
|
||||
|
||||
area.addPage( page );
|
||||
|
||||
screen.writeDynamic( rule,area );
|
||||
|
||||
// 创建第二个动态区
|
||||
DynamicBxAreaRule rule_2 = new DynamicBxAreaRule();
|
||||
rule_2.setId( 1 );
|
||||
rule_2.setImmediatePlay( (byte)1 );
|
||||
rule_2.setRunMode( (byte)0 );
|
||||
DynamicBxArea area_2 = new DynamicBxArea( 0,32,160,32,screen.getProfile() );
|
||||
TextBxPage page_2 = new TextBxPage( "第二个动态区" );
|
||||
page_2.setFont( new Font("宋体",Font.PLAIN,12) );
|
||||
page_2.setDisplayStyle( styles[2] );
|
||||
area_2.addPage( page_2 );
|
||||
screen.writeDynamic( rule_2,area_2 );
|
||||
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
// 动态区和节目一起播放
|
||||
public static void SendDynamicProgram()throws Exception
|
||||
{
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient( "MyScreen",new Bx6E() );
|
||||
|
||||
screen.connect( ip,port );
|
||||
|
||||
ProgramBxFile pf = new ProgramBxFile( 0,screen.getProfile() );
|
||||
|
||||
TextCaptionBxArea area = new TextCaptionBxArea( 0,0,160,32,screen.getProfile() );
|
||||
|
||||
TextBxPage page = new TextBxPage( "这是节目" );
|
||||
|
||||
area.addPage( page );
|
||||
|
||||
pf.addArea( area );
|
||||
|
||||
screen.writeProgram( pf );
|
||||
|
||||
DynamicBxAreaRule rule = new DynamicBxAreaRule();
|
||||
rule.setId(0);
|
||||
rule.setRunMode( (byte)0 );
|
||||
// 新增动态区关联异步节目
|
||||
// 一旦关联了某个异步节目,则该节目和动态区一起播放
|
||||
// 设置动态区和节目关联
|
||||
// 设定是否关联全部节目
|
||||
// true: 所有异步节目播放是都允许播放该动态区
|
||||
// false:由规则来决定
|
||||
rule.setRelativeAllPrograms( false );
|
||||
rule.addRelativeProgram( 0 );
|
||||
|
||||
DynamicBxArea dArea = new DynamicBxArea( 0,32,160,32,screen.getProfile() );
|
||||
|
||||
TextBxPage dPage = new TextBxPage( "这是动态区" );
|
||||
dPage.setDisplayStyle( styles[2] );
|
||||
dPage.setFont( new Font( "宋体",Font.PLAIN,12 ) );
|
||||
|
||||
dArea.addPage( dPage );
|
||||
|
||||
screen.writeDynamic( rule,dArea );
|
||||
|
||||
List<String> pfs = screen.readProgramList();
|
||||
for(String program : pfs)
|
||||
{
|
||||
System.out.println( program );
|
||||
}
|
||||
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
// 关于语音播报区域
|
||||
// 语音播放目前只有六代部分卡支持
|
||||
public static void SendSound()throws Exception
|
||||
{
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient( "MyScreen",new Bx6E() );
|
||||
|
||||
screen.connect( ip,port );
|
||||
|
||||
DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyle[0]);
|
||||
|
||||
ProgramBxFile pf = new ProgramBxFile( "P000",screen.getProfile() );
|
||||
|
||||
// 语音部分
|
||||
TextCaptionBxArea area_sound = new TextCaptionBxArea( 0,0,160,16,screen.getProfile());
|
||||
area_sound.setVoiceContent( "黑A12345请到淀粉副产品库DF-01月台" );// 该字符串会被语音播报
|
||||
area_sound.setVoiceFlag( true );
|
||||
area_sound.setVoiceReplayTimes( 2 );// 设置重复播报3次,如果不设置,默认一直播报
|
||||
// 语音的其他设置都在area_sound中设置
|
||||
|
||||
// 显示部分_1
|
||||
TextCaptionBxArea area_display_1 = new TextCaptionBxArea( 0,0,160,48,screen.getProfile() );
|
||||
TextBxPage page_display_1 = new TextBxPage( "黑A12345" );
|
||||
page_display_1.setFont( new Font( "宋体",Font.PLAIN,30 ) );
|
||||
page_display_1.setVerticalAlignment( TextBinary.Alignment.CENTER );// 设置水平居中
|
||||
page_display_1.setHorizontalAlignment( TextBinary.Alignment.CENTER );// 设置垂直居中
|
||||
page_display_1.setDisplayStyle( styles[2] );
|
||||
area_display_1.addPage( page_display_1 );
|
||||
|
||||
// 显示部分_2
|
||||
TextCaptionBxArea area_display_2 = new TextCaptionBxArea( 0,48,160,48,screen.getProfile() );
|
||||
TextBxPage page_diaplay_2 = new TextBxPage( "请到淀粉副产品库" );
|
||||
page_diaplay_2.newLine( "DF-01月台" );
|
||||
page_diaplay_2.setFont( new Font( "宋体",Font.PLAIN,16 ) );
|
||||
page_diaplay_2.setVerticalAlignment( TextBinary.Alignment.CENTER );
|
||||
page_diaplay_2.setHorizontalAlignment( TextBinary.Alignment.CENTER );
|
||||
page_diaplay_2.setDisplayStyle( styles[2] );
|
||||
area_display_2.addPage( page_diaplay_2 );
|
||||
|
||||
pf.addArea( area_sound );
|
||||
pf.addArea( area_display_1 );
|
||||
pf.addArea( area_display_2 );
|
||||
|
||||
screen.writeProgram( pf );
|
||||
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
// 其他一些常用命令
|
||||
public static void SendCmd()throws Exception
|
||||
{
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient( "MyScreen",new Bx6E() );
|
||||
screen.connect( ip,port );
|
||||
// 关机命令
|
||||
screen.turnOff();
|
||||
// 开机命令
|
||||
screen.turnOn();
|
||||
// ping命令
|
||||
screen.ping();
|
||||
// 查询控制器状态
|
||||
screen.checkControllerStatus();
|
||||
// 查询控制器内存
|
||||
screen.checkMemVolumes();
|
||||
// 校时命令
|
||||
screen.syncTime();
|
||||
// 锁定屏幕当前画面
|
||||
screen.lock();
|
||||
// 解除锁定屏幕当前画面
|
||||
screen.unlock();
|
||||
// 通过以下接口回读控制器状态
|
||||
Bx6GScreen.Result<ReturnControllerStatus> result = screen.checkControllerStatus();
|
||||
if(result.isOK())
|
||||
{
|
||||
ReturnControllerStatus status = result.reply;
|
||||
status.getBrightness(); // 取得亮度值
|
||||
status.getTemperature1(); // 取得温度传感器温度值
|
||||
// status 还有很多接口,根据实际应用进行调用
|
||||
}
|
||||
else
|
||||
{
|
||||
ErrorType error = result.getError();
|
||||
System.out.println( error );
|
||||
}
|
||||
|
||||
|
||||
// WindSpeed 字节数 2 风速(除以10为当前值) 0xffff时无效
|
||||
// WindDirction 字节数 2 风向(当前值) 0xffff时无效
|
||||
// PM2.5 字节数 2 PM2.5值(当前值) 0xffff时无效
|
||||
// PM10 字节数 2 PM10值(当前值) 0xffff时无效
|
||||
Bx6GScreenClient.Result<ReturnNetwork> result1 = screen.searchNetwork();
|
||||
byte[] temp = result1.reply.getReserved1(); // 返回的前8个字节为上面注释里的定义
|
||||
if(temp[1]*256+temp[0]!=0xffff)
|
||||
{
|
||||
System.out.println("风速:"+(temp[1]*256+temp[0])/10);
|
||||
}
|
||||
else
|
||||
{
|
||||
System.out.println("无数据");
|
||||
}
|
||||
if (temp[3]*256+temp[2]!=0xffff)
|
||||
{
|
||||
System.out.println("风向:"+(temp[3]*256+temp[2])); //0:0°北风 1:45°东北风 2:90°东风 3:135°东南风 4:180°南风 5:225°西南风 6:270°西风 7:315°西北风
|
||||
}
|
||||
else
|
||||
{
|
||||
System.out.println("无数据");
|
||||
}
|
||||
|
||||
|
||||
System.out.println("保留字节:"+temp);
|
||||
}
|
||||
|
||||
// 关于串口通讯
|
||||
public static void RsConnect()throws Exception
|
||||
{
|
||||
// 串口创建screen对象 和网口不同
|
||||
Bx6GScreenRS screen = new Bx6GScreenRS( "MyScreen",new Bx6E() );
|
||||
// 串口创建screen对象,指定屏号 屏号范围0-255
|
||||
Bx6GScreenRS screen_1 = new Bx6GScreenRS("MyScreen",new Bx6E(),(byte)0);
|
||||
// 连接控制器 串口号必须大写,否则会出现连接失败
|
||||
screen.connect( "COM2", Bx6GScreenRS.BaudRate.RATE_9600 );
|
||||
screen_1.connect("COM3",Bx6GScreenRS.BaudRate.RATE_9600);
|
||||
//
|
||||
// 断开连接
|
||||
screen.disconnect();
|
||||
}
|
||||
// 设置IO
|
||||
public static void testSetIOState()throws Exception{
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("myscreen",new Bx6E());
|
||||
screen.connect(ip,port);
|
||||
screen.setIOState(9,0);
|
||||
screen.disconnect();
|
||||
}
|
||||
// 更新固件
|
||||
private static byte[] toByteArray(String filePath)throws IOException{
|
||||
InputStream inputStream = new FileInputStream(filePath);
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
byte[] bytes = new byte[1024*4];
|
||||
int n = 0;
|
||||
while((n = inputStream.read(bytes))!=-1){
|
||||
baos.write(bytes,0,n);
|
||||
}
|
||||
inputStream.close();
|
||||
return baos.toByteArray();
|
||||
}
|
||||
public static void updateFirmware()throws Exception{
|
||||
byte[] data = toByteArray("BX-6E1X-V202201211.REL");
|
||||
byte[] crc = new byte[2];
|
||||
short file_crc = BxUtils.CRC16(data,0,data.length-2);
|
||||
crc[0]=(byte)file_crc;
|
||||
crc[1]=(byte)(file_crc>>8);
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("screen",new Bx6E());
|
||||
screen.connect(ip,port);
|
||||
System.out.println("更新前固件" + screen.checkFirmware());
|
||||
screen.writeFile("F001", FileType.FIRMWARE,data,crc);
|
||||
screen.activateFirmware("F001");
|
||||
Thread.sleep(10000);
|
||||
System.out.println("更新后固件" + screen.checkFirmware());
|
||||
screen.disconnect();
|
||||
}
|
||||
|
||||
// 截屏功能使用
|
||||
public static void capture()throws Exception{
|
||||
Bx6GScreenClient screen = new Bx6GScreenClient("screen",new Bx6E());
|
||||
|
||||
screen.connect(ip,port);
|
||||
Bx6GScreen.Result<ReturnScreenCapture> result = screen.screenCapture(true, 0, 0, 32, 32);
|
||||
System.out.println(result.isOK());
|
||||
System.out.println("================");
|
||||
ScreenCaptrueFile file = screen.readScreenCaptrue();
|
||||
BufferedImage img = ImageBinary.decode(file.getData(), result.reply.getScreenWidth(),
|
||||
result.reply.getScreenHeight(),
|
||||
(file.getColor() == 1 ? Bx6GScreenProfile.ScreenColorType.SINGLE : Bx6GScreenProfile.ScreenColorType.DOUBLE));
|
||||
String path = "F://a//a.png";
|
||||
ImageBinary.savePNG(path, img);
|
||||
screen.disconnect();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,146 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:49 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="onbon/bx05/area/AbstractTimeClockBxArea.html" title="class in onbon.bx05.area" target="classFrame">AbstractTimeClockBxArea</a></li>
|
||||
<li><a href="onbon/bx05/utils/AddressUtils.html" title="class in onbon.bx05.utils" target="classFrame">AddressUtils</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/AmPmBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">AmPmBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/AnalogClockBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">AnalogClockBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series" target="classFrame">Bx5G</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GBrightnessClockEnv.html" title="class in onbon.bx05" target="classFrame">Bx5GBrightnessClockEnv</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GBrightnessSensorEnv.html" title="class in onbon.bx05" target="classFrame">Bx5GBrightnessSensorEnv</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GCommException.html" title="class in onbon.bx05" target="classFrame">Bx5GCommException</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GController.html" title="class in onbon.bx05" target="classFrame">Bx5GController</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05" target="classFrame">Bx5GController.RunMode</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GControllerClient.html" title="class in onbon.bx05" target="classFrame">Bx5GControllerClient</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GControllerRS.html" title="class in onbon.bx05" target="classFrame">Bx5GControllerRS</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GControllerServer.html" title="class in onbon.bx05" target="classFrame">Bx5GControllerServer</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GEnv.html" title="class in onbon.bx05" target="classFrame">Bx5GEnv</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GException.html" title="class in onbon.bx05" target="classFrame">Bx5GException</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GMessageMgr.html" title="class in onbon.bx05" target="classFrame">Bx5GMessageMgr</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GMessageMgrSvr.html" title="class in onbon.bx05" target="classFrame">Bx5GMessageMgrSvr</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GRequestCmd.html" title="interface in onbon.bx05" target="classFrame"><i>Bx5GRequestCmd</i></a></li>
|
||||
<li><a href="onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05" target="classFrame">Bx5GResponseCmd</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05" target="classFrame">Bx5GScreen</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenClient.html" title="class in onbon.bx05" target="classFrame">Bx5GScreenClient</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenProfile.html" title="class in onbon.bx05" target="classFrame">Bx5GScreenProfile</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05" target="classFrame">Bx5GScreenProfile.ScreenColorType</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05" target="classFrame">Bx5GScreenProfile.ScreenMatrixType</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenRS.html" title="class in onbon.bx05" target="classFrame">Bx5GScreenRS</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05" target="classFrame">Bx5GScreenRS.BaudRate</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenServer.html" title="class in onbon.bx05" target="classFrame">Bx5GScreenServer</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GServer.html" title="class in onbon.bx05" target="classFrame">Bx5GServer</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GServerListener.html" title="interface in onbon.bx05" target="classFrame"><i>Bx5GServerListener</i></a></li>
|
||||
<li><a href="onbon/bx05/series/Bx5Q.html" title="class in onbon.bx05.series" target="classFrame">Bx5Q</a></li>
|
||||
<li><a href="onbon/bx05/area/BxArea.html" title="class in onbon.bx05.area" target="classFrame">BxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/BxArea.PolarType.html" title="enum in onbon.bx05.area" target="classFrame">BxArea.PolarType</a></li>
|
||||
<li><a href="onbon/bx05/file/BxFile.html" title="interface in onbon.bx05.file" target="classFrame"><i>BxFile</i></a></li>
|
||||
<li><a href="onbon/bx05/file/BxFile.Binary.html" title="class in onbon.bx05.file" target="classFrame">BxFile.Binary</a></li>
|
||||
<li><a href="onbon/bx05/file/BxFileReader.html" title="class in onbon.bx05.file" target="classFrame">BxFileReader</a></li>
|
||||
<li><a href="onbon/bx05/file/BxFileReaderListener.html" title="interface in onbon.bx05.file" target="classFrame"><i>BxFileReaderListener</i></a></li>
|
||||
<li><a href="onbon/bx05/file/BxFileWriter.html" title="class in onbon.bx05.file" target="classFrame">BxFileWriter</a></li>
|
||||
<li><a href="onbon/bx05/file/BxFileWriterListener.html" title="interface in onbon.bx05.file" target="classFrame"><i>BxFileWriterListener</i></a></li>
|
||||
<li><a href="onbon/bx05/area/page/BxPage.html" title="class in onbon.bx05.area.page" target="classFrame">BxPage</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/BxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">BxUnit</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/CancelScreenTimingOnOffCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">CancelScreenTimingOnOffCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/CheckControllerStatusCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">CheckControllerStatusCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/CheckCurrentFirmwareCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">CheckCurrentFirmwareCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/tcp/CheckHealthCmd.html" title="class in onbon.bx05.cmd.tcp" target="classFrame">CheckHealthCmd</a></li>
|
||||
<li><a href="onbon/bx05/CheckHealthIn.html" title="class in onbon.bx05" target="classFrame">CheckHealthIn</a></li>
|
||||
<li><a href="onbon/bx05/area/ClockBxArea.html" title="class in onbon.bx05.area" target="classFrame">ClockBxArea</a></li>
|
||||
<li><a href="onbon/bx05/utils/ColorType1.html" title="class in onbon.bx05.utils" target="classFrame">ColorType1</a></li>
|
||||
<li><a href="onbon/bx05/utils/ColorType2.html" title="class in onbon.bx05.utils" target="classFrame">ColorType2</a></li>
|
||||
<li><a href="onbon/bx05/utils/ColorType565.html" title="class in onbon.bx05.utils" target="classFrame">ColorType565</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CommonBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">CommonBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CommonBxUnit.LangType.html" title="enum in onbon.bx05.area.unit" target="classFrame">CommonBxUnit.LangType</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CompositeBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">CompositeBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/file/ControllerConfigBxFile.html" title="class in onbon.bx05.file" target="classFrame">ControllerConfigBxFile</a></li>
|
||||
<li><a href="onbon/bx05/area/CounterBxArea.html" title="class in onbon.bx05.area" target="classFrame">CounterBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CounterBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">CounterBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CounterBxUnit.CounterBxUnitFormat.html" title="class in onbon.bx05.area.unit" target="classFrame">CounterBxUnit.CounterBxUnitFormat</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CounterBxUnit.CounterBxUnitMode.html" title="enum in onbon.bx05.area.unit" target="classFrame">CounterBxUnit.CounterBxUnitMode</a></li>
|
||||
<li><a href="onbon/bx05/area/DateStyle.html" title="enum in onbon.bx05.area" target="classFrame">DateStyle</a></li>
|
||||
<li><a href="onbon/bx05/area/DateTimeBxArea.html" title="class in onbon.bx05.area" target="classFrame">DateTimeBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/DayBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">DayBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/DayBxUnit.DayBxUnitMode.html" title="enum in onbon.bx05.area.unit" target="classFrame">DayBxUnit.DayBxUnitMode</a></li>
|
||||
<li><a href="onbon/bx05/area/DefaultTimeClockBxArea.html" title="class in onbon.bx05.area" target="classFrame">DefaultTimeClockBxArea</a></li>
|
||||
<li><a href="onbon/bx05/cmd/dyn7/DeleteDynamicAreaCmd.html" title="class in onbon.bx05.cmd.dyn7" target="classFrame">DeleteDynamicAreaCmd</a></li>
|
||||
<li><a href="onbon/bx05/utils/DisplayStyleFactory.html" title="class in onbon.bx05.utils" target="classFrame">DisplayStyleFactory</a></li>
|
||||
<li><a href="onbon/bx05/utils/DisplayStyleFactory.DisplayStyle.html" title="class in onbon.bx05.utils" target="classFrame">DisplayStyleFactory.DisplayStyle</a></li>
|
||||
<li><a href="onbon/bx05/cmd/dyn7/DynamicBxAreaRule.html" title="class in onbon.bx05.cmd.dyn7" target="classFrame">DynamicBxAreaRule</a></li>
|
||||
<li><a href="onbon/bx05/area/FestivalBxArea.html" title="class in onbon.bx05.area" target="classFrame">FestivalBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/FestivalBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">FestivalBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/FileDeleteCmd.html" title="class in onbon.bx05.cmd.ofs" target="classFrame">FileDeleteCmd</a></li>
|
||||
<li><a href="onbon/bx05/res/FrameStyleImage.html" title="class in onbon.bx05.res" target="classFrame">FrameStyleImage</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/GetBrightnessValueCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">GetBrightnessValueCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/GetMemVolumeCmd.html" title="class in onbon.bx05.cmd.ofs" target="classFrame">GetMemVolumeCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/GetTransStatusCmd.html" title="class in onbon.bx05.cmd.ofs" target="classFrame">GetTransStatusCmd</a></li>
|
||||
<li><a href="onbon/bx05/GRPSHealthIn.html" title="class in onbon.bx05" target="classFrame">GRPSHealthIn</a></li>
|
||||
<li><a href="onbon/bx05/GRPSIn.html" title="class in onbon.bx05" target="classFrame">GRPSIn</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/HourBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">HourBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/HourBxUnit.HourBxUnitMode.html" title="enum in onbon.bx05.area.unit" target="classFrame">HourBxUnit.HourBxUnitMode</a></li>
|
||||
<li><a href="onbon/bx05/area/HumidityBxArea.html" title="class in onbon.bx05.area" target="classFrame">HumidityBxArea</a></li>
|
||||
<li><a href="onbon/bx05/utils/ImageBinary.html" title="class in onbon.bx05.utils" target="classFrame">ImageBinary</a></li>
|
||||
<li><a href="onbon/bx05/area/page/ImageBxPage.html" title="class in onbon.bx05.area.page" target="classFrame">ImageBxPage</a></li>
|
||||
<li><a href="onbon/bx05/area/page/ImageFileBxPage.html" title="class in onbon.bx05.area.page" target="classFrame">ImageFileBxPage</a></li>
|
||||
<li><a href="onbon/bx05/file/LogoBxFile.html" title="class in onbon.bx05.file" target="classFrame">LogoBxFile</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/MinuteBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">MinuteBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ModifyBrightnessCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">ModifyBrightnessCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ModifyBrightnessCmd.ModeType.html" title="enum in onbon.bx05.cmd.led" target="classFrame">ModifyBrightnessCmd.ModeType</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/MonthBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">MonthBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/MonthBxUnit.MonthBxUnitMode.html" title="enum in onbon.bx05.area.unit" target="classFrame">MonthBxUnit.MonthBxUnitMode</a></li>
|
||||
<li><a href="onbon/bx05/area/NoiseBxArea.html" title="class in onbon.bx05.area" target="classFrame">NoiseBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/NoiseBxArea.DisplayType.html" title="enum in onbon.bx05.area" target="classFrame">NoiseBxArea.DisplayType</a></li>
|
||||
<li><a href="onbon/bx05/file/ProgramBxFile.html" title="class in onbon.bx05.file" target="classFrame">ProgramBxFile</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ProgramLockCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">ProgramLockCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ReadControllerIDCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">ReadControllerIDCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ReadCopyrightInfoCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">ReadCopyrightInfoCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/ReadDirBlockCmd.html" title="class in onbon.bx05.cmd.ofs" target="classFrame">ReadDirBlockCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/ReadFileBlockCmd.html" title="class in onbon.bx05.cmd.ofs" target="classFrame">ReadFileBlockCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ScreenLockCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">ScreenLockCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ScreenTimingOnOffCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">ScreenTimingOnOffCmd</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/SecondBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">SecondBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/SetDstAddressCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">SetDstAddressCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/tcp/SetupAddressCmd.html" title="class in onbon.bx05.cmd.tcp" target="classFrame">SetupAddressCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/tcp/SetupMACCmd.html" title="class in onbon.bx05.cmd.tcp" target="classFrame">SetupMACCmd</a></li>
|
||||
<li><a href="onbon/bx05/area/page/SimpleBxPage.html" title="class in onbon.bx05.area.page" target="classFrame">SimpleBxPage</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/StartReadDirCmd.html" title="class in onbon.bx05.cmd.ofs" target="classFrame">StartReadDirCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/StartReadFileCmd.html" title="class in onbon.bx05.cmd.ofs" target="classFrame">StartReadFileCmd</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/StringBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">StringBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/SwitchOnOffScreenCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">SwitchOnOffScreenCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/SystemClockCorrectCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">SystemClockCorrectCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/SystemResetCmd.html" title="class in onbon.bx05.cmd.led" target="classFrame">SystemResetCmd</a></li>
|
||||
<li><a href="onbon/bx05/area/TemperatureBxArea.html" title="class in onbon.bx05.area" target="classFrame">TemperatureBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/TemperatureBxArea.DisplayType.html" title="enum in onbon.bx05.area" target="classFrame">TemperatureBxArea.DisplayType</a></li>
|
||||
<li><a href="onbon/bx05/utils/TextBinary.html" title="class in onbon.bx05.utils" target="classFrame">TextBinary</a></li>
|
||||
<li><a href="onbon/bx05/utils/TextBinary.Alignment.html" title="enum in onbon.bx05.utils" target="classFrame">TextBinary.Alignment</a></li>
|
||||
<li><a href="onbon/bx05/utils/TextBinary.BreakType.html" title="enum in onbon.bx05.utils" target="classFrame">TextBinary.BreakType</a></li>
|
||||
<li><a href="onbon/bx05/area/page/TextBxPage.html" title="class in onbon.bx05.area.page" target="classFrame">TextBxPage</a></li>
|
||||
<li><a href="onbon/bx05/area/TextCaptionBxArea.html" title="class in onbon.bx05.area" target="classFrame">TextCaptionBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/page/TextFileBxPage.html" title="class in onbon.bx05.area.page" target="classFrame">TextFileBxPage</a></li>
|
||||
<li><a href="onbon/bx05/area/TimerBxArea.html" title="class in onbon.bx05.area" target="classFrame">TimerBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/TimerBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">TimerBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/TimerBxUnit.TimerBxUnitFormat.html" title="class in onbon.bx05.area.unit" target="classFrame">TimerBxUnit.TimerBxUnitFormat</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/TimerBxUnit.TimerBxUnitMode.html" title="enum in onbon.bx05.area.unit" target="classFrame">TimerBxUnit.TimerBxUnitMode</a></li>
|
||||
<li><a href="onbon/bx05/area/TimeStyle.html" title="enum in onbon.bx05.area" target="classFrame">TimeStyle</a></li>
|
||||
<li><a href="onbon/bx05/cmd/dyn7/UpdateDynamicAreaCmd.html" title="class in onbon.bx05.cmd.dyn7" target="classFrame">UpdateDynamicAreaCmd</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/WeekBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">WeekBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/WeekStyle.html" title="enum in onbon.bx05.area" target="classFrame">WeekStyle</a></li>
|
||||
<li><a href="onbon/bx05/utils/WordBinary.html" title="class in onbon.bx05.utils" target="classFrame">WordBinary</a></li>
|
||||
<li><a href="onbon/bx05/utils/WordBinary.WordInfo.html" title="class in onbon.bx05.utils" target="classFrame">WordBinary.WordInfo</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/YearBxUnit.html" title="class in onbon.bx05.area.unit" target="classFrame">YearBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/YearBxUnit.YearBxUnitMode.html" title="enum in onbon.bx05.area.unit" target="classFrame">YearBxUnit.YearBxUnitMode</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,146 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:49 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="onbon/bx05/area/AbstractTimeClockBxArea.html" title="class in onbon.bx05.area">AbstractTimeClockBxArea</a></li>
|
||||
<li><a href="onbon/bx05/utils/AddressUtils.html" title="class in onbon.bx05.utils">AddressUtils</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/AmPmBxUnit.html" title="class in onbon.bx05.area.unit">AmPmBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/AnalogClockBxUnit.html" title="class in onbon.bx05.area.unit">AnalogClockBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GBrightnessClockEnv.html" title="class in onbon.bx05">Bx5GBrightnessClockEnv</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GBrightnessSensorEnv.html" title="class in onbon.bx05">Bx5GBrightnessSensorEnv</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GCommException.html" title="class in onbon.bx05">Bx5GCommException</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GControllerClient.html" title="class in onbon.bx05">Bx5GControllerClient</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GControllerRS.html" title="class in onbon.bx05">Bx5GControllerRS</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GControllerServer.html" title="class in onbon.bx05">Bx5GControllerServer</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GEnv.html" title="class in onbon.bx05">Bx5GEnv</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GException.html" title="class in onbon.bx05">Bx5GException</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GMessageMgr.html" title="class in onbon.bx05">Bx5GMessageMgr</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GMessageMgrSvr.html" title="class in onbon.bx05">Bx5GMessageMgrSvr</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GRequestCmd.html" title="interface in onbon.bx05"><i>Bx5GRequestCmd</i></a></li>
|
||||
<li><a href="onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05">Bx5GResponseCmd</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05">Bx5GScreen</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenClient.html" title="class in onbon.bx05">Bx5GScreenClient</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenProfile.html" title="class in onbon.bx05">Bx5GScreenProfile</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenRS.html" title="class in onbon.bx05">Bx5GScreenRS</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05">Bx5GScreenRS.BaudRate</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GScreenServer.html" title="class in onbon.bx05">Bx5GScreenServer</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GServer.html" title="class in onbon.bx05">Bx5GServer</a></li>
|
||||
<li><a href="onbon/bx05/Bx5GServerListener.html" title="interface in onbon.bx05"><i>Bx5GServerListener</i></a></li>
|
||||
<li><a href="onbon/bx05/series/Bx5Q.html" title="class in onbon.bx05.series">Bx5Q</a></li>
|
||||
<li><a href="onbon/bx05/area/BxArea.html" title="class in onbon.bx05.area">BxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/BxArea.PolarType.html" title="enum in onbon.bx05.area">BxArea.PolarType</a></li>
|
||||
<li><a href="onbon/bx05/file/BxFile.html" title="interface in onbon.bx05.file"><i>BxFile</i></a></li>
|
||||
<li><a href="onbon/bx05/file/BxFile.Binary.html" title="class in onbon.bx05.file">BxFile.Binary</a></li>
|
||||
<li><a href="onbon/bx05/file/BxFileReader.html" title="class in onbon.bx05.file">BxFileReader</a></li>
|
||||
<li><a href="onbon/bx05/file/BxFileReaderListener.html" title="interface in onbon.bx05.file"><i>BxFileReaderListener</i></a></li>
|
||||
<li><a href="onbon/bx05/file/BxFileWriter.html" title="class in onbon.bx05.file">BxFileWriter</a></li>
|
||||
<li><a href="onbon/bx05/file/BxFileWriterListener.html" title="interface in onbon.bx05.file"><i>BxFileWriterListener</i></a></li>
|
||||
<li><a href="onbon/bx05/area/page/BxPage.html" title="class in onbon.bx05.area.page">BxPage</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/BxUnit.html" title="class in onbon.bx05.area.unit">BxUnit</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/CancelScreenTimingOnOffCmd.html" title="class in onbon.bx05.cmd.led">CancelScreenTimingOnOffCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/CheckControllerStatusCmd.html" title="class in onbon.bx05.cmd.led">CheckControllerStatusCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/CheckCurrentFirmwareCmd.html" title="class in onbon.bx05.cmd.led">CheckCurrentFirmwareCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/tcp/CheckHealthCmd.html" title="class in onbon.bx05.cmd.tcp">CheckHealthCmd</a></li>
|
||||
<li><a href="onbon/bx05/CheckHealthIn.html" title="class in onbon.bx05">CheckHealthIn</a></li>
|
||||
<li><a href="onbon/bx05/area/ClockBxArea.html" title="class in onbon.bx05.area">ClockBxArea</a></li>
|
||||
<li><a href="onbon/bx05/utils/ColorType1.html" title="class in onbon.bx05.utils">ColorType1</a></li>
|
||||
<li><a href="onbon/bx05/utils/ColorType2.html" title="class in onbon.bx05.utils">ColorType2</a></li>
|
||||
<li><a href="onbon/bx05/utils/ColorType565.html" title="class in onbon.bx05.utils">ColorType565</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CommonBxUnit.html" title="class in onbon.bx05.area.unit">CommonBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CommonBxUnit.LangType.html" title="enum in onbon.bx05.area.unit">CommonBxUnit.LangType</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CompositeBxUnit.html" title="class in onbon.bx05.area.unit">CompositeBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/file/ControllerConfigBxFile.html" title="class in onbon.bx05.file">ControllerConfigBxFile</a></li>
|
||||
<li><a href="onbon/bx05/area/CounterBxArea.html" title="class in onbon.bx05.area">CounterBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CounterBxUnit.html" title="class in onbon.bx05.area.unit">CounterBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CounterBxUnit.CounterBxUnitFormat.html" title="class in onbon.bx05.area.unit">CounterBxUnit.CounterBxUnitFormat</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/CounterBxUnit.CounterBxUnitMode.html" title="enum in onbon.bx05.area.unit">CounterBxUnit.CounterBxUnitMode</a></li>
|
||||
<li><a href="onbon/bx05/area/DateStyle.html" title="enum in onbon.bx05.area">DateStyle</a></li>
|
||||
<li><a href="onbon/bx05/area/DateTimeBxArea.html" title="class in onbon.bx05.area">DateTimeBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/DayBxUnit.html" title="class in onbon.bx05.area.unit">DayBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/DayBxUnit.DayBxUnitMode.html" title="enum in onbon.bx05.area.unit">DayBxUnit.DayBxUnitMode</a></li>
|
||||
<li><a href="onbon/bx05/area/DefaultTimeClockBxArea.html" title="class in onbon.bx05.area">DefaultTimeClockBxArea</a></li>
|
||||
<li><a href="onbon/bx05/cmd/dyn7/DeleteDynamicAreaCmd.html" title="class in onbon.bx05.cmd.dyn7">DeleteDynamicAreaCmd</a></li>
|
||||
<li><a href="onbon/bx05/utils/DisplayStyleFactory.html" title="class in onbon.bx05.utils">DisplayStyleFactory</a></li>
|
||||
<li><a href="onbon/bx05/utils/DisplayStyleFactory.DisplayStyle.html" title="class in onbon.bx05.utils">DisplayStyleFactory.DisplayStyle</a></li>
|
||||
<li><a href="onbon/bx05/cmd/dyn7/DynamicBxAreaRule.html" title="class in onbon.bx05.cmd.dyn7">DynamicBxAreaRule</a></li>
|
||||
<li><a href="onbon/bx05/area/FestivalBxArea.html" title="class in onbon.bx05.area">FestivalBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/FestivalBxUnit.html" title="class in onbon.bx05.area.unit">FestivalBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/FileDeleteCmd.html" title="class in onbon.bx05.cmd.ofs">FileDeleteCmd</a></li>
|
||||
<li><a href="onbon/bx05/res/FrameStyleImage.html" title="class in onbon.bx05.res">FrameStyleImage</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/GetBrightnessValueCmd.html" title="class in onbon.bx05.cmd.led">GetBrightnessValueCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/GetMemVolumeCmd.html" title="class in onbon.bx05.cmd.ofs">GetMemVolumeCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/GetTransStatusCmd.html" title="class in onbon.bx05.cmd.ofs">GetTransStatusCmd</a></li>
|
||||
<li><a href="onbon/bx05/GRPSHealthIn.html" title="class in onbon.bx05">GRPSHealthIn</a></li>
|
||||
<li><a href="onbon/bx05/GRPSIn.html" title="class in onbon.bx05">GRPSIn</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/HourBxUnit.html" title="class in onbon.bx05.area.unit">HourBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/HourBxUnit.HourBxUnitMode.html" title="enum in onbon.bx05.area.unit">HourBxUnit.HourBxUnitMode</a></li>
|
||||
<li><a href="onbon/bx05/area/HumidityBxArea.html" title="class in onbon.bx05.area">HumidityBxArea</a></li>
|
||||
<li><a href="onbon/bx05/utils/ImageBinary.html" title="class in onbon.bx05.utils">ImageBinary</a></li>
|
||||
<li><a href="onbon/bx05/area/page/ImageBxPage.html" title="class in onbon.bx05.area.page">ImageBxPage</a></li>
|
||||
<li><a href="onbon/bx05/area/page/ImageFileBxPage.html" title="class in onbon.bx05.area.page">ImageFileBxPage</a></li>
|
||||
<li><a href="onbon/bx05/file/LogoBxFile.html" title="class in onbon.bx05.file">LogoBxFile</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/MinuteBxUnit.html" title="class in onbon.bx05.area.unit">MinuteBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ModifyBrightnessCmd.html" title="class in onbon.bx05.cmd.led">ModifyBrightnessCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ModifyBrightnessCmd.ModeType.html" title="enum in onbon.bx05.cmd.led">ModifyBrightnessCmd.ModeType</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/MonthBxUnit.html" title="class in onbon.bx05.area.unit">MonthBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/MonthBxUnit.MonthBxUnitMode.html" title="enum in onbon.bx05.area.unit">MonthBxUnit.MonthBxUnitMode</a></li>
|
||||
<li><a href="onbon/bx05/area/NoiseBxArea.html" title="class in onbon.bx05.area">NoiseBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/NoiseBxArea.DisplayType.html" title="enum in onbon.bx05.area">NoiseBxArea.DisplayType</a></li>
|
||||
<li><a href="onbon/bx05/file/ProgramBxFile.html" title="class in onbon.bx05.file">ProgramBxFile</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ProgramLockCmd.html" title="class in onbon.bx05.cmd.led">ProgramLockCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ReadControllerIDCmd.html" title="class in onbon.bx05.cmd.led">ReadControllerIDCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ReadCopyrightInfoCmd.html" title="class in onbon.bx05.cmd.led">ReadCopyrightInfoCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/ReadDirBlockCmd.html" title="class in onbon.bx05.cmd.ofs">ReadDirBlockCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/ReadFileBlockCmd.html" title="class in onbon.bx05.cmd.ofs">ReadFileBlockCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ScreenLockCmd.html" title="class in onbon.bx05.cmd.led">ScreenLockCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/ScreenTimingOnOffCmd.html" title="class in onbon.bx05.cmd.led">ScreenTimingOnOffCmd</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/SecondBxUnit.html" title="class in onbon.bx05.area.unit">SecondBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/SetDstAddressCmd.html" title="class in onbon.bx05.cmd.led">SetDstAddressCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/tcp/SetupAddressCmd.html" title="class in onbon.bx05.cmd.tcp">SetupAddressCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/tcp/SetupMACCmd.html" title="class in onbon.bx05.cmd.tcp">SetupMACCmd</a></li>
|
||||
<li><a href="onbon/bx05/area/page/SimpleBxPage.html" title="class in onbon.bx05.area.page">SimpleBxPage</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/StartReadDirCmd.html" title="class in onbon.bx05.cmd.ofs">StartReadDirCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/ofs/StartReadFileCmd.html" title="class in onbon.bx05.cmd.ofs">StartReadFileCmd</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/StringBxUnit.html" title="class in onbon.bx05.area.unit">StringBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/SwitchOnOffScreenCmd.html" title="class in onbon.bx05.cmd.led">SwitchOnOffScreenCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/SystemClockCorrectCmd.html" title="class in onbon.bx05.cmd.led">SystemClockCorrectCmd</a></li>
|
||||
<li><a href="onbon/bx05/cmd/led/SystemResetCmd.html" title="class in onbon.bx05.cmd.led">SystemResetCmd</a></li>
|
||||
<li><a href="onbon/bx05/area/TemperatureBxArea.html" title="class in onbon.bx05.area">TemperatureBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/TemperatureBxArea.DisplayType.html" title="enum in onbon.bx05.area">TemperatureBxArea.DisplayType</a></li>
|
||||
<li><a href="onbon/bx05/utils/TextBinary.html" title="class in onbon.bx05.utils">TextBinary</a></li>
|
||||
<li><a href="onbon/bx05/utils/TextBinary.Alignment.html" title="enum in onbon.bx05.utils">TextBinary.Alignment</a></li>
|
||||
<li><a href="onbon/bx05/utils/TextBinary.BreakType.html" title="enum in onbon.bx05.utils">TextBinary.BreakType</a></li>
|
||||
<li><a href="onbon/bx05/area/page/TextBxPage.html" title="class in onbon.bx05.area.page">TextBxPage</a></li>
|
||||
<li><a href="onbon/bx05/area/TextCaptionBxArea.html" title="class in onbon.bx05.area">TextCaptionBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/page/TextFileBxPage.html" title="class in onbon.bx05.area.page">TextFileBxPage</a></li>
|
||||
<li><a href="onbon/bx05/area/TimerBxArea.html" title="class in onbon.bx05.area">TimerBxArea</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/TimerBxUnit.html" title="class in onbon.bx05.area.unit">TimerBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/TimerBxUnit.TimerBxUnitFormat.html" title="class in onbon.bx05.area.unit">TimerBxUnit.TimerBxUnitFormat</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/TimerBxUnit.TimerBxUnitMode.html" title="enum in onbon.bx05.area.unit">TimerBxUnit.TimerBxUnitMode</a></li>
|
||||
<li><a href="onbon/bx05/area/TimeStyle.html" title="enum in onbon.bx05.area">TimeStyle</a></li>
|
||||
<li><a href="onbon/bx05/cmd/dyn7/UpdateDynamicAreaCmd.html" title="class in onbon.bx05.cmd.dyn7">UpdateDynamicAreaCmd</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/WeekBxUnit.html" title="class in onbon.bx05.area.unit">WeekBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/WeekStyle.html" title="enum in onbon.bx05.area">WeekStyle</a></li>
|
||||
<li><a href="onbon/bx05/utils/WordBinary.html" title="class in onbon.bx05.utils">WordBinary</a></li>
|
||||
<li><a href="onbon/bx05/utils/WordBinary.WordInfo.html" title="class in onbon.bx05.utils">WordBinary.WordInfo</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/YearBxUnit.html" title="class in onbon.bx05.area.unit">YearBxUnit</a></li>
|
||||
<li><a href="onbon/bx05/area/unit/YearBxUnit.YearBxUnitMode.html" title="enum in onbon.bx05.area.unit">YearBxUnit.YearBxUnitMode</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,171 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:46 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Constant Field Values</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
<ul>
|
||||
<li><a href="#onbon.bx05">onbon.bx05.*</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="constantValuesContainer"><a name="onbon.bx05">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 title="onbon.bx05">onbon.bx05.*</h2>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
|
||||
<caption><span>onbon.bx05.<a href="onbon/bx05/Bx5GEnv.html" title="class in onbon.bx05">Bx5GEnv</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th scope="col">Constant Field</th>
|
||||
<th class="colLast" scope="col">Value</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="onbon.bx05.Bx5GEnv.VER_INFO">
|
||||
<!-- -->
|
||||
</a><code>public static final java.lang.String</code></td>
|
||||
<td><code><a href="onbon/bx05/Bx5GEnv.html#VER_INFO">VER_INFO</a></code></td>
|
||||
<td class="colLast"><code>"BX5G API 0.2.0.0 update 170118A"</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
|
||||
<caption><span>onbon.bx05.area.<a href="onbon/bx05/area/NoiseBxArea.html" title="class in onbon.bx05.area">NoiseBxArea</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th scope="col">Constant Field</th>
|
||||
<th class="colLast" scope="col">Value</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="onbon.bx05.area.NoiseBxArea.SENSOR_HZ_IH">
|
||||
<!-- -->
|
||||
</a><code>public static final byte</code></td>
|
||||
<td><code><a href="onbon/bx05/area/NoiseBxArea.html#SENSOR_HZ_IH">SENSOR_HZ_IH</a></code></td>
|
||||
<td class="colLast"><code>1</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="onbon.bx05.area.NoiseBxArea.SENSOR_JX_HS">
|
||||
<!-- -->
|
||||
</a><code>public static final byte</code></td>
|
||||
<td><code><a href="onbon/bx05/area/NoiseBxArea.html#SENSOR_JX_HS">SENSOR_JX_HS</a></code></td>
|
||||
<td class="colLast"><code>0</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,215 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:49 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>API Help</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="API Help";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">How This API Document Is Organized</h1>
|
||||
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h2>Overview</h2>
|
||||
<p>The <a href="overview-summary.html">Overview</a> page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Package</h2>
|
||||
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
|
||||
<ul>
|
||||
<li>Interfaces (italic)</li>
|
||||
<li>Classes</li>
|
||||
<li>Enums</li>
|
||||
<li>Exceptions</li>
|
||||
<li>Errors</li>
|
||||
<li>Annotation Types</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Class/Interface</h2>
|
||||
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
|
||||
<ul>
|
||||
<li>Class inheritance diagram</li>
|
||||
<li>Direct Subclasses</li>
|
||||
<li>All Known Subinterfaces</li>
|
||||
<li>All Known Implementing Classes</li>
|
||||
<li>Class/interface declaration</li>
|
||||
<li>Class/interface description</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Nested Class Summary</li>
|
||||
<li>Field Summary</li>
|
||||
<li>Constructor Summary</li>
|
||||
<li>Method Summary</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>Field Detail</li>
|
||||
<li>Constructor Detail</li>
|
||||
<li>Method Detail</li>
|
||||
</ul>
|
||||
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Annotation Type</h2>
|
||||
<p>Each annotation type has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Annotation Type declaration</li>
|
||||
<li>Annotation Type description</li>
|
||||
<li>Required Element Summary</li>
|
||||
<li>Optional Element Summary</li>
|
||||
<li>Element Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Enum</h2>
|
||||
<p>Each enum has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Enum declaration</li>
|
||||
<li>Enum description</li>
|
||||
<li>Enum Constant Summary</li>
|
||||
<li>Enum Constant Detail</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Use</h2>
|
||||
<p>Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Tree (Class Hierarchy)</h2>
|
||||
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
|
||||
<ul>
|
||||
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
|
||||
<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Index</h2>
|
||||
<p>The <a href="index-all.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Prev/Next</h2>
|
||||
<p>These links take you to the next or previous class, interface, package, or related page.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Frames/No Frames</h2>
|
||||
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>All Classes</h2>
|
||||
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Serialized Form</h2>
|
||||
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<h2>Constant Field Values</h2>
|
||||
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<em>This help file applies to API documentation generated using the standard doclet.</em></div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
|
||||
<li><a href="help-doc.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,75 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc on Wed Jan 18 13:20:49 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Generated Documentation (Untitled)</title>
|
||||
<script type="text/javascript">
|
||||
targetPage = "" + window.location.search;
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
targetPage = targetPage.substring(1);
|
||||
if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
|
||||
targetPage = "undefined";
|
||||
function validURL(url) {
|
||||
try {
|
||||
url = decodeURIComponent(url);
|
||||
}
|
||||
catch (error) {
|
||||
return false;
|
||||
}
|
||||
var pos = url.indexOf(".html");
|
||||
if (pos == -1 || pos != url.length - 5)
|
||||
return false;
|
||||
var allowNumber = false;
|
||||
var allowSep = false;
|
||||
var seenDot = false;
|
||||
for (var i = 0; i < url.length - 5; i++) {
|
||||
var ch = url.charAt(i);
|
||||
if ('a' <= ch && ch <= 'z' ||
|
||||
'A' <= ch && ch <= 'Z' ||
|
||||
ch == '$' ||
|
||||
ch == '_' ||
|
||||
ch.charCodeAt(0) > 127) {
|
||||
allowNumber = true;
|
||||
allowSep = true;
|
||||
} else if ('0' <= ch && ch <= '9'
|
||||
|| ch == '-') {
|
||||
if (!allowNumber)
|
||||
return false;
|
||||
} else if (ch == '/' || ch == '.') {
|
||||
if (!allowSep)
|
||||
return false;
|
||||
allowNumber = false;
|
||||
allowSep = false;
|
||||
if (ch == '.')
|
||||
seenDot = true;
|
||||
if (ch == '/' && seenDot)
|
||||
return false;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
function loadFrames() {
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
top.classFrame.location = top.targetPage;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
|
||||
<frameset rows="30%,70%" title="Left frames" onload="top.loadFrames()">
|
||||
<frame src="overview-frame.html" name="packageListFrame" title="All Packages">
|
||||
<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
|
||||
</frameset>
|
||||
<frame src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
|
||||
<noframes>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<h2>Frame Alert</h2>
|
||||
<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p>
|
||||
</noframes>
|
||||
</frameset>
|
||||
</html>
|
||||
|
|
@ -1,282 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GBrightnessClockEnv</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GBrightnessClockEnv";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GBrightnessClockEnv.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../onbon/bx05/Bx5GBrightnessSensorEnv.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GBrightnessClockEnv.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GBrightnessClockEnv.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GBrightnessClockEnv" class="title">Class Bx5GBrightnessClockEnv</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GBrightnessClockEnv</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Bx5GBrightnessClockEnv</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">時間亮度設定。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GBrightnessClockEnv.html#Bx5GBrightnessClockEnv()">Bx5GBrightnessClockEnv</a></strong>()</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GBrightnessClockEnv.html#generate()">generate</a></strong>()</code>
|
||||
<div class="block">產生資料。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GBrightnessClockEnv.html#setup(int,%20int)">setup</a></strong>(int halfHour,
|
||||
int level)</code>
|
||||
<div class="block">设定亮度條件。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Bx5GBrightnessClockEnv()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GBrightnessClockEnv</h4>
|
||||
<pre>public Bx5GBrightnessClockEnv()</pre>
|
||||
<div class="block">建构子。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="generate()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>generate</h4>
|
||||
<pre>public byte[] generate()</pre>
|
||||
<div class="block">產生資料。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>資料。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setup(int, int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>setup</h4>
|
||||
<pre>public void setup(int halfHour,
|
||||
int level)</pre>
|
||||
<div class="block">设定亮度條件。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>halfHour</code> - 半小時索引。0(00:00-00:29) - 47(23:30-23:59)。</dd><dd><code>level</code> - 亮度。1 - 16。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GBrightnessClockEnv.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../onbon/bx05/Bx5GBrightnessSensorEnv.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GBrightnessClockEnv.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GBrightnessClockEnv.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,284 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GBrightnessSensorEnv</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GBrightnessSensorEnv";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GBrightnessSensorEnv.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GBrightnessClockEnv.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GCommException.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GBrightnessSensorEnv.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GBrightnessSensorEnv.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GBrightnessSensorEnv" class="title">Class Bx5GBrightnessSensorEnv</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GBrightnessSensorEnv</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Bx5GBrightnessSensorEnv</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">客制化传感器亮度設定。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GBrightnessSensorEnv.html#Bx5GBrightnessSensorEnv()">Bx5GBrightnessSensorEnv</a></strong>()</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GBrightnessSensorEnv.html#generate()">generate</a></strong>()</code>
|
||||
<div class="block">產生資料。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GBrightnessSensorEnv.html#setup(int,%20int,%20int)">setup</a></strong>(int index,
|
||||
int envLevel,
|
||||
int level)</code>
|
||||
<div class="block">设定亮度條件。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Bx5GBrightnessSensorEnv()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GBrightnessSensorEnv</h4>
|
||||
<pre>public Bx5GBrightnessSensorEnv()</pre>
|
||||
<div class="block">建构子。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="generate()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>generate</h4>
|
||||
<pre>public byte[] generate()</pre>
|
||||
<div class="block">產生資料。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>資料。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setup(int, int, int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>setup</h4>
|
||||
<pre>public void setup(int index,
|
||||
int envLevel,
|
||||
int level)</pre>
|
||||
<div class="block">设定亮度條件。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - 亮度级。0 - 15。</dd><dd><code>envLevel</code> - 环境亮度值。0 - 65535。</dd><dd><code>level</code> - 亮度。1 - 16。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GBrightnessSensorEnv.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GBrightnessClockEnv.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GCommException.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GBrightnessSensorEnv.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GBrightnessSensorEnv.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,320 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GCommException</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GCommException";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GCommException.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GBrightnessSensorEnv.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GCommException.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GCommException.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#methods_inherited_from_class_java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GCommException" class="title">Class Bx5GCommException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../onbon/bx05/Bx5GException.html" title="class in onbon.bx05">onbon.bx05.Bx5GException</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GCommException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Bx5GCommException</span>
|
||||
extends <a href="../../onbon/bx05/Bx5GException.html" title="class in onbon.bx05">Bx5GException</a></pre>
|
||||
<div class="block">BX5G 通讯异常。</div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../serialized-form.html#onbon.bx05.Bx5GCommException">Serialized Form</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>onbon.bx05.message.common.ErrorType</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GCommException.html#error">error</a></strong></code>
|
||||
<div class="block">通讯错误码。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GCommException.html#Bx5GCommException(java.lang.String,%20onbon.bx05.message.common.ErrorType)">Bx5GCommException</a></strong>(java.lang.String message,
|
||||
onbon.bx05.message.common.ErrorType error)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GCommException.html#Bx5GCommException(java.lang.String,%20onbon.bx05.message.common.ErrorType,%20java.lang.Exception)">Bx5GCommException</a></strong>(java.lang.String message,
|
||||
onbon.bx05.message.common.ErrorType error,
|
||||
java.lang.Exception ex)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="error">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>error</h4>
|
||||
<pre>public final onbon.bx05.message.common.ErrorType error</pre>
|
||||
<div class="block">通讯错误码。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Bx5GCommException(java.lang.String, onbon.bx05.message.common.ErrorType)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GCommException</h4>
|
||||
<pre>public Bx5GCommException(java.lang.String message,
|
||||
onbon.bx05.message.common.ErrorType error)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>message</code> - 错误说明。</dd><dd><code>error</code> - 通讯错误。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="Bx5GCommException(java.lang.String, onbon.bx05.message.common.ErrorType, java.lang.Exception)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GCommException</h4>
|
||||
<pre>public Bx5GCommException(java.lang.String message,
|
||||
onbon.bx05.message.common.ErrorType error,
|
||||
java.lang.Exception ex)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>message</code> - 错误说明。</dd><dd><code>error</code> - 通讯错误。</dd><dd><code>ex</code> - 错误。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GCommException.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GBrightnessSensorEnv.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GCommException.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GCommException.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#methods_inherited_from_class_java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,344 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GController.RunMode</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GController.RunMode";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GController.RunMode.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerClient.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GController.RunMode.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GController.RunMode.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum_constant_summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum_constant_detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Enum Bx5GController.RunMode" class="title">Enum Bx5GController.RunMode</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Enum<<a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GController.RunMode</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable, java.lang.Comparable<<a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a>></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static enum <span class="strong">Bx5GController.RunMode</span>
|
||||
extends java.lang.Enum<<a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a>></pre>
|
||||
<div class="block">运行模式。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum_constant_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
||||
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Enum Constant and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GController.RunMode.html#CLIENT">CLIENT</a></strong></code>
|
||||
<div class="block">Socket Client</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GController.RunMode.html#RS232">RS232</a></strong></code>
|
||||
<div class="block">RS232</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GController.RunMode.html#SERVER">SERVER</a></strong></code>
|
||||
<div class="block">Socket Server</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.RunMode.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a>[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.RunMode.html#values()">values</a></strong>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Enum</h3>
|
||||
<code>compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum_constant_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Detail</h3>
|
||||
<a name="CLIENT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>CLIENT</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a> CLIENT</pre>
|
||||
<div class="block">Socket Client</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="RS232">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>RS232</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a> RS232</pre>
|
||||
<div class="block">RS232</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="SERVER">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>SERVER</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a> SERVER</pre>
|
||||
<div class="block">Socket Server</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="valueOf(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a> valueOf(java.lang.String name)</pre>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.
|
||||
The string must match <i>exactly</i> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
|
||||
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="values()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a>[] values()</pre>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (Bx5GController.RunMode c : Bx5GController.RunMode.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GController.RunMode.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerClient.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GController.RunMode.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GController.RunMode.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum_constant_summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum_constant_detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,635 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GController</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GController";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GController.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GCommException.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GController.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GController.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_class_summary">Nested</a> | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GController" class="title">Class Bx5GController</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GController</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Direct Known Subclasses:</dt>
|
||||
<dd><a href="../../onbon/bx05/Bx5GControllerClient.html" title="class in onbon.bx05">Bx5GControllerClient</a>, <a href="../../onbon/bx05/Bx5GControllerRS.html" title="class in onbon.bx05">Bx5GControllerRS</a>, <a href="../../onbon/bx05/Bx5GControllerServer.html" title="class in onbon.bx05">Bx5GControllerServer</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public abstract class <span class="strong">Bx5GController</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">BX5G 五代系列控制器。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_class_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a></strong></code>
|
||||
<div class="block">运行模式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#TIMEOUT">TIMEOUT</a></strong></code>
|
||||
<div class="block">通訊逾時檢查時間,單位毫秒。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GController.html#Bx5GController(onbon.bx05.series.Bx5G)">Bx5GController</a></strong>(<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/file/BxFileReader.html" title="class in onbon.bx05.file">BxFileReader</a><<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a>></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#createFileReader()">createFileReader</a></strong>()</code>
|
||||
<div class="block">建立该控制器档案阅读程式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><C> <a href="../../onbon/bx05/file/BxFileReader.html" title="class in onbon.bx05.file">BxFileReader</a><C></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#createFileReader(C)">createFileReader</a></strong>(C owner)</code>
|
||||
<div class="block">建立该控制器档案阅读程式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/file/BxFileWriter.html" title="class in onbon.bx05.file">BxFileWriter</a><<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a>></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#createFileWriter()">createFileWriter</a></strong>()</code>
|
||||
<div class="block">建立该控制器档案写入程式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><C> <a href="../../onbon/bx05/file/BxFileWriter.html" title="class in onbon.bx05.file">BxFileWriter</a><C></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#createFileWriter(C)">createFileWriter</a></strong>(C owner)</code>
|
||||
<div class="block">建立该控制器档案写入程式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>abstract void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#disconnect()">disconnect</a></strong>()</code>
|
||||
<div class="block">中断连线。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><T extends onbon.bx05.message.Response> <br><a href="../../onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05">Bx5GResponseCmd</a><T></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#execute(onbon.bx05.Bx5GRequestCmd)">execute</a></strong>(<a href="../../onbon/bx05/Bx5GRequestCmd.html" title="interface in onbon.bx05">Bx5GRequestCmd</a><T> cmd)</code>
|
||||
<div class="block">执行命令。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#getControllerAddress()">getControllerAddress</a></strong>()</code>
|
||||
<div class="block">取得控制器位址。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>onbon.bx05.message.Bx05MessageHeader</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#getHeader()">getHeader</a></strong>()</code>
|
||||
<div class="block">取得讯息表头。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>abstract java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#getName()">getName</a></strong>()</code>
|
||||
<div class="block">取得名称。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#getOutputBuffer()">getOutputBuffer</a></strong>()</code>
|
||||
<div class="block">取得输出缓存大小。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>abstract <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#getRunMode()">getRunMode</a></strong>()</code>
|
||||
<div class="block">取得运行模式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GScreenProfile.html" title="class in onbon.bx05">Bx5GScreenProfile</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#getScreenProfile()">getScreenProfile</a></strong>()</code>
|
||||
<div class="block">取得屏幕规格。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>onbon.db.xml.Bx05SeriesType</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#getSeries()">getSeries</a></strong>()</code>
|
||||
<div class="block">取得控制器系列资讯。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>abstract boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#isConnected()">isConnected</a></strong>()</code>
|
||||
<div class="block">取得是否连线。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05">Bx5GResponseCmd</a><onbon.bx05.message.led.ReturnPingStatus></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#ping()">ping</a></strong>()</code>
|
||||
<div class="block">检测网路。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>abstract byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Bx05MessageHeader,%20onbon.bx05.message.Request,%20java.lang.String)">send</a></strong>(onbon.bx05.message.Bx05MessageHeader header,
|
||||
onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</code>
|
||||
<div class="block">执行命令。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>abstract byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Request,%20java.lang.String)">send</a></strong>(onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</code>
|
||||
<div class="block">执行命令。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GController.html#setControllerAddress(byte[])">setControllerAddress</a></strong>(byte[] addr)</code>
|
||||
<div class="block">设定控制器位址,此位址用於標示控制器,不等同於 TCP 位址(xxx.xxx.xxx.xxx)。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="TIMEOUT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>TIMEOUT</h4>
|
||||
<pre>public static int TIMEOUT</pre>
|
||||
<div class="block">通訊逾時檢查時間,單位毫秒。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Bx5GController(onbon.bx05.series.Bx5G)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GController</h4>
|
||||
<pre>public Bx5GController(<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>bx5g</code> - BX5 系列。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="createFileReader()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createFileReader</h4>
|
||||
<pre>public <a href="../../onbon/bx05/file/BxFileReader.html" title="class in onbon.bx05.file">BxFileReader</a><<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a>> createFileReader()</pre>
|
||||
<div class="block">建立该控制器档案阅读程式。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>档案阅读程式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="createFileReader(java.lang.Object)">
|
||||
<!-- -->
|
||||
</a><a name="createFileReader(C)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createFileReader</h4>
|
||||
<pre>public <C> <a href="../../onbon/bx05/file/BxFileReader.html" title="class in onbon.bx05.file">BxFileReader</a><C> createFileReader(C owner)</pre>
|
||||
<div class="block">建立该控制器档案阅读程式。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>owner</code> - 驱动。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>档案阅读程式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="createFileWriter()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createFileWriter</h4>
|
||||
<pre>public <a href="../../onbon/bx05/file/BxFileWriter.html" title="class in onbon.bx05.file">BxFileWriter</a><<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a>> createFileWriter()</pre>
|
||||
<div class="block">建立该控制器档案写入程式。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>档案写入程式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="createFileWriter(java.lang.Object)">
|
||||
<!-- -->
|
||||
</a><a name="createFileWriter(C)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createFileWriter</h4>
|
||||
<pre>public <C> <a href="../../onbon/bx05/file/BxFileWriter.html" title="class in onbon.bx05.file">BxFileWriter</a><C> createFileWriter(C owner)</pre>
|
||||
<div class="block">建立该控制器档案写入程式。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>owner</code> - 驱动。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>档案写入程式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="disconnect()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>disconnect</h4>
|
||||
<pre>public abstract void disconnect()</pre>
|
||||
<div class="block">中断连线。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="execute(onbon.bx05.Bx5GRequestCmd)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>execute</h4>
|
||||
<pre>public <T extends onbon.bx05.message.Response> <a href="../../onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05">Bx5GResponseCmd</a><T> execute(<a href="../../onbon/bx05/Bx5GRequestCmd.html" title="interface in onbon.bx05">Bx5GRequestCmd</a><T> cmd)</pre>
|
||||
<div class="block">执行命令。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cmd</code> - 命令。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>执行结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getControllerAddress()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getControllerAddress</h4>
|
||||
<pre>public byte[] getControllerAddress()</pre>
|
||||
<div class="block">取得控制器位址。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>控制器位址。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getHeader()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getHeader</h4>
|
||||
<pre>public onbon.bx05.message.Bx05MessageHeader getHeader()</pre>
|
||||
<div class="block">取得讯息表头。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>讯息表头。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getName()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getName</h4>
|
||||
<pre>public abstract java.lang.String getName()</pre>
|
||||
<div class="block">取得名称。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>名称。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getOutputBuffer()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getOutputBuffer</h4>
|
||||
<pre>public int getOutputBuffer()</pre>
|
||||
<div class="block">取得输出缓存大小。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>输出缓存大小。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getRunMode()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getRunMode</h4>
|
||||
<pre>public abstract <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a> getRunMode()</pre>
|
||||
<div class="block">取得运行模式。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>运行模式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getScreenProfile()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getScreenProfile</h4>
|
||||
<pre>public <a href="../../onbon/bx05/Bx5GScreenProfile.html" title="class in onbon.bx05">Bx5GScreenProfile</a> getScreenProfile()</pre>
|
||||
<div class="block">取得屏幕规格。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>屏幕规格。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getSeries()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSeries</h4>
|
||||
<pre>public onbon.db.xml.Bx05SeriesType getSeries()</pre>
|
||||
<div class="block">取得控制器系列资讯。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>控制器系列资讯。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isConnected()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isConnected</h4>
|
||||
<pre>public abstract boolean isConnected()</pre>
|
||||
<div class="block">取得是否连线。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>是否连线。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="ping()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>ping</h4>
|
||||
<pre>public <a href="../../onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05">Bx5GResponseCmd</a><onbon.bx05.message.led.ReturnPingStatus> ping()</pre>
|
||||
<div class="block">检测网路。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>检测结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="send(onbon.bx05.message.Bx05MessageHeader, onbon.bx05.message.Request, java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>send</h4>
|
||||
<pre>public abstract byte[] send(onbon.bx05.message.Bx05MessageHeader header,
|
||||
onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</pre>
|
||||
<div class="block">执行命令。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>header</code> - 讯息表头。</dd><dd><code>req</code> - 命令。</dd><dd><code>uiaID</code> - 命令编号。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>执行结果。</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.Exception</code> - 执行错误。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="send(onbon.bx05.message.Request, java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>send</h4>
|
||||
<pre>public abstract byte[] send(onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</pre>
|
||||
<div class="block">执行命令。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>req</code> - 命令。</dd><dd><code>uiaID</code> - 命令编号。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>执行结果。</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.Exception</code> - 执行错误。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setControllerAddress(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>setControllerAddress</h4>
|
||||
<pre>public void setControllerAddress(byte[] addr)</pre>
|
||||
<div class="block">设定控制器位址,此位址用於標示控制器,不等同於 TCP 位址(xxx.xxx.xxx.xxx)。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>addr</code> - 控制器位址,2 bytes。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GController.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GCommException.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GController.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GController.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_class_summary">Nested</a> | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,476 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GControllerClient</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GControllerClient";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GControllerClient.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerRS.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GControllerClient.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GControllerClient.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_onbon.bx05.Bx5GController">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_onbon.bx05.Bx5GController">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GControllerClient" class="title">Class Bx5GControllerClient</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">onbon.bx05.Bx5GController</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GControllerClient</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public final class <span class="strong">Bx5GControllerClient</span>
|
||||
extends <a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></pre>
|
||||
<div class="block">BX5G TCP Socket Client 控制器。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_class_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_onbon.bx05.Bx5GController">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class onbon.bx05.<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></h3>
|
||||
<code><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_onbon.bx05.Bx5GController">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class onbon.bx05.<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></h3>
|
||||
<code><a href="../../onbon/bx05/Bx5GController.html#TIMEOUT">TIMEOUT</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GControllerClient.html#Bx5GControllerClient()">Bx5GControllerClient</a></strong>()</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GControllerClient.html#Bx5GControllerClient(java.lang.String)">Bx5GControllerClient</a></strong>(java.lang.String aliasName)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GControllerClient.html#Bx5GControllerClient(java.lang.String,%20onbon.bx05.series.Bx5G)">Bx5GControllerClient</a></strong>(java.lang.String aliasName,
|
||||
<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerClient.html#connect(java.lang.String,%20int)">connect</a></strong>(java.lang.String address,
|
||||
int port)</code>
|
||||
<div class="block">启动。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerClient.html#disconnect()">disconnect</a></strong>()</code>
|
||||
<div class="block">中断连线。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerClient.html#getName()">getName</a></strong>()</code>
|
||||
<div class="block">取得名称。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerClient.html#getRunMode()">getRunMode</a></strong>()</code>
|
||||
<div class="block">取得运行模式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerClient.html#isConnected()">isConnected</a></strong>()</code>
|
||||
<div class="block">取得是否连线。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerClient.html#send(onbon.bx05.message.Bx05MessageHeader,%20onbon.bx05.message.Request,%20java.lang.String)">send</a></strong>(onbon.bx05.message.Bx05MessageHeader header,
|
||||
onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</code>
|
||||
<div class="block">执行命令。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerClient.html#send(onbon.bx05.message.Request,%20java.lang.String)">send</a></strong>(onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</code>
|
||||
<div class="block">执行命令。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_onbon.bx05.Bx5GController">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class onbon.bx05.<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></h3>
|
||||
<code><a href="../../onbon/bx05/Bx5GController.html#createFileReader()">createFileReader</a>, <a href="../../onbon/bx05/Bx5GController.html#createFileReader(C)">createFileReader</a>, <a href="../../onbon/bx05/Bx5GController.html#createFileWriter()">createFileWriter</a>, <a href="../../onbon/bx05/Bx5GController.html#createFileWriter(C)">createFileWriter</a>, <a href="../../onbon/bx05/Bx5GController.html#execute(onbon.bx05.Bx5GRequestCmd)">execute</a>, <a href="../../onbon/bx05/Bx5GController.html#getControllerAddress()">getControllerAddress</a>, <a href="../../onbon/bx05/Bx5GController.html#getHeader()">getHeader</a>, <a href="../../onbon/bx05/Bx5GController.html#getOutputBuffer()">getOutputBuffer</a>, <a href="../../onbon/bx05/Bx5GController.html#getScreenProfile()">getScreenProfile</a>, <a href="../../onbon/bx05/Bx5GController.html#getSeries()">getSeries</a>, <a href="../../onbon/bx05/Bx5GController.html#ping()">ping</a>, <a href="../../onbon/bx05/Bx5GController.html#setControllerAddress(byte[])">setControllerAddress</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Bx5GControllerClient()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GControllerClient</h4>
|
||||
<pre>public Bx5GControllerClient()</pre>
|
||||
<div class="block">建构子。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="Bx5GControllerClient(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GControllerClient</h4>
|
||||
<pre>public Bx5GControllerClient(java.lang.String aliasName)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>aliasName</code> - 别名。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="Bx5GControllerClient(java.lang.String, onbon.bx05.series.Bx5G)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GControllerClient</h4>
|
||||
<pre>public Bx5GControllerClient(java.lang.String aliasName,
|
||||
<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>aliasName</code> - 别名。</dd><dd><code>bx5g</code> - BX5 系列。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="connect(java.lang.String, int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>connect</h4>
|
||||
<pre>public boolean connect(java.lang.String address,
|
||||
int port)</pre>
|
||||
<div class="block">启动。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>address</code> - 位址。</dd><dd><code>port</code> - 通讯埠。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>启动结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="disconnect()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>disconnect</h4>
|
||||
<pre>public void disconnect()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#disconnect()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">中断连线。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#disconnect()">disconnect</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getName()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getName</h4>
|
||||
<pre>public java.lang.String getName()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#getName()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">取得名称。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#getName()">getName</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>名称。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getRunMode()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getRunMode</h4>
|
||||
<pre>public <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a> getRunMode()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#getRunMode()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">取得运行模式。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#getRunMode()">getRunMode</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>运行模式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isConnected()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isConnected</h4>
|
||||
<pre>public boolean isConnected()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#isConnected()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">取得是否连线。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#isConnected()">isConnected</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>是否连线。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="send(onbon.bx05.message.Bx05MessageHeader, onbon.bx05.message.Request, java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>send</h4>
|
||||
<pre>public byte[] send(onbon.bx05.message.Bx05MessageHeader header,
|
||||
onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Bx05MessageHeader,%20onbon.bx05.message.Request,%20java.lang.String)">Bx5GController</a></code></strong></div>
|
||||
<div class="block">执行命令。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Bx05MessageHeader,%20onbon.bx05.message.Request,%20java.lang.String)">send</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Parameters:</span></dt><dd><code>header</code> - 讯息表头。</dd><dd><code>req</code> - 命令。</dd><dd><code>uiaID</code> - 命令编号。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>执行结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="send(onbon.bx05.message.Request, java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>send</h4>
|
||||
<pre>public byte[] send(onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Request,%20java.lang.String)">Bx5GController</a></code></strong></div>
|
||||
<div class="block">执行命令。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Request,%20java.lang.String)">send</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Parameters:</span></dt><dd><code>req</code> - 命令。</dd><dd><code>uiaID</code> - 命令编号。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>执行结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GControllerClient.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerRS.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GControllerClient.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GControllerClient.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_onbon.bx05.Bx5GController">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_onbon.bx05.Bx5GController">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,487 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GControllerRS</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GControllerRS";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GControllerRS.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerClient.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerServer.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GControllerRS.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GControllerRS.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_onbon.bx05.Bx5GController">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_onbon.bx05.Bx5GController">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GControllerRS" class="title">Class Bx5GControllerRS</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">onbon.bx05.Bx5GController</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GControllerRS</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public final class <span class="strong">Bx5GControllerRS</span>
|
||||
extends <a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></pre>
|
||||
<div class="block">BX5G RS232 控制器。<br>
|
||||
本程式進能運行在 32 位元環境,同時<br>
|
||||
1. Windows: 需配置 rxtxParallel.dll, rxtsSerial.dll。<br></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_class_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_onbon.bx05.Bx5GController">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class onbon.bx05.<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></h3>
|
||||
<code><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_onbon.bx05.Bx5GController">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class onbon.bx05.<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></h3>
|
||||
<code><a href="../../onbon/bx05/Bx5GController.html#TIMEOUT">TIMEOUT</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GControllerRS.html#Bx5GControllerRS()">Bx5GControllerRS</a></strong>()</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GControllerRS.html#Bx5GControllerRS(java.lang.String)">Bx5GControllerRS</a></strong>(java.lang.String aliasName)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GControllerRS.html#Bx5GControllerRS(java.lang.String,%20onbon.bx05.series.Bx5G)">Bx5GControllerRS</a></strong>(java.lang.String aliasName,
|
||||
<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerRS.html#connect(java.lang.String,%20int,%20int,%20int,%20int)">connect</a></strong>(java.lang.String comName,
|
||||
int baudrate,
|
||||
int dataBits,
|
||||
int stopBits,
|
||||
int parity)</code>
|
||||
<div class="block">連線。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerRS.html#disconnect()">disconnect</a></strong>()</code>
|
||||
<div class="block">中断连线。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerRS.html#getName()">getName</a></strong>()</code>
|
||||
<div class="block">取得名称。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerRS.html#getRunMode()">getRunMode</a></strong>()</code>
|
||||
<div class="block">取得运行模式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerRS.html#isConnected()">isConnected</a></strong>()</code>
|
||||
<div class="block">取得是否连线。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerRS.html#send(onbon.bx05.message.Bx05MessageHeader,%20onbon.bx05.message.Request,%20java.lang.String)">send</a></strong>(onbon.bx05.message.Bx05MessageHeader header,
|
||||
onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</code>
|
||||
<div class="block">执行命令。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerRS.html#send(onbon.bx05.message.Request,%20java.lang.String)">send</a></strong>(onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</code>
|
||||
<div class="block">执行命令。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_onbon.bx05.Bx5GController">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class onbon.bx05.<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></h3>
|
||||
<code><a href="../../onbon/bx05/Bx5GController.html#createFileReader()">createFileReader</a>, <a href="../../onbon/bx05/Bx5GController.html#createFileReader(C)">createFileReader</a>, <a href="../../onbon/bx05/Bx5GController.html#createFileWriter()">createFileWriter</a>, <a href="../../onbon/bx05/Bx5GController.html#createFileWriter(C)">createFileWriter</a>, <a href="../../onbon/bx05/Bx5GController.html#execute(onbon.bx05.Bx5GRequestCmd)">execute</a>, <a href="../../onbon/bx05/Bx5GController.html#getControllerAddress()">getControllerAddress</a>, <a href="../../onbon/bx05/Bx5GController.html#getHeader()">getHeader</a>, <a href="../../onbon/bx05/Bx5GController.html#getOutputBuffer()">getOutputBuffer</a>, <a href="../../onbon/bx05/Bx5GController.html#getScreenProfile()">getScreenProfile</a>, <a href="../../onbon/bx05/Bx5GController.html#getSeries()">getSeries</a>, <a href="../../onbon/bx05/Bx5GController.html#ping()">ping</a>, <a href="../../onbon/bx05/Bx5GController.html#setControllerAddress(byte[])">setControllerAddress</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Bx5GControllerRS()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GControllerRS</h4>
|
||||
<pre>public Bx5GControllerRS()</pre>
|
||||
<div class="block">建构子。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="Bx5GControllerRS(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GControllerRS</h4>
|
||||
<pre>public Bx5GControllerRS(java.lang.String aliasName)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>aliasName</code> - 别名。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="Bx5GControllerRS(java.lang.String, onbon.bx05.series.Bx5G)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GControllerRS</h4>
|
||||
<pre>public Bx5GControllerRS(java.lang.String aliasName,
|
||||
<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>aliasName</code> - 别名。</dd><dd><code>bx5g</code> - BX5 系列。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="connect(java.lang.String, int, int, int, int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>connect</h4>
|
||||
<pre>public boolean connect(java.lang.String comName,
|
||||
int baudrate,
|
||||
int dataBits,
|
||||
int stopBits,
|
||||
int parity)
|
||||
throws <a href="../../onbon/bx05/Bx5GCommException.html" title="class in onbon.bx05">Bx5GCommException</a></pre>
|
||||
<div class="block">連線。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>comName</code> - COM 名稱。</dd><dd><code>baudrate</code> - 波特率。</dd><dd><code>dataBits</code> - 位元数。</dd><dd><code>stopBits</code> - 停止位元。</dd><dd><code>parity</code> - 同位檢查。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>连线结果。</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GCommException.html" title="class in onbon.bx05">Bx5GCommException</a></code> - 连线发生错误。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="disconnect()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>disconnect</h4>
|
||||
<pre>public void disconnect()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#disconnect()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">中断连线。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#disconnect()">disconnect</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getName()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getName</h4>
|
||||
<pre>public java.lang.String getName()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#getName()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">取得名称。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#getName()">getName</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>名称。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getRunMode()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getRunMode</h4>
|
||||
<pre>public <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a> getRunMode()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#getRunMode()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">取得运行模式。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#getRunMode()">getRunMode</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>运行模式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isConnected()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isConnected</h4>
|
||||
<pre>public boolean isConnected()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#isConnected()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">取得是否连线。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#isConnected()">isConnected</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>是否连线。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="send(onbon.bx05.message.Bx05MessageHeader, onbon.bx05.message.Request, java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>send</h4>
|
||||
<pre>public byte[] send(onbon.bx05.message.Bx05MessageHeader header,
|
||||
onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Bx05MessageHeader,%20onbon.bx05.message.Request,%20java.lang.String)">Bx5GController</a></code></strong></div>
|
||||
<div class="block">执行命令。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Bx05MessageHeader,%20onbon.bx05.message.Request,%20java.lang.String)">send</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Parameters:</span></dt><dd><code>header</code> - 讯息表头。</dd><dd><code>req</code> - 命令。</dd><dd><code>uiaID</code> - 命令编号。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>执行结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="send(onbon.bx05.message.Request, java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>send</h4>
|
||||
<pre>public byte[] send(onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Request,%20java.lang.String)">Bx5GController</a></code></strong></div>
|
||||
<div class="block">执行命令。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Request,%20java.lang.String)">send</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Parameters:</span></dt><dd><code>req</code> - 命令。</dd><dd><code>uiaID</code> - 命令编号。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>执行结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GControllerRS.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerClient.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerServer.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GControllerRS.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GControllerRS.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_onbon.bx05.Bx5GController">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_onbon.bx05.Bx5GController">Field</a> | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,402 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GControllerServer</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GControllerServer";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GControllerServer.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerRS.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GEnv.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GControllerServer.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GControllerServer.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_onbon.bx05.Bx5GController">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_onbon.bx05.Bx5GController">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GControllerServer" class="title">Class Bx5GControllerServer</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">onbon.bx05.Bx5GController</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GControllerServer</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public final class <span class="strong">Bx5GControllerServer</span>
|
||||
extends <a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></pre>
|
||||
<div class="block">BX5G TCP Socket Server 控制器。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_class_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_classes_inherited_from_class_onbon.bx05.Bx5GController">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class onbon.bx05.<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></h3>
|
||||
<code><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields_inherited_from_class_onbon.bx05.Bx5GController">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class onbon.bx05.<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></h3>
|
||||
<code><a href="../../onbon/bx05/Bx5GController.html#TIMEOUT">TIMEOUT</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerServer.html#disconnect()">disconnect</a></strong>()</code>
|
||||
<div class="block">中断连线。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerServer.html#getName()">getName</a></strong>()</code>
|
||||
<div class="block">取得名称。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerServer.html#getNetId()">getNetId</a></strong>()</code>
|
||||
<div class="block">取得 Net 编号。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerServer.html#getRunMode()">getRunMode</a></strong>()</code>
|
||||
<div class="block">取得运行模式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerServer.html#isConnected()">isConnected</a></strong>()</code>
|
||||
<div class="block">取得是否连线。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerServer.html#send(onbon.bx05.message.Bx05MessageHeader,%20onbon.bx05.message.Request,%20java.lang.String)">send</a></strong>(onbon.bx05.message.Bx05MessageHeader header,
|
||||
onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</code>
|
||||
<div class="block">执行命令。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GControllerServer.html#send(onbon.bx05.message.Request,%20java.lang.String)">send</a></strong>(onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</code>
|
||||
<div class="block">执行命令。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_onbon.bx05.Bx5GController">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class onbon.bx05.<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></h3>
|
||||
<code><a href="../../onbon/bx05/Bx5GController.html#createFileReader()">createFileReader</a>, <a href="../../onbon/bx05/Bx5GController.html#createFileReader(C)">createFileReader</a>, <a href="../../onbon/bx05/Bx5GController.html#createFileWriter()">createFileWriter</a>, <a href="../../onbon/bx05/Bx5GController.html#createFileWriter(C)">createFileWriter</a>, <a href="../../onbon/bx05/Bx5GController.html#execute(onbon.bx05.Bx5GRequestCmd)">execute</a>, <a href="../../onbon/bx05/Bx5GController.html#getControllerAddress()">getControllerAddress</a>, <a href="../../onbon/bx05/Bx5GController.html#getHeader()">getHeader</a>, <a href="../../onbon/bx05/Bx5GController.html#getOutputBuffer()">getOutputBuffer</a>, <a href="../../onbon/bx05/Bx5GController.html#getScreenProfile()">getScreenProfile</a>, <a href="../../onbon/bx05/Bx5GController.html#getSeries()">getSeries</a>, <a href="../../onbon/bx05/Bx5GController.html#ping()">ping</a>, <a href="../../onbon/bx05/Bx5GController.html#setControllerAddress(byte[])">setControllerAddress</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="disconnect()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>disconnect</h4>
|
||||
<pre>public void disconnect()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#disconnect()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">中断连线。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#disconnect()">disconnect</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getName()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getName</h4>
|
||||
<pre>public java.lang.String getName()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#getName()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">取得名称。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#getName()">getName</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>名称。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getNetId()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getNetId</h4>
|
||||
<pre>public java.lang.String getNetId()</pre>
|
||||
<div class="block">取得 Net 编号。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Net 编号。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getRunMode()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getRunMode</h4>
|
||||
<pre>public <a href="../../onbon/bx05/Bx5GController.RunMode.html" title="enum in onbon.bx05">Bx5GController.RunMode</a> getRunMode()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#getRunMode()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">取得运行模式。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#getRunMode()">getRunMode</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>运行模式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isConnected()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isConnected</h4>
|
||||
<pre>public boolean isConnected()</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#isConnected()">Bx5GController</a></code></strong></div>
|
||||
<div class="block">取得是否连线。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#isConnected()">isConnected</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>是否连线。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="send(onbon.bx05.message.Bx05MessageHeader, onbon.bx05.message.Request, java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>send</h4>
|
||||
<pre>public byte[] send(onbon.bx05.message.Bx05MessageHeader header,
|
||||
onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Bx05MessageHeader,%20onbon.bx05.message.Request,%20java.lang.String)">Bx5GController</a></code></strong></div>
|
||||
<div class="block">执行命令。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Bx05MessageHeader,%20onbon.bx05.message.Request,%20java.lang.String)">send</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Parameters:</span></dt><dd><code>header</code> - 讯息表头。</dd><dd><code>req</code> - 命令。</dd><dd><code>uiaID</code> - 命令编号。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>执行结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="send(onbon.bx05.message.Request, java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>send</h4>
|
||||
<pre>public byte[] send(onbon.bx05.message.Request req,
|
||||
java.lang.String uiaID)</pre>
|
||||
<div class="block"><strong>Description copied from class: <code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Request,%20java.lang.String)">Bx5GController</a></code></strong></div>
|
||||
<div class="block">执行命令。</div>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code><a href="../../onbon/bx05/Bx5GController.html#send(onbon.bx05.message.Request,%20java.lang.String)">send</a></code> in class <code><a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a></code></dd>
|
||||
<dt><span class="strong">Parameters:</span></dt><dd><code>req</code> - 命令。</dd><dd><code>uiaID</code> - 命令编号。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>执行结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GControllerServer.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerRS.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GEnv.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GControllerServer.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GControllerServer.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_classes_inherited_from_class_onbon.bx05.Bx5GController">Nested</a> | </li>
|
||||
<li><a href="#fields_inherited_from_class_onbon.bx05.Bx5GController">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,307 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GEnv</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GEnv";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GEnv.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerServer.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GException.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GEnv.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GEnv.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GEnv" class="title">Class Bx5GEnv</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GEnv</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public final class <span class="strong">Bx5GEnv</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">BX5G API 环境。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GEnv.html#VER_INFO">VER_INFO</a></strong></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GEnv.html#initial()">initial</a></strong>()</code>
|
||||
<div class="block">API 初始化。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GEnv.html#initial(java.lang.String)">initial</a></strong>(java.lang.String log4jFile)</code>
|
||||
<div class="block">API 初始化。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GEnv.html#initial(java.lang.String,%20int)">initial</a></strong>(java.lang.String log4jFile,
|
||||
int timeout)</code>
|
||||
<div class="block">API 初始化。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="VER_INFO">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>VER_INFO</h4>
|
||||
<pre>public static final java.lang.String VER_INFO</pre>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../constant-values.html#onbon.bx05.Bx5GEnv.VER_INFO">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="initial()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>initial</h4>
|
||||
<pre>public static void initial()
|
||||
throws java.lang.Exception</pre>
|
||||
<div class="block">API 初始化。</div>
|
||||
<dl><dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.Exception</code> - 初始化发生错误。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="initial(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>initial</h4>
|
||||
<pre>public static void initial(java.lang.String log4jFile)
|
||||
throws java.lang.Exception</pre>
|
||||
<div class="block">API 初始化。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>log4jFile</code> - log4j 配置档案。</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.Exception</code> - 初始化发生错误。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="initial(java.lang.String, int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>initial</h4>
|
||||
<pre>public static void initial(java.lang.String log4jFile,
|
||||
int timeout)
|
||||
throws java.lang.Exception</pre>
|
||||
<div class="block">API 初始化。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>log4jFile</code> - log4j 配置档案。</dd><dd><code>timeout</code> - 通訊逾時,單位為毫秒。</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.Exception</code> - 初始化发生错误。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GEnv.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GControllerServer.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GException.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GEnv.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GEnv.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,276 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GException</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GException";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GException.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GEnv.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GMessageMgr.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GException.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GException.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#methods_inherited_from_class_java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GException" class="title">Class Bx5GException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Throwable</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Exception</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Direct Known Subclasses:</dt>
|
||||
<dd><a href="../../onbon/bx05/Bx5GCommException.html" title="class in onbon.bx05">Bx5GCommException</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Bx5GException</span>
|
||||
extends java.lang.Exception</pre>
|
||||
<div class="block">BX5G 一般性错误。</div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../serialized-form.html#onbon.bx05.Bx5GException">Serialized Form</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GException.html#Bx5GException(java.lang.String)">Bx5GException</a></strong>(java.lang.String message)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GException.html#Bx5GException(java.lang.String,%20java.lang.Exception)">Bx5GException</a></strong>(java.lang.String message,
|
||||
java.lang.Exception ex)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Throwable</h3>
|
||||
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Bx5GException(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GException</h4>
|
||||
<pre>public Bx5GException(java.lang.String message)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>message</code> - 错误说明。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="Bx5GException(java.lang.String, java.lang.Exception)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GException</h4>
|
||||
<pre>public Bx5GException(java.lang.String message,
|
||||
java.lang.Exception ex)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>message</code> - 错误说明。</dd><dd><code>ex</code> - 错误。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GException.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GEnv.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GMessageMgr.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GException.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GException.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#methods_inherited_from_class_java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,316 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GMessageMgr</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GMessageMgr";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GMessageMgr.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GException.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GMessageMgrSvr.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GMessageMgr.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GMessageMgr.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GMessageMgr" class="title">Class Bx5GMessageMgr</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GMessageMgr</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>uia.comm.MessageManager</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public final class <span class="strong">Bx5GMessageMgr</span>
|
||||
extends java.lang.Object
|
||||
implements uia.comm.MessageManager</pre>
|
||||
<div class="block">BX5G 协议管理程式。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgr.html#decode(byte[])">decode</a></strong>(byte[] data)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgr.html#encode(byte[])">encode</a></strong>(byte[] data)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgr.html#findCmd(byte[])">findCmd</a></strong>(byte[] data)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgr.html#findTx(byte[])">findTx</a></strong>(byte[] data)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgr.html#isCallIn(java.lang.String)">isCallIn</a></strong>(java.lang.String cmd)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgr.html#validate(byte[])">validate</a></strong>(byte[] data)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="decode(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>decode</h4>
|
||||
<pre>public byte[] decode(byte[] data)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>decode</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="encode(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>encode</h4>
|
||||
<pre>public byte[] encode(byte[] data)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>encode</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="findCmd(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>findCmd</h4>
|
||||
<pre>public java.lang.String findCmd(byte[] data)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>findCmd</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="findTx(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>findTx</h4>
|
||||
<pre>public java.lang.String findTx(byte[] data)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>findTx</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isCallIn(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isCallIn</h4>
|
||||
<pre>public boolean isCallIn(java.lang.String cmd)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>isCallIn</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="validate(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>validate</h4>
|
||||
<pre>public boolean validate(byte[] data)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>validate</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GMessageMgr.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GException.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GMessageMgrSvr.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GMessageMgr.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GMessageMgr.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,316 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GMessageMgrSvr</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GMessageMgrSvr";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GMessageMgrSvr.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GMessageMgr.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GRequestCmd.html" title="interface in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GMessageMgrSvr.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GMessageMgrSvr.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GMessageMgrSvr" class="title">Class Bx5GMessageMgrSvr</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GMessageMgrSvr</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>uia.comm.MessageManager</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public final class <span class="strong">Bx5GMessageMgrSvr</span>
|
||||
extends java.lang.Object
|
||||
implements uia.comm.MessageManager</pre>
|
||||
<div class="block">BX5G 协议管理程式。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgrSvr.html#decode(byte[])">decode</a></strong>(byte[] data)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgrSvr.html#encode(byte[])">encode</a></strong>(byte[] data)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgrSvr.html#findCmd(byte[])">findCmd</a></strong>(byte[] data)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgrSvr.html#findTx(byte[])">findTx</a></strong>(byte[] data)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgrSvr.html#isCallIn(java.lang.String)">isCallIn</a></strong>(java.lang.String cmd)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GMessageMgrSvr.html#validate(byte[])">validate</a></strong>(byte[] data)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="decode(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>decode</h4>
|
||||
<pre>public byte[] decode(byte[] data)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>decode</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="encode(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>encode</h4>
|
||||
<pre>public byte[] encode(byte[] data)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>encode</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="findCmd(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>findCmd</h4>
|
||||
<pre>public java.lang.String findCmd(byte[] data)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>findCmd</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="findTx(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>findTx</h4>
|
||||
<pre>public java.lang.String findTx(byte[] data)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>findTx</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isCallIn(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isCallIn</h4>
|
||||
<pre>public boolean isCallIn(java.lang.String cmd)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>isCallIn</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="validate(byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>validate</h4>
|
||||
<pre>public boolean validate(byte[] data)</pre>
|
||||
<dl>
|
||||
<dt><strong>Specified by:</strong></dt>
|
||||
<dd><code>validate</code> in interface <code>uia.comm.MessageManager</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GMessageMgrSvr.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GMessageMgr.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GRequestCmd.html" title="interface in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GMessageMgrSvr.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GMessageMgrSvr.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,216 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GRequestCmd</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GRequestCmd";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GRequestCmd.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GMessageMgrSvr.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GRequestCmd.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GRequestCmd.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Interface Bx5GRequestCmd" class="title">Interface Bx5GRequestCmd<T extends onbon.bx05.message.Response></h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - 回应讯息。</dd></dl>
|
||||
<dl>
|
||||
<dt>All Known Implementing Classes:</dt>
|
||||
<dd><a href="../../onbon/bx05/cmd/led/CancelScreenTimingOnOffCmd.html" title="class in onbon.bx05.cmd.led">CancelScreenTimingOnOffCmd</a>, <a href="../../onbon/bx05/cmd/led/CheckControllerStatusCmd.html" title="class in onbon.bx05.cmd.led">CheckControllerStatusCmd</a>, <a href="../../onbon/bx05/cmd/led/CheckCurrentFirmwareCmd.html" title="class in onbon.bx05.cmd.led">CheckCurrentFirmwareCmd</a>, <a href="../../onbon/bx05/cmd/tcp/CheckHealthCmd.html" title="class in onbon.bx05.cmd.tcp">CheckHealthCmd</a>, <a href="../../onbon/bx05/cmd/dyn7/DeleteDynamicAreaCmd.html" title="class in onbon.bx05.cmd.dyn7">DeleteDynamicAreaCmd</a>, <a href="../../onbon/bx05/cmd/ofs/FileDeleteCmd.html" title="class in onbon.bx05.cmd.ofs">FileDeleteCmd</a>, <a href="../../onbon/bx05/cmd/led/GetBrightnessValueCmd.html" title="class in onbon.bx05.cmd.led">GetBrightnessValueCmd</a>, <a href="../../onbon/bx05/cmd/ofs/GetMemVolumeCmd.html" title="class in onbon.bx05.cmd.ofs">GetMemVolumeCmd</a>, <a href="../../onbon/bx05/cmd/ofs/GetTransStatusCmd.html" title="class in onbon.bx05.cmd.ofs">GetTransStatusCmd</a>, <a href="../../onbon/bx05/cmd/led/ModifyBrightnessCmd.html" title="class in onbon.bx05.cmd.led">ModifyBrightnessCmd</a>, <a href="../../onbon/bx05/cmd/led/ProgramLockCmd.html" title="class in onbon.bx05.cmd.led">ProgramLockCmd</a>, <a href="../../onbon/bx05/cmd/led/ReadControllerIDCmd.html" title="class in onbon.bx05.cmd.led">ReadControllerIDCmd</a>, <a href="../../onbon/bx05/cmd/led/ReadCopyrightInfoCmd.html" title="class in onbon.bx05.cmd.led">ReadCopyrightInfoCmd</a>, <a href="../../onbon/bx05/cmd/ofs/ReadDirBlockCmd.html" title="class in onbon.bx05.cmd.ofs">ReadDirBlockCmd</a>, <a href="../../onbon/bx05/cmd/ofs/ReadFileBlockCmd.html" title="class in onbon.bx05.cmd.ofs">ReadFileBlockCmd</a>, <a href="../../onbon/bx05/cmd/led/ScreenLockCmd.html" title="class in onbon.bx05.cmd.led">ScreenLockCmd</a>, <a href="../../onbon/bx05/cmd/led/ScreenTimingOnOffCmd.html" title="class in onbon.bx05.cmd.led">ScreenTimingOnOffCmd</a>, <a href="../../onbon/bx05/cmd/led/SetDstAddressCmd.html" title="class in onbon.bx05.cmd.led">SetDstAddressCmd</a>, <a href="../../onbon/bx05/cmd/tcp/SetupAddressCmd.html" title="class in onbon.bx05.cmd.tcp">SetupAddressCmd</a>, <a href="../../onbon/bx05/cmd/tcp/SetupMACCmd.html" title="class in onbon.bx05.cmd.tcp">SetupMACCmd</a>, <a href="../../onbon/bx05/cmd/ofs/StartReadDirCmd.html" title="class in onbon.bx05.cmd.ofs">StartReadDirCmd</a>, <a href="../../onbon/bx05/cmd/ofs/StartReadFileCmd.html" title="class in onbon.bx05.cmd.ofs">StartReadFileCmd</a>, <a href="../../onbon/bx05/cmd/led/SwitchOnOffScreenCmd.html" title="class in onbon.bx05.cmd.led">SwitchOnOffScreenCmd</a>, <a href="../../onbon/bx05/cmd/led/SystemClockCorrectCmd.html" title="class in onbon.bx05.cmd.led">SystemClockCorrectCmd</a>, <a href="../../onbon/bx05/cmd/led/SystemResetCmd.html" title="class in onbon.bx05.cmd.led">SystemResetCmd</a>, <a href="../../onbon/bx05/cmd/dyn7/UpdateDynamicAreaCmd.html" title="class in onbon.bx05.cmd.dyn7">UpdateDynamicAreaCmd</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public interface <span class="strong">Bx5GRequestCmd<T extends onbon.bx05.message.Response></span></pre>
|
||||
<div class="block">BX5G 请求命令。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05">Bx5GResponseCmd</a><<a href="../../onbon/bx05/Bx5GRequestCmd.html" title="type parameter in Bx5GRequestCmd">T</a>></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GRequestCmd.html#accept(onbon.bx05.Bx5GController)">accept</a></strong>(<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a> controller)</code>
|
||||
<div class="block">利用指定控制器进行请求发送与回应处理。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="accept(onbon.bx05.Bx5GController)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>accept</h4>
|
||||
<pre><a href="../../onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05">Bx5GResponseCmd</a><<a href="../../onbon/bx05/Bx5GRequestCmd.html" title="type parameter in Bx5GRequestCmd">T</a>> accept(<a href="../../onbon/bx05/Bx5GController.html" title="class in onbon.bx05">Bx5GController</a> controller)</pre>
|
||||
<div class="block">利用指定控制器进行请求发送与回应处理。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>controller</code> - 控制器。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>回应结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GRequestCmd.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GMessageMgrSvr.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GRequestCmd.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GRequestCmd.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,353 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GResponseCmd</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GResponseCmd";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GResponseCmd.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GRequestCmd.html" title="interface in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GResponseCmd.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GResponseCmd.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GResponseCmd" class="title">Class Bx5GResponseCmd<T extends onbon.bx05.message.Response></h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GResponseCmd<T></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - 回应讯息。</dd></dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public final class <span class="strong">Bx5GResponseCmd<T extends onbon.bx05.message.Response></span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">BX5G 回应命令。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>onbon.bx05.message.global.NACK</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GResponseCmd.html#nack">nack</a></strong></code>
|
||||
<div class="block">NACK 讯息,命令被正确执行时为 null。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GResponseCmd.html" title="type parameter in Bx5GResponseCmd">T</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GResponseCmd.html#reply">reply</a></strong></code>
|
||||
<div class="block">回应讯息,NACK 或逾时时为 null。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <T extends onbon.bx05.message.Response> <br><a href="../../onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05">Bx5GResponseCmd</a><T></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GResponseCmd.html#create(java.lang.String,%20byte[])">create</a></strong>(java.lang.String uiaId,
|
||||
byte[] reply)</code>
|
||||
<div class="block">将收到的位元组转换成对应物件。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>onbon.bx05.message.common.ErrorType</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GResponseCmd.html#getErrorType()">getErrorType</a></strong>()</code>
|
||||
<div class="block">取得错误码。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GResponseCmd.html#isNack()">isNack</a></strong>()</code>
|
||||
<div class="block">回应是否为 NACK。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GResponseCmd.html#isOK()">isOK</a></strong>()</code>
|
||||
<div class="block">判断命令是否被正确执行。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GResponseCmd.html#isTimeout()">isTimeout</a></strong>()</code>
|
||||
<div class="block">是否逾时。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="nack">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>nack</h4>
|
||||
<pre>public final onbon.bx05.message.global.NACK nack</pre>
|
||||
<div class="block">NACK 讯息,命令被正确执行时为 null。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="reply">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>reply</h4>
|
||||
<pre>public final <a href="../../onbon/bx05/Bx5GResponseCmd.html" title="type parameter in Bx5GResponseCmd">T</a> extends onbon.bx05.message.Response reply</pre>
|
||||
<div class="block">回应讯息,NACK 或逾时时为 null。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="create(java.lang.String, byte[])">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>create</h4>
|
||||
<pre>public static <T extends onbon.bx05.message.Response> <a href="../../onbon/bx05/Bx5GResponseCmd.html" title="class in onbon.bx05">Bx5GResponseCmd</a><T> create(java.lang.String uiaId,
|
||||
byte[] reply)</pre>
|
||||
<div class="block">将收到的位元组转换成对应物件。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>uiaId</code> - 命令编号。</dd><dd><code>reply</code> - 位元组。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>回应物件。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getErrorType()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getErrorType</h4>
|
||||
<pre>public onbon.bx05.message.common.ErrorType getErrorType()</pre>
|
||||
<div class="block">取得错误码。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>错误码。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isNack()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isNack</h4>
|
||||
<pre>public boolean isNack()</pre>
|
||||
<div class="block">回应是否为 NACK。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>true:若回应为 NACK。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isOK()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isOK</h4>
|
||||
<pre>public boolean isOK()</pre>
|
||||
<div class="block">判断命令是否被正确执行。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>true:命令被正确执行并回应对应结果。false:回应为 NACK 或逾时。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isTimeout()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>isTimeout</h4>
|
||||
<pre>public boolean isTimeout()</pre>
|
||||
<div class="block">是否逾时。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>true:若命令回应逾时。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GResponseCmd.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GRequestCmd.html" title="interface in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GResponseCmd.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GResponseCmd.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,373 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GScreen.Result</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GScreen.Result";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GScreen.Result.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenClient.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GScreen.Result.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GScreen.Result.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GScreen.Result" class="title">Class Bx5GScreen.Result<T extends onbon.bx05.message.Response></h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GScreen.Result<T></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - 回应资料。</dd></dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05">Bx5GScreen</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Bx5GScreen.Result<T extends onbon.bx05.message.Response></span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">通讯回应结果。<br>
|
||||
<br>
|
||||
1. reply 为回应资料,不同的命令会有不一样的内容。若执行失败或通讯发生逾时状况,reply 为 NULL。<br>
|
||||
2. nack 为命令执行失败时,由控制器回报的错误讯息,若执行成功或通讯发生逾时状况,nack 为 NULL。<br>
|
||||
<br>
|
||||
一般的处理程序:<br>
|
||||
1. 根据 isOK() 判断是否被正确执行,若正确执行可利用 reply 取得回应结果。<br>
|
||||
2. 若 isOK() == false,可利用 getError() 取得错误码。<br>
|
||||
2.1 可利用 isNACK() 判断是否为 NACK 回应。<br>
|
||||
2.2 可利用 isTimeout() 判断是否为通讯逾时。<br>
|
||||
<br>
|
||||
<pre>
|
||||
<code>Result<ReturnPingStatus> result = screen.ping();
|
||||
if(result.isOK() {
|
||||
ReturnPingStatus stauts = result.reply;
|
||||
}
|
||||
else {
|
||||
ErrorType error = result.getError();
|
||||
}
|
||||
</code></pre></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>onbon.bx05.message.global.NACK</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreen.Result.html#nack">nack</a></strong></code>
|
||||
<div class="block">NACK 讯息。命令被正确执行或通讯逾时为 null。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GScreen.Result.html" title="type parameter in Bx5GScreen.Result">T</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreen.Result.html#reply">reply</a></strong></code>
|
||||
<div class="block">回应讯息。NACK 或通讯逾时为 null。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>onbon.bx05.message.common.ErrorType</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreen.Result.html#getError()">getError</a></strong>()</code>
|
||||
<div class="block">取得错误码。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreen.Result.html#isNACK()">isNACK</a></strong>()</code>
|
||||
<div class="block">回应是否为 NACK。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreen.Result.html#isOK()">isOK</a></strong>()</code>
|
||||
<div class="block">判断命令是否被正确执行。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreen.Result.html#isTimeout()">isTimeout</a></strong>()</code>
|
||||
<div class="block">是否逾时。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreen.Result.html#toString()">toString</a></strong>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="nack">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>nack</h4>
|
||||
<pre>public final onbon.bx05.message.global.NACK nack</pre>
|
||||
<div class="block">NACK 讯息。命令被正确执行或通讯逾时为 null。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="reply">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>reply</h4>
|
||||
<pre>public final <a href="../../onbon/bx05/Bx5GScreen.Result.html" title="type parameter in Bx5GScreen.Result">T</a> extends onbon.bx05.message.Response reply</pre>
|
||||
<div class="block">回应讯息。NACK 或通讯逾时为 null。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getError()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getError</h4>
|
||||
<pre>public onbon.bx05.message.common.ErrorType getError()</pre>
|
||||
<div class="block">取得错误码。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>错误码。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isNACK()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isNACK</h4>
|
||||
<pre>public boolean isNACK()</pre>
|
||||
<div class="block">回应是否为 NACK。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>true:若回应为 NACK。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isOK()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isOK</h4>
|
||||
<pre>public boolean isOK()</pre>
|
||||
<div class="block">判断命令是否被正确执行。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>true:命令被正确执行并回应对应结果。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isTimeout()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isTimeout</h4>
|
||||
<pre>public boolean isTimeout()</pre>
|
||||
<div class="block">是否逾时。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>true:若命令回应逾时。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><strong>Overrides:</strong></dt>
|
||||
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GScreen.Result.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenClient.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GScreen.Result.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GScreen.Result.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
|
@ -1,413 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GScreenProfile.ScreenColorType</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GScreenProfile.ScreenColorType";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GScreenProfile.ScreenColorType.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenProfile.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GScreenProfile.ScreenColorType.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum_constant_summary">Enum Constants</a> | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum_constant_detail">Enum Constants</a> | </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Enum Bx5GScreenProfile.ScreenColorType" class="title">Enum Bx5GScreenProfile.ScreenColorType</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Enum<<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GScreenProfile.ScreenColorType</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable, java.lang.Comparable<<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a>></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../onbon/bx05/Bx5GScreenProfile.html" title="class in onbon.bx05">Bx5GScreenProfile</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static enum <span class="strong">Bx5GScreenProfile.ScreenColorType</span>
|
||||
extends java.lang.Enum<<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a>></pre>
|
||||
<div class="block">显示屏类型。<br>
|
||||
1:单基色。<br>
|
||||
3:双基色。<br>
|
||||
255:全彩。<br></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum_constant_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
||||
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Enum Constant and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html#COLOR">COLOR</a></strong></code>
|
||||
<div class="block">全彩。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html#DOUBLE">DOUBLE</a></strong></code>
|
||||
<div class="block">双基色。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html#SINGLE">SINGLE</a></strong></code>
|
||||
<div class="block">单基色。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html#value">value</a></strong></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html#toString()">toString</a></strong>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html#typeOf(int)">typeOf</a></strong>(int code)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a>[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html#values()">values</a></strong>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Enum</h3>
|
||||
<code>compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum_constant_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Detail</h3>
|
||||
<a name="COLOR">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>COLOR</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a> COLOR</pre>
|
||||
<div class="block">全彩。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="DOUBLE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>DOUBLE</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a> DOUBLE</pre>
|
||||
<div class="block">双基色。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="SINGLE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>SINGLE</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a> SINGLE</pre>
|
||||
<div class="block">单基色。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="value">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>value</h4>
|
||||
<pre>public final int value</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="toString()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><strong>Overrides:</strong></dt>
|
||||
<dd><code>toString</code> in class <code>java.lang.Enum<<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a>></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="typeOf(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>typeOf</h4>
|
||||
<pre>public static <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a> typeOf(int code)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="valueOf(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a> valueOf(java.lang.String name)</pre>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.
|
||||
The string must match <i>exactly</i> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
|
||||
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="values()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a>[] values()</pre>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (Bx5GScreenProfile.ScreenColorType c : Bx5GScreenProfile.ScreenColorType.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GScreenProfile.ScreenColorType.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenProfile.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GScreenProfile.ScreenColorType.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum_constant_summary">Enum Constants</a> | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum_constant_detail">Enum Constants</a> | </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,344 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GScreenProfile.ScreenMatrixType</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GScreenProfile.ScreenMatrixType";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GScreenProfile.ScreenMatrixType.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenRS.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GScreenProfile.ScreenMatrixType.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum_constant_summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum_constant_detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Enum Bx5GScreenProfile.ScreenMatrixType" class="title">Enum Bx5GScreenProfile.ScreenMatrixType</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Enum<<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GScreenProfile.ScreenMatrixType</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable, java.lang.Comparable<<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a>></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../onbon/bx05/Bx5GScreenProfile.html" title="class in onbon.bx05">Bx5GScreenProfile</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static enum <span class="strong">Bx5GScreenProfile.ScreenMatrixType</span>
|
||||
extends java.lang.Enum<<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a>></pre>
|
||||
<div class="block">点阵类型。控制器默认为 G+R 类型。<br></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum_constant_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
||||
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Enum Constant and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html#COLOR">COLOR</a></strong></code>
|
||||
<div class="block">全彩。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html#RG">RG</a></strong></code>
|
||||
<div class="block">R+G。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html#RGGR">RGGR</a></strong></code>
|
||||
<div class="block">G+R,该参数只对双基色屏有效。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a>[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html#values()">values</a></strong>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Enum</h3>
|
||||
<code>compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum_constant_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Detail</h3>
|
||||
<a name="COLOR">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>COLOR</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a> COLOR</pre>
|
||||
<div class="block">全彩。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="RG">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>RG</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a> RG</pre>
|
||||
<div class="block">R+G。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="RGGR">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>RGGR</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a> RGGR</pre>
|
||||
<div class="block">G+R,该参数只对双基色屏有效。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="valueOf(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a> valueOf(java.lang.String name)</pre>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.
|
||||
The string must match <i>exactly</i> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
|
||||
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="values()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a>[] values()</pre>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (Bx5GScreenProfile.ScreenMatrixType c : Bx5GScreenProfile.ScreenMatrixType.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GScreenProfile.ScreenMatrixType.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenRS.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GScreenProfile.ScreenMatrixType.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum_constant_summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum_constant_detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,478 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GScreenProfile</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GScreenProfile";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GScreenProfile.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenClient.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GScreenProfile.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GScreenProfile.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_class_summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GScreenProfile" class="title">Class Bx5GScreenProfile</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GScreenProfile</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public final class <span class="strong">Bx5GScreenProfile</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">屏幕规格。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested_class_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a></strong></code>
|
||||
<div class="block">显示屏类型。<br>
|
||||
1:单基色。<br>
|
||||
3:双基色。<br>
|
||||
255:全彩。<br></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a></strong></code>
|
||||
<div class="block">点阵类型。控制器默认为 G+R 类型。<br></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#Bx5GScreenProfile(int,%20int,%20onbon.bx05.series.Bx5G)">Bx5GScreenProfile</a></strong>(int width,
|
||||
int height,
|
||||
<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#Bx5GScreenProfile(int,%20int,%20onbon.bx05.series.Bx5G,%20onbon.bx05.Bx5GScreenProfile.ScreenColorType)">Bx5GScreenProfile</a></strong>(int width,
|
||||
int height,
|
||||
<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g,
|
||||
<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a> colorType)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.util.Map<java.lang.String,java.lang.Object></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#createMessageConst()">createMessageConst</a></strong>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>java.awt.Color</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#decodeColor(int)">decodeColor</a></strong>(int color)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#encodeColor(java.awt.Color)">encodeColor</a></strong>(java.awt.Color color)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#getColorType()">getColorType</a></strong>()</code>
|
||||
<div class="block">取得基色类型。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#getHeight()">getHeight</a></strong>()</code>
|
||||
<div class="block">取得屏幕高度。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#getMatrixType()">getMatrixType</a></strong>()</code>
|
||||
<div class="block">取得双基色点阵类型。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#getWidth()">getWidth</a></strong>()</code>
|
||||
<div class="block">取得屏幕宽度。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#isFullColor()">isFullColor</a></strong>()</code>
|
||||
<div class="block">取得是否為全彩。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#isReverseFontData()">isReverseFontData</a></strong>()</code>
|
||||
<div class="block">取得是否反轉字模。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#setMatrixType(onbon.bx05.Bx5GScreenProfile.ScreenMatrixType)">setMatrixType</a></strong>(<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a> matrixType)</code>
|
||||
<div class="block">设定双基色点阵类型。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenProfile.html#toString()">toString</a></strong>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Bx5GScreenProfile(int, int, onbon.bx05.series.Bx5G)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GScreenProfile</h4>
|
||||
<pre>public Bx5GScreenProfile(int width,
|
||||
int height,
|
||||
<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>width</code> - 屏幕宽度。</dd><dd><code>height</code> - 屏幕高度。</dd><dd><code>bx5g</code> - BX5G 控制器规格。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="Bx5GScreenProfile(int, int, onbon.bx05.series.Bx5G, onbon.bx05.Bx5GScreenProfile.ScreenColorType)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GScreenProfile</h4>
|
||||
<pre>public Bx5GScreenProfile(int width,
|
||||
int height,
|
||||
<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g,
|
||||
<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a> colorType)</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>width</code> - 屏幕宽度。</dd><dd><code>height</code> - 屏幕高度。</dd><dd><code>bx5g</code> - BX5G 控制器规格。</dd><dd><code>colorType</code> - 显示屏类型。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="createMessageConst()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createMessageConst</h4>
|
||||
<pre>public java.util.Map<java.lang.String,java.lang.Object> createMessageConst()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="decodeColor(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>decodeColor</h4>
|
||||
<pre>public java.awt.Color decodeColor(int color)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="encodeColor(java.awt.Color)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>encodeColor</h4>
|
||||
<pre>public int encodeColor(java.awt.Color color)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getColorType()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getColorType</h4>
|
||||
<pre>public <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenColorType</a> getColorType()</pre>
|
||||
<div class="block">取得基色类型。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>基色类型。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getHeight()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getHeight</h4>
|
||||
<pre>public int getHeight()</pre>
|
||||
<div class="block">取得屏幕高度。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>屏幕高度。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getMatrixType()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getMatrixType</h4>
|
||||
<pre>public <a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a> getMatrixType()</pre>
|
||||
<div class="block">取得双基色点阵类型。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>双基色点阵类型。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getWidth()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getWidth</h4>
|
||||
<pre>public int getWidth()</pre>
|
||||
<div class="block">取得屏幕宽度。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>屏幕宽度。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isFullColor()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isFullColor</h4>
|
||||
<pre>public boolean isFullColor()</pre>
|
||||
<div class="block">取得是否為全彩。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>是否為全彩。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isReverseFontData()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isReverseFontData</h4>
|
||||
<pre>public boolean isReverseFontData()</pre>
|
||||
<div class="block">取得是否反轉字模。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>是否反轉字模。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setMatrixType(onbon.bx05.Bx5GScreenProfile.ScreenMatrixType)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setMatrixType</h4>
|
||||
<pre>public void setMatrixType(<a href="../../onbon/bx05/Bx5GScreenProfile.ScreenMatrixType.html" title="enum in onbon.bx05">Bx5GScreenProfile.ScreenMatrixType</a> matrixType)</pre>
|
||||
<div class="block">设定双基色点阵类型。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>matrixType</code> - 双基色点阵类型。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public java.lang.String toString()</pre>
|
||||
<dl>
|
||||
<dt><strong>Overrides:</strong></dt>
|
||||
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GScreenProfile.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenClient.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenProfile.ScreenColorType.html" title="enum in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GScreenProfile.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GScreenProfile.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_class_summary">Nested</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,365 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GScreenRS.BaudRate</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GScreenRS.BaudRate";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GScreenRS.BaudRate.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenRS.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenServer.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GScreenRS.BaudRate.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GScreenRS.BaudRate.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum_constant_summary">Enum Constants</a> | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum_constant_detail">Enum Constants</a> | </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Enum Bx5GScreenRS.BaudRate" class="title">Enum Bx5GScreenRS.BaudRate</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Enum<<a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05">Bx5GScreenRS.BaudRate</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GScreenRS.BaudRate</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd>java.io.Serializable, java.lang.Comparable<<a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05">Bx5GScreenRS.BaudRate</a>></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../onbon/bx05/Bx5GScreenRS.html" title="class in onbon.bx05">Bx5GScreenRS</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static enum <span class="strong">Bx5GScreenRS.BaudRate</span>
|
||||
extends java.lang.Enum<<a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05">Bx5GScreenRS.BaudRate</a>></pre>
|
||||
<div class="block">波特率</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum_constant_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
||||
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Enum Constant and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html#RATE_57600">RATE_57600</a></strong></code>
|
||||
<div class="block">波特率 57600。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html#RATE_9600">RATE_9600</a></strong></code>
|
||||
<div class="block">波特率 9600。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html#value">value</a></strong></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05">Bx5GScreenRS.BaudRate</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05">Bx5GScreenRS.BaudRate</a>[]</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html#values()">values</a></strong>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Enum</h3>
|
||||
<code>compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum_constant_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Detail</h3>
|
||||
<a name="RATE_57600">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>RATE_57600</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05">Bx5GScreenRS.BaudRate</a> RATE_57600</pre>
|
||||
<div class="block">波特率 57600。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="RATE_9600">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>RATE_9600</h4>
|
||||
<pre>public static final <a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05">Bx5GScreenRS.BaudRate</a> RATE_9600</pre>
|
||||
<div class="block">波特率 9600。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="value">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>value</h4>
|
||||
<pre>public final int value</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="valueOf(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05">Bx5GScreenRS.BaudRate</a> valueOf(java.lang.String name)</pre>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.
|
||||
The string must match <i>exactly</i> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
|
||||
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="values()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../onbon/bx05/Bx5GScreenRS.BaudRate.html" title="enum in onbon.bx05">Bx5GScreenRS.BaudRate</a>[] values()</pre>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (Bx5GScreenRS.BaudRate c : Bx5GScreenRS.BaudRate.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GScreenRS.BaudRate.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenRS.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenServer.html" title="class in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GScreenRS.BaudRate.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GScreenRS.BaudRate.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum_constant_summary">Enum Constants</a> | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum_constant_detail">Enum Constants</a> | </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,474 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_79) on Wed Jan 18 13:20:43 CST 2017 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Bx5GServer</title>
|
||||
<meta name="date" content="2017-01-18">
|
||||
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Bx5GServer";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar_top">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GServer.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenServer.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GServerListener.html" title="interface in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GServer.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GServer.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">onbon.bx05</div>
|
||||
<h2 title="Class Bx5GServer" class="title">Class Bx5GServer</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>onbon.bx05.Bx5GServer</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="strong">Bx5GServer</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">BX5G 服务器主程式。<br>
|
||||
|
||||
程式会于启动后监听是否有屏幕与服务程式建立连线,并于连线建立后透过监听器通知外部。 <br>
|
||||
* 当屏幕于一分钟内没有收到任何心跳包,或没有进行任何操作,程式会自动切断该屏幕的连线,并透过监听器通知外部。 <br>
|
||||
|
||||
<pre>
|
||||
<code>Bx5GServer server = new Bx5GServer("TEST", 8001);
|
||||
server.addListener(new AppListener());
|
||||
server.start();
|
||||
|
||||
|
||||
public class AppListener implements Bx5GServerListener {
|
||||
|
||||
public void connected(String socketId, String netId, Bx5GScreen screen) {
|
||||
// 设备连线,相关资讯包括:
|
||||
// socketId: Socket 编号。
|
||||
// netId: 控制器 Net 编号,唯一識別碼。
|
||||
// screen: 屏幕控制程式。
|
||||
}
|
||||
|
||||
public void disconnected(String socketId, String netId, Bx5GScreen screen) {
|
||||
// 设备断线,相关资讯包括:
|
||||
// socketId: Socket 编号。
|
||||
// netId: 控制器 Net 编号,唯一識別碼。
|
||||
// screen: 屏幕控制程式。
|
||||
}
|
||||
}
|
||||
|
||||
</code>
|
||||
</pre></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#Bx5GServer(java.lang.String,%20int)">Bx5GServer</a></strong>(java.lang.String aliasName,
|
||||
int port)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#Bx5GServer(java.lang.String,%20int,%20onbon.bx05.series.Bx5G)">Bx5GServer</a></strong>(java.lang.String aliasName,
|
||||
int port,
|
||||
<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g)</code>
|
||||
<div class="block">建构子。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#addListener(onbon.bx05.Bx5GServerListener)">addListener</a></strong>(<a href="../../onbon/bx05/Bx5GServerListener.html" title="interface in onbon.bx05">Bx5GServerListener</a> listener)</code>
|
||||
<div class="block">增加监听器。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#clearListeners()">clearListeners</a></strong>()</code>
|
||||
<div class="block">清除所有监听器。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.util.Set<java.lang.String></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#getOnlineNetIds()">getOnlineNetIds</a></strong>()</code>
|
||||
<div class="block">取得目前上线控制器 Net 编号清单, GPRS 設備的的 Net 编号等於 DTU 编号。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05">Bx5GScreen</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#getOnlineScreenByNetId(java.lang.String)">getOnlineScreenByNetId</a></strong>(java.lang.String netId)</code>
|
||||
<div class="block">根據 Net 编号或是 GPRS 的 DTU 编号取得上线的屏幕控制程式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05">Bx5GScreen</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#getOnlineScreenBySocketId(java.lang.String)">getOnlineScreenBySocketId</a></strong>(java.lang.String socketId)</code>
|
||||
<div class="block">取得上线的屏幕控制程式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>java.util.Set<java.lang.String></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#getOnlineSocketIds()">getOnlineSocketIds</a></strong>()</code>
|
||||
<div class="block">取得目前上线屏幕的 Socket 编号 (识别编号)。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>java.util.Collection<<a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05">Bx5GScreen</a>></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#getOnlinScreens()">getOnlinScreens</a></strong>()</code>
|
||||
<div class="block">取得上线的所有屏幕控制程式。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#removeListener(onbon.bx05.Bx5GServerListener)">removeListener</a></strong>(<a href="../../onbon/bx05/Bx5GServerListener.html" title="interface in onbon.bx05">Bx5GServerListener</a> listener)</code>
|
||||
<div class="block">移除监听器。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#start()">start</a></strong>()</code>
|
||||
<div class="block">启动服务。</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../onbon/bx05/Bx5GServer.html#stop()">stop</a></strong>()</code>
|
||||
<div class="block">停止服务。</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="Bx5GServer(java.lang.String, int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GServer</h4>
|
||||
<pre>public Bx5GServer(java.lang.String aliasName,
|
||||
int port)
|
||||
throws java.lang.Exception</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>aliasName</code> - 名稱</dd><dd><code>port</code> - 通訊埠。</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.Exception</code> - 發生錯誤。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="Bx5GServer(java.lang.String, int, onbon.bx05.series.Bx5G)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>Bx5GServer</h4>
|
||||
<pre>public Bx5GServer(java.lang.String aliasName,
|
||||
int port,
|
||||
<a href="../../onbon/bx05/series/Bx5G.html" title="class in onbon.bx05.series">Bx5G</a> bx5g)
|
||||
throws java.lang.Exception</pre>
|
||||
<div class="block">建构子。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>aliasName</code> - 名稱</dd><dd><code>port</code> - 通訊埠。</dd>
|
||||
<dt><span class="strong">Throws:</span></dt>
|
||||
<dd><code>java.lang.Exception</code> - 發生錯誤。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="addListener(onbon.bx05.Bx5GServerListener)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addListener</h4>
|
||||
<pre>public void addListener(<a href="../../onbon/bx05/Bx5GServerListener.html" title="interface in onbon.bx05">Bx5GServerListener</a> listener)</pre>
|
||||
<div class="block">增加监听器。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - 监听器。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="clearListeners()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>clearListeners</h4>
|
||||
<pre>public void clearListeners()</pre>
|
||||
<div class="block">清除所有监听器。</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getOnlineNetIds()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getOnlineNetIds</h4>
|
||||
<pre>public java.util.Set<java.lang.String> getOnlineNetIds()</pre>
|
||||
<div class="block">取得目前上线控制器 Net 编号清单, GPRS 設備的的 Net 编号等於 DTU 编号。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>目前上线控制器的Net 编号清单。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getOnlineScreenByNetId(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getOnlineScreenByNetId</h4>
|
||||
<pre>public <a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05">Bx5GScreen</a> getOnlineScreenByNetId(java.lang.String netId)</pre>
|
||||
<div class="block">根據 Net 编号或是 GPRS 的 DTU 编号取得上线的屏幕控制程式。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>netId</code> - 控制器 Net 编号或是 GPRS 的 DTU 编号。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>屏幕控制程式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getOnlineScreenBySocketId(java.lang.String)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getOnlineScreenBySocketId</h4>
|
||||
<pre>public <a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05">Bx5GScreen</a> getOnlineScreenBySocketId(java.lang.String socketId)</pre>
|
||||
<div class="block">取得上线的屏幕控制程式。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>socketId</code> - Socket 编号 (识别编号)。</dd>
|
||||
<dt><span class="strong">Returns:</span></dt><dd>屏幕控制程式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getOnlineSocketIds()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getOnlineSocketIds</h4>
|
||||
<pre>public java.util.Set<java.lang.String> getOnlineSocketIds()</pre>
|
||||
<div class="block">取得目前上线屏幕的 Socket 编号 (识别编号)。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>目前上线屏幕的 Socket 编号。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getOnlinScreens()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getOnlinScreens</h4>
|
||||
<pre>public java.util.Collection<<a href="../../onbon/bx05/Bx5GScreen.html" title="class in onbon.bx05">Bx5GScreen</a>> getOnlinScreens()</pre>
|
||||
<div class="block">取得上线的所有屏幕控制程式。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>屏幕控制程式。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="removeListener(onbon.bx05.Bx5GServerListener)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>removeListener</h4>
|
||||
<pre>public void removeListener(<a href="../../onbon/bx05/Bx5GServerListener.html" title="interface in onbon.bx05">Bx5GServerListener</a> listener)</pre>
|
||||
<div class="block">移除监听器。</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>listener</code> - 监听器。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="start()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>start</h4>
|
||||
<pre>public boolean start()</pre>
|
||||
<div class="block">启动服务。</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>启动是否成功。</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="stop()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>stop</h4>
|
||||
<pre>public void stop()</pre>
|
||||
<div class="block">停止服务。</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar_bottom">
|
||||
<!-- -->
|
||||
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/Bx5GServer.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../index-all.html">Index</a></li>
|
||||
<li><a href="../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../onbon/bx05/Bx5GScreenServer.html" title="class in onbon.bx05"><span class="strong">Prev Class</span></a></li>
|
||||
<li><a href="../../onbon/bx05/Bx5GServerListener.html" title="interface in onbon.bx05"><span class="strong">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../index.html?onbon/bx05/Bx5GServer.html" target="_top">Frames</a></li>
|
||||
<li><a href="Bx5GServer.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip-navbar_bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue