forked from TALL/tall3-pc-keti
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.3 KiB
49 lines
1.3 KiB
export const networkConfig = {
|
|
ip1: '',
|
|
port1: '',
|
|
ip2: '',
|
|
port2: '',
|
|
ip3: '',
|
|
port3: '',
|
|
ipBackup: '',
|
|
portBackup: '',
|
|
account: '',
|
|
password: '',
|
|
apn: '',
|
|
status: '',
|
|
};
|
|
|
|
export const functionConfig = {
|
|
frequency: {
|
|
so2: 0, // SO2采样频率
|
|
metal: 0, // 金属腐蚀采样频率
|
|
th: 0, // 温湿度 采样频率
|
|
salt: 0, // 盐雾 采样频率
|
|
}, // 采样频率
|
|
count: 0, // 采集个数
|
|
time: Date.now(), // 设置时间
|
|
batteryLow: 0, // 电池电压低阈值
|
|
batteryHigh: 0, // 电池电压高阈值
|
|
sunHigh: 0, // 太阳能电压高阈值
|
|
humidityHigh: 0, // 湿度高阈值
|
|
temperatureLow: 0, // 温度低阈值
|
|
temperatureHigh: 0, // 温度高阈值
|
|
securityMode: 'OPEN', // 安全模式 OPEN->不加密 ENCRYPTION->加密
|
|
corrosiveType1: '', // 金属腐蚀类型
|
|
corrosiveType2: '', // 金属腐蚀类型
|
|
corrosiveType3: '', // 金属腐蚀类型
|
|
corrosiveType4: '', // 金属腐蚀类型
|
|
report: {
|
|
type: 'CYCLE', // 上报周期类型 0->时间点 1->周期
|
|
timePoints: [0, 0, 0, 0, 0, 0], // 设置时间点
|
|
cycle: 0, // 上报周期分钟数
|
|
},
|
|
status: '',
|
|
};
|
|
|
|
export const corrosiveTypes = [
|
|
{ value: 'XIN', type: '锌' },
|
|
{ value: 'LV', type: '铝' },
|
|
{ value: 'TONG', type: '铜' },
|
|
{ value: 'GANG', type: '钢' },
|
|
];
|
|
|