公告板
版本库
活动
搜索
登录
java
/
BatteryDetection
检测室
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
实现化成工步方向与多工步曲线快照
yeg
2026-09-08
c19dbe36f39315c5bc4d2b17f2969517b442d0ad
[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, UNKNOWN }
/** 返回有明确协议依据的方向;未定义或混合类型保持未知。 */
Direction resolve(String stepType);
}