com.pax.dal
Interface IWLAttack
-
public interface IWLAttack
关于税控/电子印章触发相关的API。Tax Control/Electronic Seal Attack API Documentation.- Since:
- V4.11.00
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidclearEventDate(int eventType)清除触发事件。Clear attack events.java.lang.StringfiscalGetBootVer()获取MH1701 boot版本。Retrieve the boot version of MH1701.java.lang.StringfiscalGetFwVer()获取MH1701 monitor版本。Retrieve the monitor version of MH1701.intgetAttackType()税控mesh/电子印章触发广播Tax Control Mesh / Electronic Seal Attack Broadcast.java.lang.StringgetEventDate(int eventType)获取触发时间 注意:如果没有触发event_data返回空值,否则返回最近一次触发时间。Get the trigger time Note: If event_data is not triggered, return a null value; otherwise, return the latest trigger time
-
-
-
Method Detail
-
getAttackType
int getAttackType() throws WLAttackDevException
税控mesh/电子印章触发广播Tax Control Mesh / Electronic Seal Attack Broadcast.- Returns:
- 0-没有触发; 2-税控模块触发; 8-电子印章触发; 10-同时触发;16-移除纽扣电池触发; other-保留。0- No trigger; 2- Tax control module triggered; 8- Electronic seal trigger; 10- Trigger simultaneously; 16- Remove button battery trigger; other-reserved.
- Throws:
WLAttackDevException- Since:
- V4.11.00
-
getEventDate
java.lang.String getEventDate(int eventType) throws WLAttackDevException
获取触发时间 注意:如果没有触发event_data返回空值,否则返回最近一次触发时间。Get the trigger time Note: If event_data is not triggered, return a null value; otherwise, return the latest trigger time- Parameters:
eventType-- 0-AP_MESH_ATTACK
- 1-AP_ELECTRONIC_SEAL
- 2-移除纽扣电池触发
- 0- Tax Control Mesh
- 1- Electronic Seal
- 2- Remove button battery trigger
- Returns:
- Format: yyyyMMddHHmmss(比如:"20130606173737" = Thu Jun 06 17:37:37 CST 2013)Format: yyyyMMddHHmmss(for example, "20130606173737" = Thu Jun 06 17:37:37 CST 2013).
- Throws:
WLAttackDevException- Since:
- V4.11.00
-
clearEventDate
void clearEventDate(int eventType) throws WLAttackDevException
清除触发事件。Clear attack events.- Parameters:
eventType-- 0-AP_MESH_ATTACK
- 1-AP_ELECTRONIC_SEAL
- 注:eventType参数设置无效,均是清除所有触发事件
- 0-AP_MESH_ATTACK
- 1-AP_ELECTRONIC_SEAL
- Note: The eventType parameter is invalid. All triggered events are cleared
- Throws:
WLAttackDevException- Since:
- V4.11.00
-
fiscalGetFwVer
java.lang.String fiscalGetFwVer() throws WLAttackDevException
获取MH1701 monitor版本。Retrieve the monitor version of MH1701.- Returns:
- MH1701 monitor版本The monitor version of MH1701.
- Throws:
WLAttackDevException- Since:
- V4.11.00
-
fiscalGetBootVer
java.lang.String fiscalGetBootVer() throws WLAttackDevException
获取MH1701 boot版本。Retrieve the boot version of MH1701.- Returns:
- MH1701 boot版本The boot version of MH1701.
- Throws:
WLAttackDevException- Since:
- V4.11.00
-
-