4 changed files with 80 additions and 4 deletions
@ -0,0 +1,27 @@ |
|||
module.exports = { |
|||
code: 200, |
|||
msg: 'ok', |
|||
data: { |
|||
frequency: { // 采样频率
|
|||
so2: 10, // SO2采样频率
|
|||
metal: 20, // 金属腐蚀采样频率
|
|||
th: 30, // 温湿度 采样频率
|
|||
salt: 40, // 盐雾 采样频率
|
|||
}, |
|||
count: 1000, // 采集个数
|
|||
time: new Date(), // 设置时间
|
|||
batteryLow: 11, // 电池电压低阈值
|
|||
batteryHigh: 31, // 电池电压高阈值
|
|||
sunHigh: 2, // 太阳能电压高阈值
|
|||
humidityHigh: 32, // 湿度高阈值
|
|||
temperatureLow: 11, // 温度低阈值
|
|||
temperatureHigh: 45, // 温度高阈值
|
|||
securityMode: 0, // 安全模式 0->不加密 1->加密
|
|||
corrosiveType: 1, // 金属腐蚀类型
|
|||
report: { |
|||
type: 1, // 上报周期类型 0->时间点 1->周期
|
|||
timePoints: [0, 0, 0, 0, 0, 0], // 设置时间点
|
|||
cycle: 10, // 上报周期分钟数
|
|||
}, |
|||
} |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
module.exports = { |
|||
code: 200, |
|||
msg: 'ok', |
|||
data: { |
|||
ip1: '192.168.1.101', |
|||
port1: '8007', |
|||
ip2: '292.168.1.101', |
|||
port2: '4001', |
|||
ip3: '192.168.1.102', |
|||
port3: '9001', |
|||
ipBackup: '192.168.1.103', // 备用ip
|
|||
portBackup: '1001', // 备用端口号
|
|||
account: 'wally-yy', // 账号
|
|||
password: '111111', // 密码
|
|||
apn: 'dsfasfa', // apn
|
|||
} |
|||
} |
|||
Loading…
Reference in new issue