Example #1
0
 public WorkFlowNodeMatrix(WorkFlowNodeMatrix rhs) : base(rhs)
 {
     this.flowIdValue       = rhs.flowIdValue;
     this.nodeIdValue       = rhs.nodeIdValue;
     this.isNextValue       = rhs.isNextValue;
     this.terminateValue    = rhs.terminateValue;
     this.succTypeValue     = rhs.succTypeValue;
     this.succ_0Value       = rhs.succ_0Value;
     this.succ_1Value       = rhs.succ_1Value;
     this.succ_2Value       = rhs.succ_2Value;
     this.succ_3Value       = rhs.succ_3Value;
     this.succ_4Value       = rhs.succ_4Value;
     this.succ_5Value       = rhs.succ_5Value;
     this.succ_6Value       = rhs.succ_6Value;
     this.succ_7Value       = rhs.succ_7Value;
     this.succ_8Value       = rhs.succ_8Value;
     this.succ_9Value       = rhs.succ_9Value;
     this.succ_10Value      = rhs.succ_10Value;
     this.succ_11Value      = rhs.succ_11Value;
     this.succ_12Value      = rhs.succ_12Value;
     this.succ_13Value      = rhs.succ_13Value;
     this.succ_14Value      = rhs.succ_14Value;
     this.succ_15Value      = rhs.succ_15Value;
     this.succ_16Value      = rhs.succ_16Value;
     this.succ_17Value      = rhs.succ_17Value;
     this.succ_18Value      = rhs.succ_18Value;
     this.succ_19Value      = rhs.succ_19Value;
     this.succOvertimeValue = rhs.succOvertimeValue;
     this.versionIdValue    = rhs.versionIdValue;
 }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin          bin = (BInputBin)bin1;
            WorkFlowNodeMatrix obj = (WorkFlowNodeMatrix)(obj1 != null ? obj1 : bin.onObjectCreated(new WorkFlowNodeMatrix()));

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.flowId = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.isNext = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.nodeId = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succType = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_0 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_1 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_10 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_11 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_12 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_13 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_14 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_15 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_16 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_17 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_18 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_19 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_2 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_3 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_4 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_5 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_6 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_7 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_8 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.succ_9 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.terminate = bbuf.getInt();
            if (version >= 700000000000008L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.versionId = bbuf.getInt();
                if (version >= 900000030000018L)
                {
                    // checkpoint byps.gen.cs.PrintContext:449
                    obj.succOvertime = bbuf.getInt();
                }
            }

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

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.flowId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.isNext);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.nodeId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succType);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_0);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_1);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_10);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_11);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_12);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_13);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_14);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_15);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_16);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_17);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_18);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_19);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_2);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_3);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_4);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_5);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_6);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_7);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_8);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.succ_9);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.terminate);
            if (version >= 700000000000008L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.versionId);
                if (version >= 900000030000018L)
                {
                    // checkpoint byps.gen.cs.PrintContext:494
                    bbuf.putInt(obj.succOvertime);
                }
            }
        }