From 92bd52259879ffb1a352e154c9a613e873c64105 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 09 四月 2024 14:02:06 +0800 Subject: [PATCH] fix --- constvar/const.go | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/constvar/const.go b/constvar/const.go index 16cb4da..df7a3f8 100644 --- a/constvar/const.go +++ b/constvar/const.go @@ -8,3 +8,41 @@ 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