From 369345210a59c15354000e5754165be8a1278415 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 08 四月 2024 14:53:59 +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