public List <GrblConf.GrblConfParam> GetChanges() { List <GrblConf.GrblConfParam> rv = new List <GrblConf.GrblConfParam>(); GrblConf conf = Core.Configuration; foreach (GrblConf.GrblConfParam p in mLocalCopy) { if (conf.HasChanges(p)) { rv.Add(p); } } return(rv); }
public bool HasChanges() { GrblConf conf = Core.Configuration; if (conf.Count != mLocalCopy.Count) { return(true); } foreach (GrblConf.GrblConfParam p in mLocalCopy) { if (conf.HasChanges(p)) { return(true); } } return(false); }