示例#1
0
 public TKBInfo(HT_ThamSoXepLichInfo pThamSoTKB)
 {
     objThamSoTKB = pThamSoTKB;
     _TKB         = new int[objThamSoTKB.THU_KET_THUC + 1, objThamSoTKB.SO_TIET_NGAY];
     _LOAI_SK     = new eLOAI_SK[objThamSoTKB.THU_KET_THUC + 1, objThamSoTKB.SO_TIET_NGAY];
     for (int i = objThamSoTKB.THU_BAT_DAU; i <= objThamSoTKB.THU_KET_THUC; i++)
     {
         for (int j = 0; j < objThamSoTKB.SO_TIET_NGAY; j++)
         {
             _TKB[i, j]     = -1;
             _LOAI_SK[i, j] = eLOAI_SK.LICH_HOC;
         }
     }
 }
 public DM_PhongHocInfo(int PhongHocID, string TenPhongHoc, int IDToaNha, int IDDM_Tang, int SucChua, HT_ThamSoXepLichInfo pThamSoTKB)
 {
     mTKB           = new TKBInfo(pThamSoTKB);
     mDM_PhongHocID = PhongHocID;
     mTenPhongHoc   = TenPhongHoc;
     mIDDM_ToaNha   = IDToaNha;
     mIDDM_Tang     = IDDM_Tang;
     mSucChua       = SucChua;
 }
 public GiaoVien(int NS_GiaoVienID, string MaGiaoVien, string HoTen, string TenVietTat, HT_ThamSoXepLichInfo pThamSoTKB)
 {
     mTKB           = new TKBInfo(pThamSoTKB);
     mNS_GiaoVienID = NS_GiaoVienID;
     mMaGiaoVien    = MaGiaoVien;
     mHoTen         = HoTen;
     mTenVietTat    = TenVietTat;
 }
示例#4
0
 public Lop(int IDDM_Lop, int IDXL_LopTachGop, int IDDM_Khoa, string TenLop, int SoSinhVien, CA_HOC CaHoc, int IDDM_ToaNha, int IDDM_PhongHoc, HT_ThamSoXepLichInfo pThamSoTKB)
 {
     mTKB             = new TKBInfo(pThamSoTKB);
     mIDDM_Lop        = IDDM_Lop;
     mIDXL_LopTachGop = IDXL_LopTachGop;
     mIDDM_Khoa       = IDDM_Khoa;
     mTenLop          = TenLop;
     mSoSinhVien      = SoSinhVien;
     mCaHoc           = CaHoc;
     mIDDM_ToaNha     = IDDM_ToaNha;
     mIDDM_PhongHoc   = IDDM_PhongHoc;
 }