desc:应用初始化时,配置摄像头网络

main
xiaowusky
parent d77164f34d
commit 7109c9eafb

@ -19,8 +19,13 @@ class App : CommonApplication() {
tryFixDbData()
TestUtils.insertData()
ipConfig()
}
private fun ipConfig() {
LztekUtil.getLztek()
?.setEthIpAddress("192.168.5.21", "255.255.255.0", "192.168.5.1", "8.8.8.8")
}
private fun tryFixDbData() {
GlobalScope.launch {

Loading…
Cancel
Save