fix: 将机器人状态枚举中的“未知”状态值从 -1 修改为 0,以确保状态值的有效性和一致性
This commit is contained in:
parent
358f213eac
commit
f14e3a68ad
@ -16,7 +16,7 @@ export enum RobotType {
|
||||
export const ROBOT_TYPE_OPTIONS = <Array<[string, RobotType]>>Object.entries(RobotType).filter(([, v]) => isNumber(v));
|
||||
|
||||
export enum RobotState {
|
||||
未知 = -1,
|
||||
未知 = 0,
|
||||
任务执行中 = 1,
|
||||
充电中,
|
||||
停靠中,
|
||||
|
Loading…
x
Reference in New Issue
Block a user