1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- // Copyright 2019 github.com. All rights reserved.
- // Use of this source code is governed by github.com.
- package consts
- const (
- PageSize = 10
- )
- const (
- TimeSecondLayOut = "2006-01-02 15:04:05"
- )
- const (
- DeviceStatusAddAuditting = iota // 待审核
- DeviceStatusAddAuditted//添加设备审核通过
- DeviceStatusAddAudittedFail//添加设备审核未通过
- )
- const (
- DeviceStatusDelAuditting = iota // 拆机待审核
- DeviceStatusDelAuditted//拆机审核通过
- DeviceStatusDelAudittedFail//拆机审核未通过
- )
- const (
- DeviceTypeStatusAddTesting = iota //添加设备类型待对接测试
- DeviceTypeStatusAddTestted //对接测试通过
- DeviceTypeStatusAddTesttedFail //对接测试未通过
- )
- const (
- DeviceTypeStatusAddAuditting = iota // 待住建部审批
- DeviceTypeStatusAddAuditted //住建部审核通过
- DeviceTypeStatusAddAudittedFail //住建部审核未通过
- )
- const (
- ProviderStatusAddAuditting = iota
- ProviderStatusAddAuditted
- ProviderStatusAddAudittedFail
- )
- const (
- _ = iota
- AttendanceKindIn
- AttendanceKindOut
- AttendanceKindInOut
- AttendanceKindCollect
- )
- const (
- _ = iota
- AttendanceSubKindIris
- AttendanceSubKindRedFace
- AttendanceSubKindLightFace
- AttendanceSubKindLightRedFace
- AttendanceSubKindLightFaceIris
- )
- var AttendanceKind = map[int]string{
- AttendanceKindIn:"进场设备",
- AttendanceKindOut:"出场设备",
- AttendanceKindInOut:"进出场设备",
- AttendanceKindCollect:"采集设备",
- }
- var AttendanceSubKind = map[int]string{
- AttendanceSubKindIris:"虹膜设备",
- AttendanceSubKindRedFace:"红外人脸设备",
- AttendanceSubKindLightFace:"可见光人脸设备",
- AttendanceSubKindLightRedFace:"可见光+红外人脸设备",
- AttendanceSubKindLightFaceIris:"可见光+虹膜设备",
- }
|