public string GetDataString()
        {
            string sDataList = "";

            // ja - going to loop trough the internal string list and populate a single string for the txt file
            foreach (List <string> row in SerialDataRow)
            {
                // ja - special case for multiple labels of the same type
                for (int i = 0; i < ConfigValues.SingleLabelQty; i++)
                {
                    sDataList += GetDataStringRow(row);
                    sDataList += DropFileHeader.GetNewLine();
                }
            }

            return(sDataList);
        }
Exemplo n.º 2
0
        private List <string> CreateFileContents(DropFileData data)
        {
            List <string> theData = new List <string>();

            // ja - add bartender header
            theData.Add(data.GetHeaderString());

            // ja - add blank line
            theData.Add(DropFileHeader.GetNewLine());

            // ja - add columns
            theData.Add(data.GetColumnString());

            // ja - add the data rows
            theData.Add(data.GetDataString());

            return(theData);
        }