コード例 #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="service"></param>
 public PatientController(PatientService service, WeightService weightService, BloodPressureService bloodPressureService, BloodSugarService bloodSugarService, WaterService waterService, HandRingService handRingService, DialysisService dialysisService, HospitalService hospitalService, DoctorService doctorService)
 {
     _service              = service;
     _weightService        = weightService;
     _bloodPressureService = bloodPressureService;
     _bloodSugarService    = bloodSugarService;
     _waterService         = waterService;
     _handRingService      = handRingService;
     _dialysisService      = dialysisService;
     _hospitalService      = hospitalService;
     _doctorService        = doctorService;
 }
コード例 #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="service"></param>
 public HandRingController(HandRingService service)
 {
     _service = service;
 }