优化架构

This commit is contained in:
huangxiaolei
2022-11-23 18:05:11 +08:00
parent 3efed3defe
commit 43403202b5
6760 changed files with 33748 additions and 554768 deletions

View File

@@ -0,0 +1,19 @@
package constant
var FetterStateConst *FetterState
type FetterState struct {
NONE uint16
NOT_OPEN uint16
OPEN uint16
FINISH uint16
}
func InitFetterStateConst() {
FetterStateConst = new(FetterState)
FetterStateConst.NONE = 0
FetterStateConst.NOT_OPEN = 1
FetterStateConst.OPEN = 1
FetterStateConst.FINISH = 3
}