Beispiel #1
0
 public FeedDataC(FeedDataC rhs)
 {
     this.lnGuidValue          = rhs.lnGuidValue;
     this.lnCreateDateIsoValue = rhs.lnCreateDateIsoValue;
     this.lnTStampValue        = rhs.lnTStampValue;
     this.lnObjGuidValue       = rhs.lnObjGuidValue;
     this.lnTStampSyncValue    = rhs.lnTStampSyncValue;
 }
        public override void write(Object obj1, BOutput bout1, long version)
        {
            FeedDataC  obj  = (FeedDataC)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnCreateDateIso);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnGuid);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnObjGuid);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnTStamp);
            if (version >= 900990009000001L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.lnTStampSync);
            }
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            FeedDataC obj = (FeedDataC)(obj1 != null ? obj1 : bin.onObjectCreated(new FeedDataC()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnCreateDateIso = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnGuid = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnObjGuid = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnTStamp = bbuf.getInt();
            if (version >= 900990009000001L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lnTStampSync = bbuf.getInt();
            }

            return(obj);
        }