From 9a55dd2315602ab802ee7fcbad46cef17ffe23d8 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期四, 18 四月 2024 16:50:29 +0800 Subject: [PATCH] swag提交 --- constvar/const.go | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 47 insertions(+), 1 deletions(-) diff --git a/constvar/const.go b/constvar/const.go index 5a024d3..dcc75db 100644 --- a/constvar/const.go +++ b/constvar/const.go @@ -22,5 +22,51 @@ const ( LeftHalfCar CarFlag = iota + 1 //宸﹀崐杞� RightHalfCar //鍙冲崐杞� - AllCar //鍏ㄨ溅 + 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 //姣忎汉姣忚溅鎶芥浠芥暟 +) + +// WorkerStatus 浜哄憳鐘舵�� +type WorkerStatus int + +const ( + WorkerStatusWorking WorkerStatus = iota + 1 // 鍦ㄧ彮 + WorkerStatusRest // 浼戞伅 + WorkerStatusHoliday // 璇峰亣 + WorkerStatusOvertime // 鍔犵彮 +) + +// MiniDictType 杩蜂綘瀛楀吀绫诲瀷 +type MiniDictType int + +const ( + MiniDictTypePlcBrand MiniDictType = iota + 1 // PLC鍝佺墝 + MiniDictTypeBomVersionType // Bom鐗堟湰绫诲瀷 + EarlyWarningDay //棰勮澶╂暟 + InspectionWayType //璐ㄦ鏂瑰紡绫诲瀷 + OutsourcingSupplierType //濮斿渚涘簲鍟嗙被鍨� + OutsourcingSupplierCreditGrade //淇$敤绛夌骇 + OutsourcingSupplierRange //渚涜揣鑼冨洿 + SalaryType //鍢夎仈钖祫绫诲瀷 ) -- Gitblit v1.8.0