From 62bd99d03c25ff02f101a4522cf1cbd8430b31c3 Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期二, 16 七月 2024 20:11:14 +0800
Subject: [PATCH] 修改变量,庄口类型默认值从0变更为1

---
 constvar/const.go |   25 ++++++++++++++++++++-----
 1 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/constvar/const.go b/constvar/const.go
index 16118ac..72056a6 100644
--- a/constvar/const.go
+++ b/constvar/const.go
@@ -3,10 +3,10 @@
 type DictType int
 
 const (
-	DictTypeMarket   DictType = iota //搴勫彛
-	DictTypeWorkshop                 //杞﹂棿
-	DictTypeColor                    //棰滆壊
-	DictTypeSpec                     //瑙勬牸
+	DictTypeMarket   DictType = iota + 1 //搴勫彛
+	DictTypeWorkshop                     //杞﹂棿
+	DictTypeColor                        //棰滆壊
+	DictTypeSpec                         //瑙勬牸
 )
 
 type UserType int
@@ -17,12 +17,27 @@
 	UserTypeSub                         // 瀛愯处鎴�
 )
 
+type CodeStandardType int
+
+const (
+	CodeStandardType_Workshop CodeStandardType = iota + 1 // 杞﹂棿
+	CodeStandardType_Fineness                             // 绾ゅ害鐧昏
+	CodeStandardType_Yield                                // 浜ч噺鐧昏
+)
+
 type CarFlag int
 
 const (
 	LeftHalfCar  CarFlag = iota + 1 //宸﹀崐杞�
 	RightHalfCar                    //鍙冲崐杞�
-	AllCar                          //鍏ㄨ溅缁撴潫
+	//AllCar                          //鍏ㄨ溅缁撴潫
+)
+
+type WorkshopType int
+
+const (
+	Workshop WorkshopType = iota + 1 // 杞﹂棿淇℃伅
+	Group                            // 鍒嗙粍淇℃伅
 )
 
 type CheckItem int

--
Gitblit v1.8.0