예제 #1
0
        public SummaryMonitor(HealthHubManager hubManager)
        {
            _hubManager = hubManager;
            this.Geo    = "all";

            Thread monitorThread = new Thread(MonitorThreadProc);

            monitorThread.Start(new SummaryMessage());
        }
예제 #2
0
        public BostonMonitor(HealthHubManager hubManager)
        {
            this.Geo    = "boston";
            _hubManager = hubManager;

            Thread monitorThread = new Thread(MonitorThreadProc);

            monitorThread.Start(new BostonMessage());
        }
        public NewYorkMonitor(HealthHubManager hubManager)
        {
            this.Geo    = "newyork";
            _hubManager = hubManager;

            Thread monitorThread = new Thread(MonitorThreadProc);

            monitorThread.Start(new NewYorkMessage());
        }
예제 #4
0
        public ChicagoMonitor(HealthHubManager hubManager)
        {
            this.Geo    = "chicago";
            _hubManager = hubManager;

            Thread monitorThread = new Thread(MonitorThreadProc);

            monitorThread.Start(new ChicagoMessage());
        }
        public GlucoseMonitor(HealthHubManager hubManager)
        {
            this.VitalMeasure   = "glucose";
            this.UpperThreshold = 180;
            this.LowerThreshold = 100;
            this.MaxValue       = 210;
            this.MinValue       = 70;
            _hubManager         = hubManager;
            this.Geo            = "all";
            Thread monitorThread = new Thread(MonitorThreadProc);

            monitorThread.Start(new GlucoseMessage());
        }
예제 #6
0
        public OxygenMonitor(HealthHubManager hubManager)
        {
            this.VitalMeasure   = "bloodoxygen";
            this.UpperThreshold = 90;
            this.LowerThreshold = 85;
            this.MaxValue       = 100;
            this.MinValue       = 80;
            _hubManager         = hubManager;
            this.Geo            = "all";

            Thread monitorThread = new Thread(MonitorThreadProc);

            monitorThread.Start(new OxygenMessage());
        }
예제 #7
0
        public TemperatureMonitor(HealthHubManager hubManager)
        {
            this.VitalMeasure   = "temperature";
            this.UpperThreshold = 104;
            this.LowerThreshold = 98;
            this.MaxValue       = 106;
            this.MinValue       = 98;
            _hubManager         = hubManager;
            this.Geo            = "all";

            Thread monitorThread = new Thread(MonitorThreadProc);

            monitorThread.Start(new TemperatureMessage());
        }
예제 #8
0
        public HeartRateMonitor(HealthHubManager hubManager)
        {
            this.VitalMeasure   = "heartrate";
            this.UpperThreshold = 170;
            this.LowerThreshold = 65;
            this.MaxValue       = 180;
            this.MinValue       = 60;
            _hubManager         = hubManager;
            this.Geo            = "all";

            Thread monitorThread = new Thread(MonitorThreadProc);

            monitorThread.Start(new HeartRateMessage());
        }