Exemple #1
0
        public static string GetString(this IList <FileStructure.PTP.TextBaseElement> ByteCollection)
        {
            string returned = "";

            foreach (var MSG in ByteCollection)
            {
                returned += MSG.GetSystem();
            }

            return(returned);
        }
Exemple #2
0
        public static string GetString(this IList <MyByteArray> ByteCollection, IList <FnMpData> CharList, bool OnlySystem)
        {
            string returned = "";

            if (OnlySystem)
            {
                foreach (var MSG in ByteCollection)
                {
                    returned += MSG.GetSystem();
                }
            }
            else
            {
                foreach (var MSG in ByteCollection)
                {
                    returned += MSG.GetText(CharList);
                }
            }

            return(returned);
        }