Beispiel #1
0
        public FlushEvents(pFlushEventsType p)
            : base(p.Unit, p.Time)
        {

        }
Beispiel #2
0
        public override pFlushEventsType pGetFlushEventsType()
        {
            string unit = "Unknown unit";
            int time;

            try
            {
                reader.Read();
                unit = pGetString();
                time = pGetInt();
                pFlushEventsType returnValue = new pFlushEventsType(unit, time);
                reader.ReadEndElement();
                return returnValue;

            }
            catch (SystemException e)
            {
                throw new ApplicationException("Error reading FlushEvents with unit " + unit + ": " + e.Message);

            }

        }