common.go 434 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2019 github.com. All rights reserved.
  2. // Use of this source code is governed by github.com.
  3. package consts
  4. const (
  5. PageSize = 10
  6. HalfMinSecond = 30
  7. MinSecond = 60
  8. )
  9. const (
  10. TimeSecondLayOut = "2006-01-02 15:04:05"
  11. DatabaseNotFound = "database not found"
  12. )
  13. const (
  14. TowerDeviceCode = 1
  15. TowerDeviceName = "塔吊"
  16. )
  17. const (
  18. DeviceOffline = 0
  19. DeviceOnline = 1
  20. )
  21. const (
  22. DeviceOfflineCode = "O001"
  23. )