123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- import 'package:get/get.dart';
- import 'package:vitalapp/managers/account.dart';
- import 'package:vitalapp/managers/ai_manager.dart';
- import 'package:vitalapp/managers/cachedRecord.dart';
- import 'package:vitalapp/managers/contract.dart';
- import 'package:vitalapp/managers/contract_template.dart';
- import 'package:vitalapp/managers/data_sync.dart';
- import 'package:vitalapp/managers/device.dart';
- import 'package:vitalapp/managers/diagnosis.dart';
- import 'package:vitalapp/managers/dictionary.dart';
- import 'package:vitalapp/managers/doctor.dart';
- import 'package:vitalapp/managers/entry_manager.dart';
- import 'package:vitalapp/managers/exam.dart';
- import 'package:vitalapp/managers/follow_up.dart';
- import 'package:vitalapp/managers/excel_data_manager.dart';
- import 'package:vitalapp/managers/health_check_record.dart';
- import 'package:vitalapp/managers/interfaces/account.dart';
- import 'package:vitalapp/managers/interfaces/ai_manager.dart';
- import 'package:vitalapp/managers/interfaces/cachedRecord.dart';
- import 'package:vitalapp/managers/interfaces/contract.dart';
- import 'package:vitalapp/managers/interfaces/data_convert.dart';
- import 'package:vitalapp/managers/interfaces/data_sync.dart';
- import 'package:vitalapp/managers/interfaces/device.dart';
- import 'package:vitalapp/managers/interfaces/diagnosis.dart';
- import 'package:vitalapp/managers/interfaces/dictionary.dart';
- import 'package:vitalapp/managers/interfaces/doctor.dart';
- import 'package:vitalapp/managers/interfaces/entry.dart';
- import 'package:vitalapp/managers/interfaces/exam.dart';
- import 'package:vitalapp/managers/interfaces/follow_up.dart';
- import 'package:vitalapp/managers/interfaces/health_check_record.dart';
- import 'package:vitalapp/managers/interfaces/label.dart';
- import 'package:vitalapp/managers/interfaces/organization.dart';
- import 'package:vitalapp/managers/interfaces/patient.dart';
- import 'package:vitalapp/managers/interfaces/permission.dart';
- import 'package:vitalapp/managers/interfaces/prescription.dart';
- import 'package:vitalapp/managers/interfaces/registration.dart';
- import 'package:vitalapp/managers/interfaces/service_pack.dart';
- import 'package:vitalapp/managers/interfaces/system_setting.dart';
- import 'package:vitalapp/managers/interfaces/template.dart';
- import 'package:vitalapp/managers/interfaces/upgrade.dart';
- import 'package:vitalapp/managers/label.dart';
- import 'package:vitalapp/managers/organization.dart';
- import 'package:vitalapp/managers/patient.dart';
- import 'package:vitalapp/managers/permission.dart';
- import 'package:vitalapp/managers/prescription.dart';
- import 'package:vitalapp/managers/registration.dart';
- import 'package:vitalapp/managers/interfaces/remedical.dart';
- import 'package:vitalapp/managers/remedical_Manager.dart';
- import 'package:vitalapp/managers/service_pack.dart';
- import 'package:vitalapp/managers/system_setting.dart';
- import 'package:vitalapp/managers/template.dart';
- import 'package:vitalapp/managers/upgrade.dart';
- import 'application.dart';
- import 'appointment.dart';
- import 'cache.dart';
- import 'data_convert.dart';
- import 'interfaces/application.dart';
- import 'interfaces/appointment.dart';
- import 'interfaces/base.dart';
- import 'interfaces/cache.dart';
- import 'interfaces/contract_template.dart';
- import 'interfaces/excelData.dart';
- import 'interfaces/language.dart';
- import 'interfaces/record_data_cache.dart';
- import 'interfaces/report.dart';
- import 'interfaces/report_template.dart';
- import 'interfaces/share.dart';
- import 'language_config_manager.dart';
- import 'record_data_cache_manager.dart';
- import 'report_manager.dart';
- import 'report_template_manager.dart';
- import 'share_manager.dart';
- abstract class ManagerCenter {
- static void load() {
- Get.put<IApplicationManager>(ApplicationManager());
- Get.put<ISystemSettingManager>(SystemSettingManager());
- Get.put<IDeviceManager>(DeviceManager());
- Get.put<IDataConvertManager>(DataConvertManager());
- Get.put<IAccountManager>(AccountManager());
- Get.put<ILabelManager>(LabelManager());
- Get.put<IPatientManager>(PatientManager());
- Get.put<IRecordDataCacheManager>(RecordDataCacheManager());
- Get.put<IDoctorManager>(DoctorManager());
- Get.put<IServicePackManager>(ServicePackManager());
- Get.put<IContractTemplateManager>(ContractTemplateManager());
- Get.put<IContractManager>(ContractManager());
- Get.put<IExcelDataManager>(ExcelDataManager());
- Get.put<IExamManager>(ExamManager());
- Get.put<IFollowUpManager>(FollowUpManager());
- Get.put<ITemplateManager>(TemplateManager());
- Get.put<IHealthCehckRecordManager>(HealthCheckRecordManager());
- Get.put<IPermissionManager>(PermissionManager());
- Get.put<ICachedRecordManager>(CachedRecordManager());
- Get.put<IDiagnosisManager>(DiagnosisManager());
- Get.put<IDictionaryManager>(DictionaryManager());
- Get.put<ICacheManager>(CacheManager());
- Get.put<IOrganizationManager>(OrganizationManager());
- Get.put<IDataSyncManager>(DataSyncManager());
- Get.put<IUpgradeManager>(UpgradeManager());
- Get.put<IAIManager>(AIManager());
- Get.put<IEntryManager>(EntryManager());
- Get.put<ILanguageConfigManager>(LanguageConfigManager());
- Get.put<IRemedicalManager>(RemedicalManager());
- Get.put<IReportManager>(ReportManager());
- Get.put<IReportTemplateManager>(ReportTemplateManager());
- Get.put<IShareManager>(ShareManager());
- Get.put<IAppointmentManager>(AppointmentManager());
- Get.put<IRegistrationManager>(RegistrationManager());
- Get.put<IPrescriptionManager>(PrescriptionManager());
- }
- static T find<T extends IManager>() {
- return Get.find<T>();
- }
- }
|