Esempio n. 1
0
 public TeachPoint(string name, int historySize, string[] dimensionNames, double[] defaultValues)
     : base(name, dimensionNames, defaultValues)
 {
     base.pointID  = -1;
     base.misc     = "n/a";
     this.category = "n/a";
     PointHistory  = new TeachPointHistory(this, historySize);
 }
Esempio n. 2
0
        public void ShallowClone(TeachPoint point)
        {
            NPoint npoint = point as NPoint;

            base.ShallowClone(npoint);

            // clone the rest
            this.History = point.History;

            // initialize history
            PointHistory.LoadInit(this);
        }