From 45778cdd4a7829039fef3d262dc7999bb0628f93 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 10 四月 2024 14:22:43 +0800 Subject: [PATCH] 补充 --- constvar/const.go | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/constvar/const.go b/constvar/const.go index c2ae672..df7a3f8 100644 --- a/constvar/const.go +++ b/constvar/const.go @@ -1 +1,48 @@ package constvar + +type DictType int + +const ( + DictTypeMarket DictType = iota //搴勫彛 + DictTypeWorkshop //杞﹂棿 + DictTypeColor //棰滆壊 + DictTypeSpec //瑙勬牸 +) + +type UserType int + +const ( + UserTypeSuper UserType = iota + 1 // 瓒呯骇绠$悊鍛� + UserTypePrimary // 涓昏处鎴� + UserTypeSub // 瀛愯处鎴� +) + +type CarFlag int + +const ( + LeftHalfCar CarFlag = iota + 1 //宸﹀崐杞� + RightHalfCar //鍙冲崐杞� + AllCar //鍏ㄨ溅缁撴潫 +) + +type CheckItem int + +const ( + CheckItemDeviation CheckItem = iota + 1 //绾ゅ害鍋忓樊 + CheckItemTwiceChange //浜屾鍙樺寲 + CheckItemCleanliness //娓呮磥鍒� + CheckItemPurity //娲佸噣鍒� + CheckItemMaxDeviation //鏈�澶у亸宸� +) + +type BadFinenessGrade string + +const ( + BadFinenessGradeA = "badA" + BadFinenessGradeB = "badB" + BadFinenessGradeC = "badC" +) + +const ( + EveryPersonCarCheckNumber = 2 //姣忎汉姣忚溅鎶芥浠芥暟 +) -- Gitblit v1.8.0