123456789101112131415161718192021222324252627282930 |
- using Blue;
- public class MRNavigatorPro : AbstractArchitecture<MRNavigatorPro>
- {
- protected override void Init()
- {
- RegisterModel();
- RegisterService();
- RegisterUtility();
- }
- private void RegisterModel()
- {
- this.RegisterModel<ISceneModel>(new SceneModel());
- }
- private void RegisterService()
- {
- this.RegisterService<ISendLogService>(new SendLogService());
- this.RegisterService<IUpOrDownloadService>(new UpOrDownloadService());
- this.RegisterService<IPointService>(new PointService());
- this.RegisterService<IMQTTService>(new MQTTService());
- this.RegisterService<IMinMapService>(new MinMapService());
- }
- private void RegisterUtility()
- {
- this.RegisterUtility<GetFileNameUtility>(new GetFileNameUtility());
- }
- }
|