公告板
版本库
活动
搜索
登录
java
/
BatteryDetection
检测室
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
修本地开发连接:业务库与 Redis 地址改回回环
yeg
4 天以前
65667e597b24c14624304a639bd883d3e2baa71f
[java/BatteryDetection.git]
/
battery-device-api
/
src
/
main
/
java
/
com
/
battery
/
device
/
api
/
StepDirectionResolver.java
1
2
3
4
5
6
7
8
9
10
package com.battery.device.api;
/** 将已保存的实际工步类型解释为充电、放电、静置或未知,不依据测量值猜测。 */
public interface StepDirectionResolver
{
enum Direction { CHARGE, DISCHARGE, REST, UNKNOWN }
/** 返回有明确协议依据的方向;未定义或混合类型保持未知。 */
Direction resolve(String stepType);
}