/// <summary> /// 加载配置 /// </summary> private void LoadConfig() { List <DC_WRITE_DATA> datas = dC_Service.GetWriteDatas(); foreach (var item in datas) { WriteObject writeObject = new WriteObject(); writeObject.Config = BaseData.Configs.FirstOrDefault(s => s.ID == item.DATA_CONFIG_ID); writeObject.Operator = Operator; WriteObjects.Add(writeObject); } }