MRNavigatorPro.cs 917 B

12345678910111213141516171819202122232425262728293031
  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. this.RegisterService<IImmersalLocationService>(new ImmersalLocationService());
  22. }
  23. private void RegisterUtility()
  24. {
  25. this.RegisterUtility<GetFileNameUtility>(new GetFileNameUtility());
  26. }
  27. }