MRNavigatorPro.cs 830 B

123456789101112131415161718192021222324252627282930
  1. using Blue;
  2. public class MRNavigatorPro : AbstractArchitecture<MRNavigatorPro>
  3. {
  4. protected override void Init()
  5. {
  6. RegisterModel();
  7. RegisterService();
  8. RegisterUtility();
  9. }
  10. private void RegisterModel()
  11. {
  12. this.RegisterModel<ISceneModel>(new SceneModel());
  13. }
  14. private void RegisterService()
  15. {
  16. this.RegisterService<ISendLogService>(new SendLogService());
  17. this.RegisterService<IUpOrDownloadService>(new UpOrDownloadService());
  18. this.RegisterService<IPointService>(new PointService());
  19. this.RegisterService<IMQTTService>(new MQTTService());
  20. this.RegisterService<IMinMapService>(new MinMapService());
  21. }
  22. private void RegisterUtility()
  23. {
  24. this.RegisterUtility<GetFileNameUtility>(new GetFileNameUtility());
  25. }
  26. }