Beispiel #1
0
        public void Add_N3_Address(G_N1 g_n1, string Address1, string Address2)
        {
            if (g_n1.S_N3 == null)
            {
                g_n1.S_N3 = new List <S_N3>();
            }
            this.SegmentCount++;
            S_N3 S_N3 = new S_N3();

            S_N3.D_166_1 = Address1;
            if (!string.IsNullOrWhiteSpace(Address2))
            {
                S_N3.D_166_2 = Address2;
            }
            g_n1.S_N3.Add(S_N3);
        }
Beispiel #2
0
        public void Add_N3_Address(G_N1 g_n1, string Address1, string Address2)
        {
            if (g_n1.S_N3 == null)
             {
                 g_n1.S_N3 = new List<S_N3>();

             }
             this.SegmentCount++;
             S_N3 S_N3 = new S_N3();
             S_N3.D_166_1 = Address1;
             if (!string.IsNullOrWhiteSpace(Address2))
                S_N3.D_166_2 = Address2;
             g_n1.S_N3.Add(S_N3);
        }