点击选中 获取路径 的结果 完成

This commit is contained in:
mmc
2026-02-28 13:20:07 +08:00
parent a55dd457ab
commit d547ed2480
2 changed files with 46 additions and 34 deletions

View File

@@ -1,4 +1,12 @@
enum WorkMode { bow, custom }
enum WorkMode {
bow("0"), // 作业模式:bow,值为0
custom("2"); // 作业模式:custom,值为2
// 定义枚举的数值属性
final String value;
// 枚举构造函数(必须是const)
const WorkMode(this.value);
}
enum RobotMode { point, robot }