12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import DictValue from '../../viewmodel/DictValue'
- import HashMap from '@ohos.util.HashMap'
- export default class CommonConstants {
- static readonly RDB_NAME: string = 'Presentation.db'
- static readonly PRE_NAME: string = 'MyPreferences'
- static AUTH_TOKEN: string = ''
- // 附件地址前缀
- static FILE_URL_PREFIX: string = 'http://192.168.1.3:9000'
- // 当前登录用户相关信息
- static USER_ID?: number = 1
- static USER_NAME: string = '1'
- static USER_AVATAR: string = ''
- static STATION_NANE: string = '1'
- static STATION_ID: number
- static STATION_CODE: string = 'GW0002'
- static STATION_IP: string = ''
- static stationDictValue: string = ''
- static MATERIAL_BOX_ID: string = ''
- // 是否是退出登陆
- static LOGIN_OUT: boolean = false
- static readonly STORAGE_TYPE: string[] = ['电子元器件', '电路板', '结构件', '辅助材料']
- //吊篮高度
- static readonly HANGING_HEIGHT :Array<SelectOption> =[
- {value:"原位"},
- {value:"第一层"},
- {value:"第二层"},
- {value:"第三层"},
- {value:"第四层"},
- {value:"第五层"},
- {value:"第六层"},
- {value:"工位料口层"},
- {value:"库位料口层"}
- ]
- static readonly PARK_TYPE: string[] = ['出入库位置', '充电位置', '工作台', '其他']
- static readonly RGV_STATUS: Record<string, string> = {
- '0': '空闲',
- '1': '移动中',
- '2': '等待路径',
- '3': '取箱中',
- '4': '放箱中',
- '5': '充电中',
- '6': '关机',
- };
- static DICT_DATA: HashMap<string, DictValue[]> = new HashMap<string, DictValue[]>()
- }
|