Boolean _switch;                        //如果为true,那么切换到下一位患者(用于模拟过程)

        /*      对象:构造与析构方法      */

        //构造方法(4个参数)
        public Doctor(String id, String name, DoctorDepartment department, String other)
        {
            SetId(id);
            SetName(name);
            SetDepartment(department);
            SetOther(other);
            _patientNow  = null;
            _patientWait = new SequentialQueue <Patient>(64);
            _afterCheck  = new SequentialQueue <Patient>(64);
            _workTime    = 0;
            SetSwitchTime(0);
            SetSwitch(true);
        }
        Boolean _needCheck;              //该患者是否需要做设备(B超)检查

        /*      对象:构造与析构方法      */

        //构造方法(5个参数)
        public Patient(String id, String name, Sex sex, Int32 age, String other, DoctorDepartment department)
        {
            SetId(id);
            SetName(name);
            SetSex(sex);
            SetAge(age);
            SetOther(other);
            SetDoctorDepartment(department);
            SetDoctor();
            _doctorTime = 0;
            SetDeviceDepartment();
            SetDevice();
            _deviceTime = 0;
            SetNeedCheck(false);
        }
 public void SetDoctorDepartment(DoctorDepartment doctorDepartment = null)
 {
     _doctorDepartment = doctorDepartment;
 }
 public void SetDepartment(DoctorDepartment department)
 {
     _department = department;
 }