Пример #1
0
        public async static Task <Pdm> InitializePod(IMessageRadio radio, BasalSchedule basalSchedule)
        {
            //TODO:
            //var pod = new Pod(0, 0, 0);
            var pod = new Pod();

            return(new Pdm(radio, pod, basalSchedule));
        }
Пример #2
0
 public Pdm(IMessageRadio radio, Pod activePod, BasalSchedule basalSchedule)
 {
     this.Radio         = radio;
     this.Pod           = activePod;
     this.BasalSchedule = basalSchedule;
 }
Пример #3
0
 public async Task UpdateBasalSchedule(BasalSchedule bs)
 {
     //TODO:
 }