public override void write(Object obj1, BOutput bout1, long version)
        {
            WFNodeHistoryC obj  = (WFNodeHistoryC)obj1;
            BOutputBin     bout = (BOutputBin)bout1;
            BBufferBin     bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnFlowGuid);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lnUserName);
            if (version >= 900000030000018L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.lnHistGuid);
            }
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin      bin = (BInputBin)bin1;
            WFNodeHistoryC obj = (WFNodeHistoryC)(obj1 != null ? obj1 : bin.onObjectCreated(new WFNodeHistoryC()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnFlowGuid = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lnUserName = bbuf.getInt();
            if (version >= 900000030000018L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lnHistGuid = bbuf.getInt();
            }

            return(obj);
        }
示例#3
0
 public WFNodeHistoryC(WFNodeHistoryC rhs)
 {
     this.lnHistGuidValue = rhs.lnHistGuidValue;
     this.lnFlowGuidValue = rhs.lnFlowGuidValue;
     this.lnUserNameValue = rhs.lnUserNameValue;
 }