상속: DataDictionary.Namable
 public virtual void visit(Frame obj, bool visitSubNodes)
 {
     visit ((Namable) obj, false);
     if (visitSubNodes){
     IXmlBBase[] Subs  = acceptor.subElements((IXmlBBase)obj);
     if (Subs != null){
     for (int i=0; i<Subs.Length; i++) {
       dispatch(Subs[i], true);
     } // If
     } // If
     }
 }
예제 #2
0
        public override void visit(Frame obj, bool visitSubNodes)
        {
            obj.setCycleDuration("0.1");

            base.visit(obj, visitSubNodes);
        }
 public void copyTo(Frame other)
 {
     base.copyTo(other);
     other.aCycleDuration = aCycleDuration;
     other.aSubSequences = aSubSequences;
     other.aComment = aComment;
 }
 public virtual void visit(Frame obj)
 {
     visit(obj, true);
 }
 public void insertTests(int idx, Frame el,Lock aLock)
 {
     __setDirty(true);
       allTests().Insert (idx, el);
     NotifyControllers(aLock);
 }
 public void appendTests(Lock aLock,Frame el)
 {
     __setDirty(true);
       el.__setDirty(true);
       allTests().Add(el);
       acceptor.connectSon (this, el);
     NotifyControllers(aLock);
 }
 /// <summary>
 ///     Do not visit test frames
 /// </summary>
 /// <param name="obj"></param>
 /// <param name="visitSubNodes"></param>
 public override void visit(Frame obj, bool visitSubNodes)
 {
 }
        public override void visit(Frame obj, bool visitSubNodes)
        {
            Tests.Frame frame = (Tests.Frame) obj;

            if (frame != null)
            {
                checkExpression(frame, frame.getCycleDuration());

                Type type = frame.CycleDuration.GetExpressionType();
                if (type != null)
                {
                    if (!frame.EFSSystem.DoubleType.Match(type))
                    {
                        frame.AddError("Cycle duration should be compatible with the Time type");
                    }
                }
            }

            base.visit(obj, visitSubNodes);
        }
 public void copyTo(Frame other)
 {
     base.copyTo(other);
     other.aCycleDuration = aCycleDuration;
     other.aSubSequences = aSubSequences;
     other.aComment = aComment;
     other.aRuleCheckDisabling = aRuleCheckDisabling;
 }