예제 #1
0
        private string GetDescriptionForDate()
        {
            string retVal = "";

            for (int i = 0; i < SupplementalSegments.Count; i++)
            {
                if (SupplementalSegments[i].SegmentID == "DTP")
                {
                    retVal += DTP271.GetQualifierDescript(SupplementalSegments[i].Get(1)) + ": "
                              + DTP271.GetDateStr(SupplementalSegments[i].Get(2), SupplementalSegments[i].Get(3));
                }
            }
            return(retVal);
        }
예제 #2
0
파일: X271.cs 프로젝트: mnisl/OD
		///<summary>Only the DTP segments that come before the EB segments.  X12 loop 2100C.</summary>
		public List<DTP271> GetListDtpSubscriber() {
			List<DTP271> retVal=new List<DTP271>();
			DTP271 dtp;
			for(int i=0;i<Segments.Count;i++) {
				if(Segments[i].SegmentID=="EB") {
					break;
				}
				if(Segments[i].SegmentID!="DTP") {
					continue;
				}
				dtp=new DTP271(Segments[i]);
				retVal.Add(dtp);
			}
			return retVal;
		}
예제 #3
0
        ///<summary>Only the DTP segments that come before the EB segments.  X12 loop 2100C.</summary>
        public List <DTP271> GetListDtpSubscriber()
        {
            List <DTP271> retVal = new List <DTP271>();
            DTP271        dtp;

            for (int i = 0; i < Segments.Count; i++)
            {
                if (Segments[i].SegmentID == "EB")
                {
                    break;
                }
                if (Segments[i].SegmentID != "DTP")
                {
                    continue;
                }
                dtp = new DTP271(Segments[i]);
                retVal.Add(dtp);
            }
            return(retVal);
        }