data.js 1.02 KB
const deviceStatus = [{
	checked: true,
	name: 'common.allText',
	type: ''
},
{
	checked: false,
	name: 'common.onLine',
	type: 'ONLINE'
},
{
	checked: false,
	name: 'common.offLine',
	type: 'OFFLINE'
},
{
	checked: false,
	name: 'common.toBeActivated',
	type: 'INACTIVE'
}
]
const alarmStatus = [{
	checked: true,
	name: 'common.allText',
	type: ''
},
{
	checked: false,
	name: 'common.alarm',
	type: 1
},
{
	checked: false,
	name: 'common.normal',
	type: 0
}
]
const typeStatus = [{
	checked: true,
	name: 'common.allText',
	type: ''
},

{
	checked: false,
	name: 'common.directlyDevice',
	type: 'DIRECT_CONNECTION'
},
{
	checked: false,
	name: 'common.gatewayDevice',
	type: 'GATEWAY'
},
{
	checked: false,
	name: 'common.sensorDevice',
	type: 'SENSOR'
}
]
const collectStatus = [
	{
		checked: true,
		name: 'common.allText',
		type: ''
	},
	{
		checked: false,
		name: 'common.yesText',
		type: '1'
	},
	{
		checked: false,
		name: 'common.noText',
		type: '0'
	},
]

export {
	deviceStatus,
	alarmStatus,
	typeStatus,
	collectStatus
}