예제 #1
0
 public override void connectNurseStation(BaseNurseStation ns)
 {
     if (null != m_comp)
     {
         m_comp.connectNurseStation(ns);
     }
 }
예제 #2
0
        public FormControlCenter()
        {
            InitializeComponent();

            // Intialize the nurse's station
            m_bns = new NurseStation("Nurse Station Zebra");

            // Start up management console
            ManagementRecordSystem mrs = new ManagementRecordSystem("Big Brother");
            FormMessage fm = new FormMessage(m_bns, mrs, false);

            fm.Show();
        }
예제 #3
0
        public FormBedUnit(String bedID, BaseNurseStation bns)
        {
            InitializeComponent();

            this.Text = bedID;

            // Create Bedside unit and decorators
            m_bu = new BedsideUnit(bedID);
            m_bns = bns;
            m_hm = new HeartMonitor();
            m_heartRate = false;
            m_bpm = new BPMonitor();
            m_bloodPresure = false;
        }
예제 #4
0
        public FormMessage(BaseNurseStation bns, BaseMessageSystem bms, Boolean selectable)
        {
            InitializeComponent();

            m_bns = bns;
            m_bms = bms;
            m_bms.addHook(this);
            txtName.Text = m_bms.title;
            this.Text = m_bms.name;

            if (!selectable)
            {
                chkRegister.Checked = true;
                chkRegister.Enabled = false;
            }
        }
예제 #5
0
 public abstract void connectNurseStation(BaseNurseStation bns);
예제 #6
0
 public override void disconect()
 {
     m_ns = null;
 }
예제 #7
0
 public override void connectNurseStation(BaseNurseStation ns)
 {
     m_ns = ns;
 }
예제 #8
0
 public BedsideUnit(String bedID)
 {
     m_bedID = bedID;
     m_ns = null;
     m_alarm = false;
 }