示例#1
0
        public static List <BaseDataModel> GetCampInfoModel()
        {
            List <BaseDataModel> result = new List <BaseDataModel>();
            var list = GetAllCampInfo();

            for (int i = 0; i < list.Count; i++)
            {
                CampBaseModel model = new CampBaseModel();
                if (model.Create(list[i].CampID))
                {
                    result.Add((BaseDataModel)model);
                }
            }
            return(result);
        }
示例#2
0
 public override void ChangeAction(BaseDataModel model)
 {
     _model = (CampBaseModel)model;
     SetUpElement();
     SetSelect();
 }