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.
 
 

1.6 KiB

README

1. 输入rootiflytop9973可以进入超级用户
2. ws测试地址: ws://192.168.1.148:19000
修改点: (OK)
     1. 用户等级分为3级别(后台不限制用户等级,前台限制用户操作)OK
     2. iflytop9973属于admin的超级密码
     3. 修改用户密码 OK
     4. 登陆时给出提示,用户不存在,或者密码错误
    
消毒前,如果湿度太大,不允许消毒。

添加预设参数
添加预设参数配置

添加审计数据库接口
添加审计
添加U盘数据导出
添加审计数据导出

通过getState可以获得到log,小数

排液自动停止

水禁传感器测试


测试指令

修改密码
{
    "command":"chpasswd",
    "messageId":"123",
    "userId":"admin",
    "newpasswd":"1234"
}
读取用户数据
{
    "command":"getAllUser",
    "messageId":"123",
    "userId":"admin",
    "newpasswd":"1234"
}



{
    "command":"addFormula",
    "messageId":"123",
    "formula_id":"1234abcd",
    "stoped_gs":"100",
    "continued_gs":"110",
    "stoped_satur":"200",
    "continued_satur":"300",
    "stoped_humi":"100",
    "continued_humi":"102",
    "injection_pump_speed":"300"
}

{
    "command":"getAllFormula",
    "messageId":"123"
}

sudo apt-get install sqlite3 libsqlite3-dev
sudo apt-get install sqlite3:arm64 libsqlite3-dev:arm64

sqlite可视化
sudo apt-get install sqlitebrowser
https://www.sqlite.org/docs.html
测试指令


1. 开始消毒后


液位测量压力传感器:
设备地址:01
量程:-1~4kPa
4 kPa=407.888 毫米水柱
传感器测量精度:0.407888 毫米水柱