|
@@ -43,6 +43,7 @@ import com.example.bpa.helper.MQTT; |
|
|
import com.example.bpa.helper.MessageLog; |
|
|
import com.example.bpa.helper.MessageLog; |
|
|
import com.example.bpa.helper.ModbusTcpHelper; |
|
|
import com.example.bpa.helper.ModbusTcpHelper; |
|
|
import com.example.bpa.helper.ModbusTcpServer; |
|
|
import com.example.bpa.helper.ModbusTcpServer; |
|
|
|
|
|
import com.example.bpa.helper.NetworkUtils; |
|
|
import com.example.bpa.helper.Speech; |
|
|
import com.example.bpa.helper.Speech; |
|
|
import com.example.bpa.helper.T; |
|
|
import com.example.bpa.helper.T; |
|
|
import com.example.bpa.helper.ThreadManager; |
|
|
import com.example.bpa.helper.ThreadManager; |
|
@@ -175,6 +176,7 @@ public class MainActivity extends FragmentActivity implements View.OnClickListen |
|
|
* 初始化业务 |
|
|
* 初始化业务 |
|
|
*/ |
|
|
*/ |
|
|
private void initBusiness() { |
|
|
private void initBusiness() { |
|
|
|
|
|
NetworkUtils.SynchronizationTime();//同步时间 |
|
|
Main.getInstance().ToggleEnvironment(); |
|
|
Main.getInstance().ToggleEnvironment(); |
|
|
//PLC数据监控 |
|
|
//PLC数据监控 |
|
|
//PLC数据监控 |
|
|
//PLC数据监控 |
|
|