# Functions
获取AiBase列表.
获取App列表.
获取DataSchema列表.
No description provided by the author
AllEnabledCronTask.
获取GenericGroup列表.
获取Goods列表.
*
* 所有的接口列表配置
*
*/.
*
* 所有列表
*
*/.
*
* 右上角
*
*/.
No description provided by the author
No description provided by the author
-----------------------------------------------------------------------------------.
No description provided by the author
获取UserLuaTemplate列表.
获取Visual列表.
*
* 将别的东西加入到分组里面
*
*/.
*
* 检查是否重复了
*
*/.
*
* 检查是否绑定
*
*/.
*
* 检查一下是否已经初始化过了,避免覆盖配置
*
*/.
*
* 检查是否设置了WIFI网络
*
*/.
检查名称是否重复.
*
* 清理垃圾进程包
*
*/.
*
* 清理缩略图
*
*/.
*
* 清空表
*
*/.
统计DataSchema.
*
* 计算 Count
*
*/.
*
* 计算 Count
*
*/.
No description provided by the author
删除AiBase.
DeleteAllHnc8PointByDevice 删除Hnc8点位与设备.
DeleteAllModbusPointByDevice 删除modbus点位与设备.
DeleteAllSiemensPointByDevice 删除Siemens点位与设备.
删除App.
删除DataSchema.
删除设备.
删除GenericGroup.
删除Goods.
DeleteHnc8PointByDevice 删除Hnc8点位与设备.
删除.
No description provided by the author
DeleteModbusPointByDevice 删除modbus点位与设备.
No description provided by the author
No description provided by the author
No description provided by the author
DeleteSiemensPointByDevice 删除Siemens点位与设备.
删除UserLuaTemplate.
删除Visual.
*
* Ubuntu16 ETC 配置应用
* sudo service networking restart
*/.
*
* 查询分组下的设备
*
*/.
查找DataSchema.
*
- 根据分组类型查询:代码模板
*~
*/.
*
* 查询分组吓得大屏
*
*/.
No description provided by the author
No description provided by the author
*
* 匹配: /etc/network/interfaces
*
*/.
No description provided by the author
No description provided by the author
*
* 永远只有一个配置,eth0
*
*/.
*
* 永远只有一个配置,eth1
*
*/.
No description provided by the author
No description provided by the author
*
* 获取HwPort的配置信息
*
*/.
No description provided by the author
获取设备列表.
No description provided by the author
-----------------------------------------------------------------------------------.
No description provided by the author
-----------------------------------------------------------------------------------.
No description provided by the author
-----------------------------------------------------------------------------------.
No description provided by the author
----------------------------------------------------------------------------------- USER -----------------------------------------------------------------------------------.
*
* 获取系统串口, 这个接口比较特殊,当运行在特殊硬件上的时候,某些系统占用的直接不显示
* 这个接口需要兼容各类特殊硬件
*/.
No description provided by the author
*
* 获取分组
*
*/.
*
* ID获取
*
*/.
No description provided by the author
No description provided by the author
*
* 获取Wlan0的配置信息
*
*/.
每次启动的时候换成最新配置的路由, 默认是ETH1 192.168.64.0 这个初始化的目的是为了配合软路由使用, 和isc-dhcp-server、dnsmasq 两个DHCP服务有关.
创建GenericGroup.
*
* 初始化网卡配置参数
*
*/.
No description provided by the author
*
* 初始化网卡配置参数
*
*/.
创建 SiteConfig.
*
* 初始化网卡配置参数
*
*/.
创建AiBase.
创建App.
创建DataSchema.
创建设备.
创建GenericGroup.
创建Goods.
InsertHnc8PointPosition 插入Hnc8点位表.
*
* Hnc8点位表管理
*
*/ InsertHnc8PointPosition 插入Hnc8点位表.
*
* InsertInternalNotifies
*
*/.
创建DataSchema.
No description provided by the author
InsertModbusPointPosition 插入modbus点位表.
*
* Modbus点位表管理
*
*/ InsertModbusPointPosition 插入modbus点位表.
No description provided by the author
No description provided by the author
No description provided by the author
InsertSiemensPointPosition 插入Siemens点位表.
*
* Siemens点位表管理
*
*/ InsertSiemensPointPosition 插入Siemens点位表.
创建UserLuaTemplate.
创建Visual.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*
* 应用最新配置
* sudo netplan apply
*
*/.
*
* 新增的分页获取
*
*/.
No description provided by the author
*
* 点击已读
*
*/.
No description provided by the author
*
* 重新绑定分组需要事务支持
*
*/.
RestartNetworkManager 用于重启 NetworkManager 服务.
模糊查询 SELECT * FROM m_user_lua_templates WHERE label like "%%" OR detail like "%%".
*
- 清空表:DELETE FROM table_name;
DELETE FROM sqlite_sequence WHERE name='m_network_configs';
*
*/.
*
* 清空WIFI配置表
*
*/.
*
* 取消分组绑定
*
*/.
更新AiBase.
更新App.
更新DataSchema.
*
* 删除原来的垃圾路由,换成最新的配置
*
*/.
更新设备信息.
*
* 永远只更新id=0的
*
*/.
*
* 永远只更新id=1的
*
*/.
更新GenericGroup.
更新Goods.
更新DataSchema.
*
* 配置WIFI HwPort
*
*/.
更新DataSchema.
更新 IpRoute.
No description provided by the author
更新DataSchema.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
更新DataSchema.
更新 SiteConfig.
更新UserLuaTemplate.
更新Visual.
*
* 配置WIFI Wlan0
*
*/.
No description provided by the author