| 123456789101112131415161718192021 |
- package iot
- import (
- iotDb "IotAdmin/iot/db"
- iotMap "IotAdmin/iot/map"
- iotProtocol "IotAdmin/iot/protocol"
- iotService "IotAdmin/iot/service"
- iotDownService "IotAdmin/iot/service/downService"
- iotStruct "IotAdmin/iot/struct"
- )
- var ()
- func InitIotService() {
- iotDownService.DtuRegisterChan = make(chan *iotStruct.DtuRegisterChanMsg, 100)
- iotProtocol.Init()
- iotMap.Init()
- if iotDb.Init() {
- iotService.Init()
- }
- }
|