BxFile.Binary
Constructor and Description |
---|
PrayerTimeConfigBxFile() |
Modifier and Type | Method and Description |
---|---|
void |
addAlarmTime(PrayerBxArea.TimeType time)
新增需要报警祷告页编号。
|
void |
addAllAlarmTimes()
新增所有报警祷告页编号。
|
void |
clearAlarmTimes()
清除警祷告页编号。
|
BxFile.Binary |
generate()
产生文件的位元组资讯。
|
int |
getAlarmMode()
取得报警模式。
0: 定时长响 。 1: 定时,间隔响。 |
String |
getFileName()
取得文件名称。
|
int |
getFileNo()
取得文件名。
|
onbon.bx05.message.common.FileType |
getFileType()
取得文件类型。
|
int |
getFileVersion()
取得文件版本。
|
int |
getTimeInterval()
取得间隔时长。
|
int |
getTimeLength()
取得定时时长。
|
void |
setAlarmMode(int alarmMode)
设定报警模式。
0: 定时长响 。 1: 定时,间隔响。 |
void |
setFileNo(int fileNo)
设定文件名。
|
void |
setFileVersion(int fileVersion)
设定文件版本。
|
void |
setTimeInterval(int timeInterval)
设定间隔时长。
|
void |
setTimeLength(int timeLength)
设定定时时长。
|
public int getFileNo()
public void setFileNo(int fileNo)
fileNo
- 文件名。public int getFileVersion()
public void setFileVersion(int fileVersion)
fileVersion
- 文件版本。public int getAlarmMode()
public void setAlarmMode(int alarmMode)
alarmMode
- 报警模式。public int getTimeLength()
public void setTimeLength(int timeLength)
timeLength
- 定时时长(0.1s为单位)。public int getTimeInterval()
public void setTimeInterval(int timeInterval)
timeInterval
- 间隔时长(0.1s为单位)。public void addAllAlarmTimes()
public void clearAlarmTimes()
public void addAlarmTime(PrayerBxArea.TimeType time)
time
- 需要报警祷告页编号。public String getFileName()
BxFile
getFileName
in interface BxFile
public onbon.bx05.message.common.FileType getFileType()
BxFile
getFileType
in interface BxFile
public BxFile.Binary generate() throws Bx5GException
BxFile
generate
in interface BxFile
Bx5GException
- 产生位元组资讯时发生错误。Copyright © 2020 onbon4j. All rights reserved.