public SysParamCollection GetModelListCollection(string model) { List <SysParams> list = this.getRCS_SYS_PARAMS(model, "", @pStatus: "1"); SysParamCollection sys_params_list = new SysParamCollection(); list.ForEach(x => { sys_params_list.Add(x); }); return(sys_params_list); }
/// <summary> 將參數群組加入目前的collection </summary> /// <param name="params_group"></param> public void append_modal(SysParamCollection params_group) { this.AddRange(params_group); }