示例#1
0
        public virtual void Write(BinaryWriter bw)
        {
            bw.Write(DB.Fn(Name));
            bw.Write(DB.Fn(FileName));
            bw.Write(TimeStamp);
            if (Dat == null)
            {
                bw.Write(false);
            }
            else
            {
                //Debug.WriteLine("Dat is not null");
                bw.Write(true);
                //Debug.WriteLine("Dat index is "+ Dat.DatIndex);
                bw.Write(Dat.DatIndex);
            }

            bw.Write((byte)_datStatus);
            bw.Write((byte)_gotStatus);
        }
示例#2
0
 public void Write(BinaryWriter bw)
 {
     bw.Write((byte)Id);
     bw.Write(DB.Fn(Value));
 }