コード例 #1
0
        public S_L1 Add_LX_L1_Rate_Charges(G_LX g_lx, int LineNo, decimal FreightRate, string RateType, decimal Charge)
        {
            if (g_lx.S_L1 == null)
            {
                g_lx.S_L1 = new List <S_L1>();
            }
            this.SegmentCount++;
            S_L1 S_L1 = new S_L1();

            S_L1.D_213_1 = LineNo.ToString();
            S_L1.D_60_2  = ((int)(FreightRate * 100)).ToString();
            S_L1.D_122_3 = RateType;
            S_L1.D_58_4  = ((int)(Charge * 100)).ToString();
            g_lx.S_L1.Add(S_L1);
            return(S_L1);
        }
コード例 #2
0
ファイル: X12_4010_210.cs プロジェクト: tronsoft/ediFabric
 public S_L1 Add_LX_L1_Rate_Charges(G_LX g_lx, int LineNo, decimal FreightRate, string RateType, decimal Charge)
 {
     if (g_lx.S_L1 == null)
      {
          g_lx.S_L1 = new List<S_L1>();
      }
      this.SegmentCount++;
      S_L1 S_L1 = new S_L1();
      S_L1.D_213_1 = LineNo.ToString();
      S_L1.D_60_2 = ((int)(FreightRate * 100)).ToString();
      S_L1.D_122_3 = RateType;
      S_L1.D_58_4 = ((int)(Charge * 100)).ToString();
      g_lx.S_L1.Add(S_L1);
      return S_L1;
 }