示例#1
0
        public static ReaderRecord Parse(string fLine)
        {
            ReaderRecord rec = new ReaderRecord();

            if (rec.ParseLine(fLine))
            {
                return(rec);
            }
            return(null);
        }
示例#2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            if (obj is ReaderRecord)
            {
                ReaderRecord rec = obj as ReaderRecord;
                return(mTagID == rec.mTagID && mReaderTime == rec.mReaderTime &&
                       mReaderMilliSeconds == rec.mReaderMilliSeconds && mPCMilliseconds == rec.mPCMilliseconds &&
                       mChan1 == rec.mChan1 && mChan2 == rec.mChan2 && mDecId == rec.mDecId);
            }
            return(false);
        }