十字准星模式 保存 初步实现

This commit is contained in:
mmc
2026-03-01 16:13:37 +08:00
parent 8f9dd775d7
commit fe8a0ffbc4
2 changed files with 162 additions and 14 deletions

View File

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