Beispiel #1
0
		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;
		}
Beispiel #2
0
		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;
		}
        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);
        }