Esempio n. 1
0
 public void AddFunctionGroup(EDIXmlFunctionGroup grp)
 {
     if (Label != SegmentLabel.InterchangeLabel.Text)
     {
         throw new Exception("Cannot add a function group to this object!");
     }
     base.Add(grp);
 }
Esempio n. 2
0
        public void SetHeader(int controlNo, string functionalID, bool test)
        {
            _header = _segmentFactory.GetInterchangeHeader(controlNo, test);
            var functionGroup = new EDIXmlFunctionGroup(_segmentFactory);

            functionGroup.SetHeader(controlNo, functionalID);
            AddSegment(_header);
            AddFunctionGroup(functionGroup);
        }