Exemplo n.º 1
0
 public override void ReadFields(DataBaseIO input)
 {
     base.ReadFields(input);
     CDepartment = input.GetString("ClassDepartment");
     CGrade      = input.GetString("ClassGrade");
     CNumber     = input.GetString("ClassNumber");
     TeacherID   = input.GetString("TeacherID");
 }
Exemplo n.º 2
0
 //读字段信息
 public override void ReadFields(DataBaseIO input)
 {
     base.ReadFields(input);
     TeacherID  = input.GetString("ReportTeacherID");
     BusID      = input.GetString("ReportBusID");
     ReportType = (BusReportTypeE)input.GetInt("ReportType");
     OtherData  = input.GetString("DetailedInformation");
 }
Exemplo n.º 3
0
 public override void ReadFields(DataBaseIO input)
 {
     L.I("Get New Config...");
     L.I(input.Stringify());
     base.ReadFields(input);
     PropContent = input.GetString("PropContent");
     PropName    = input.GetString("PropName");
 }
Exemplo n.º 4
0
 public override void ReadFields(DataBaseIO input)
 {
     base.ReadFields(input);
     BusName   = input.GetString("BusName");
     TeacherID = input.GetString("TeacherObjectID");
     LSChecked = input.GetBool("LSChecked");
     CSChecked = input.GetBool("CSChecked");
     AHChecked = input.GetBool("AHChecked");
 }
Exemplo n.º 5
0
 public override void ReadFields(DataBaseIO input)
 {
     base.ReadFields(input);
     Title     = input.GetString("Title");
     Content   = input.GetString("Content");
     Sender    = input.GetString("Sender");
     Receivers = input.GetString("Receiver").Split(';').ToList();
     Type      = (WeChatNotificationType)input.GetInt("type");
 }
Exemplo n.º 6
0
 public override void ReadFields(DataBaseIO input)
 {
     base.ReadFields(input);
     UserID              = input.GetString("UserID");
     SolverID            = input.GetString("SolverID");
     RequestTypes        = (UserChangeRequestTypes)input.GetInt("RequestType");
     DetailTexts         = input.GetString("DetailTexts");
     NewContent          = input.GetString("NewContent");
     ProcessResultReason = (UCRRefusedReasons)input.GetInt("ResultReason");
     Status              = (UCRProcessStatus)input.GetInt("Status");
 }
 public override void ReadFields(DataBaseIO input)
 {
     base.ReadFields(input);
     StudentName = input.GetString("StuName");
     BusID       = input.GetString("BusID");
     Sex         = input.GetString("Sex");
     ClassID     = input.GetString("ClassID");
     //ParentsID = input.getString("ParentsIDs");
     CSChecked = input.GetBool("CSChecked");
     LSChecked = input.GetBool("LSChecked");
     AHChecked = input.GetBool("CHChecked");
 }
Exemplo n.º 8
0
 public override void ReadFields(DataBaseIO input)
 {
     base.ReadFields(input);
     StudentName = input.GetString("StuName");
     BusID       = input.GetString("BusID");
     Sex         = input.GetString("Sex");
     ClassID     = input.GetString("ClassID");
     //ParentsID = input.getString("ParentsIDs");
     CSChecked    = input.GetBool("CSChecked");
     LSChecked    = input.GetBool("LSChecked");
     TakingBus    = input.GetBool("TakingBus");
     AHChecked    = input.GetBool("CHChecked");
     WeekType     = (StudentBigWeekMode)input.GetInt("WeekType");
     DirectGoHome = (DirectGoHomeMode)input.GetInt("DirectGoHome");
 }
Exemplo n.º 9
0
        public override void ReadFields(DataBaseIO input)
        {
            base.ReadFields(input);
            UserName = input.GetString("Username");
            Password = input.GetString("Password");
            Sex      = input.GetString("Sex");

            UserGroup = new UserGroup(
                isAdmin: input.GetBool("isAdmin"),
                isTeacher: input.GetBool("isClassTeacher"),
                isBusManager: input.GetBool("isBusTeacher"),
                isParent: input.GetBool("isParent"));


            RealName      = input.GetString("RealName");
            HeadImagePath = input.GetString("HeadImage");
            PhoneNumber   = input.GetString("PhoneNumber");

            ClassList = input.GetList("ClassIDs");
            ChildList = input.GetList("ChildIDs");

            if (string.IsNullOrWhiteSpace(HeadImagePath))
            {
                HeadImagePath = "default.png";
            }
            CurrentPoint = new PointF(input.GetT <float>("longitude"), input.GetT <float>("latitude"));
            Precision    = input.GetT <decimal>("precision");
        }
 public virtual void ReadFields(DataBaseIO input)
 {
     ObjectId  = input.GetString("objectId");
     CreatedAt = input.GetDateTime("createdAt");
     UpdatedAt = input.GetDateTime("updatedAt");
 }