コード例 #1
0
 public PIA_H(OrderInformations orderInformationsFromArticles, FileEDI fileEDI)
 {
     _orderInformationsFromArticles = orderInformationsFromArticles;
     c212     = new C212();
     _fileEDI = fileEDI;
     utility  = new UtilitySegment();
 }
コード例 #2
0
        public List <string> GetAssemblyWorktopCodeAndNameList()
        {
            if (_segmentClassification.IsArticleWorkTop())
            {
                List <string> codeList        = new List <string>();
                List <string> codeAndNameList = new List <string>();

                codeAndNameList = this.GetFinishCodeAndName();// article);
                if (codeAndNameList != null && codeAndNameList.Count > 0)
                {
                    foreach (string codeAndNameLine in codeAndNameList)
                    {
                        string[] codeAndName = codeAndNameLine.Split(KD.CharTools.Const.SemiColon);
                        if (codeAndName.Length == 4)
                        {
                            Eancom.UtilitySegment utility = new Eancom.UtilitySegment();
                            if (utility.IsAssemblyWorktop(codeAndName[3]))
                            {
                                string code = Tools.DelCharAndAllAfter(codeAndName[0], KD.StringTools.Const.Underscore);
                                string name = Tools.DelCharAndAllAfter(codeAndName[2], KD.StringTools.Const.Underscore);
                                codeList.Add(code + KD.StringTools.Const.SemiColon + name);
                            }
                        }
                    }
                    return(codeList);
                }
            }
            return(null);
        }
コード例 #3
0
ファイル: 16_MEA.cs プロジェクト: BorisRouvel/TT.Order.Eancom
 public MEA(FileEDI fileEDI)
 {
     _fileEDI = fileEDI;
     c502     = new C502();
     c174     = new C174();
     utility  = new UtilitySegment();
 }
コード例 #4
0
 public RFF_A(OrderInformations orderInformationsFromArticles)
 {
     _orderInformationsFromArticles = orderInformationsFromArticles;
     c506    = new C506();
     utility = new UtilitySegment();
 }
コード例 #5
0
 public FTX_A(OrderInformations orderInformations)
 {
     c108    = new C108(orderInformations);
     utility = new UtilitySegment();
 }
コード例 #6
0
ファイル: 17_QTY.cs プロジェクト: BorisRouvel/TT.Order.Eancom
 public C186()
 {
     utility = new UtilitySegment();
 }