Exemplo n.º 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);
        }
Exemplo n.º 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);
        }