Пример #1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            WorkFlowActiveDoc obj  = (WorkFlowActiveDoc)obj1;
            BOutputBin        bout = (BOutputBin)bout1;
            BBufferBin        bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.activate);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.alertFromBegin);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.alertTo);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.alertWait);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.comment);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.completionDate);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.condition);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.delayDate);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.delayDays);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.deleted);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.department);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.department2);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.designDepartment);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.eloObjId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.flowId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.flowName);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.inUseDate);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.isNext);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.labelTranslationKey);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.lockId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.locked);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.moveCyclePosX);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.name);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.nodeFlags);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.nodeId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.nodeType);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.onActivate);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.onTerminate);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.posX);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.posY);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.prio);
            // 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.tag);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.templateId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.terminate);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.userTerminate);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.yNCondition);
            if (version >= 700000000000000L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.userDelayDate);
                if (version >= 700000000000008L)
                {
                    // checkpoint byps.gen.cs.PrintContext:494
                    bbuf.putInt(obj.versionId);
                    // checkpoint byps.gen.cs.PrintContext:494
                    bbuf.putString(obj.versionName);
                    if (version >= 700000000000014L)
                    {
                        // checkpoint byps.gen.cs.PrintContext:494
                        bbuf.putInt(obj.alertTo2);
                        // checkpoint byps.gen.cs.PrintContext:494
                        bbuf.putInt(obj.alertTo3);
                        // checkpoint byps.gen.cs.PrintContext:494
                        bbuf.putInt(obj.alertWait2);
                        // checkpoint byps.gen.cs.PrintContext:494
                        bbuf.putInt(obj.alertWait3);
                        // checkpoint byps.gen.cs.PrintContext:494
                        bbuf.putString(obj.nextServerId);
                        if (version >= 700000000000018L)
                        {
                            // checkpoint byps.gen.cs.PrintContext:494
                            bbuf.putInt(obj.versionCreateDate);
                            // checkpoint byps.gen.cs.PrintContext:494
                            bbuf.putString(obj.versionTag);
                            // checkpoint byps.gen.cs.PrintContext:494
                            bbuf.putInt(obj.versionUserId);
                            if (version >= 700000040000012L)
                            {
                                // checkpoint byps.gen.cs.PrintContext:494
                                bbuf.putString(obj.formSpec);
                                // checkpoint byps.gen.cs.PrintContext:494
                                bbuf.putString(obj.iconId);
                                if (version >= 900000018000005L)
                                {
                                    // checkpoint byps.gen.cs.PrintContext:494
                                    bbuf.putString(obj.commentTranslationKey);
                                    // checkpoint byps.gen.cs.PrintContext:494
                                    bbuf.putString(obj.flowNameTranslationKey);
                                    // checkpoint byps.gen.cs.PrintContext:494
                                    bbuf.putString(obj.nameTranslationKey);
                                    if (version >= 900000022000019L)
                                    {
                                        // checkpoint byps.gen.cs.PrintContext:494
                                        bbuf.putString(obj.label);
                                        // checkpoint byps.gen.cs.PrintContext:494
                                        bbuf.putString(obj.properties);
                                        if (version >= 900000030000006L)
                                        {
                                            // checkpoint byps.gen.cs.PrintContext:494
                                            bbuf.putInt(obj.departmentGroup);
                                            if (version >= 900000030000022L)
                                            {
                                                // checkpoint byps.gen.cs.PrintContext:494
                                                bbuf.putInt(obj.retVal);
                                                // checkpoint byps.gen.cs.PrintContext:494
                                                bbuf.putInt(obj.subWorkflow);
                                                if (version >= 900990009000003L)
                                                {
                                                    // checkpoint byps.gen.cs.PrintContext:494
                                                    bbuf.putString(obj.returnValue);
                                                    if (version >= 900990009000004L)
                                                    {
                                                        // checkpoint byps.gen.cs.PrintContext:494
                                                        bbuf.putInt(obj.subWorkflowTemplate);
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
Пример #2
0
 public WorkFlowActiveDoc(WorkFlowActiveDoc rhs) : base(rhs)
 {
     this.flowIdValue                 = rhs.flowIdValue;
     this.nodeIdValue                 = rhs.nodeIdValue;
     this.flowNameValue               = rhs.flowNameValue;
     this.nameValue                   = rhs.nameValue;
     this.nodeTypeValue               = rhs.nodeTypeValue;
     this.succTypeValue               = rhs.succTypeValue;
     this.departmentValue             = rhs.departmentValue;
     this.alertToValue                = rhs.alertToValue;
     this.alertFromBeginValue         = rhs.alertFromBeginValue;
     this.alertWaitValue              = rhs.alertWaitValue;
     this.yNConditionValue            = rhs.yNConditionValue;
     this.conditionValue              = rhs.conditionValue;
     this.commentValue                = rhs.commentValue;
     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.lockedValue                 = rhs.lockedValue;
     this.posXValue                   = rhs.posXValue;
     this.posYValue                   = rhs.posYValue;
     this.onActivateValue             = rhs.onActivateValue;
     this.onTerminateValue            = rhs.onTerminateValue;
     this.nodeFlagsValue              = rhs.nodeFlagsValue;
     this.eloObjIdValue               = rhs.eloObjIdValue;
     this.lockIdValue                 = rhs.lockIdValue;
     this.isNextValue                 = rhs.isNextValue;
     this.activateValue               = rhs.activateValue;
     this.terminateValue              = rhs.terminateValue;
     this.inUseDateValue              = rhs.inUseDateValue;
     this.completionDateValue         = rhs.completionDateValue;
     this.templateIdValue             = rhs.templateIdValue;
     this.userTerminateValue          = rhs.userTerminateValue;
     this.tagValue                    = rhs.tagValue;
     this.designDepartmentValue       = rhs.designDepartmentValue;
     this.moveCyclePosXValue          = rhs.moveCyclePosXValue;
     this.department2Value            = rhs.department2Value;
     this.delayDaysValue              = rhs.delayDaysValue;
     this.delayDateValue              = rhs.delayDateValue;
     this.deletedValue                = rhs.deletedValue;
     this.prioValue                   = rhs.prioValue;
     this.userDelayDateValue          = rhs.userDelayDateValue;
     this.versionIdValue              = rhs.versionIdValue;
     this.versionNameValue            = rhs.versionNameValue;
     this.alertTo2Value               = rhs.alertTo2Value;
     this.alertWait2Value             = rhs.alertWait2Value;
     this.alertTo3Value               = rhs.alertTo3Value;
     this.alertWait3Value             = rhs.alertWait3Value;
     this.nextServerIdValue           = rhs.nextServerIdValue;
     this.versionTagValue             = rhs.versionTagValue;
     this.versionUserIdValue          = rhs.versionUserIdValue;
     this.versionCreateDateValue      = rhs.versionCreateDateValue;
     this.iconIdValue                 = rhs.iconIdValue;
     this.formSpecValue               = rhs.formSpecValue;
     this.flowNameTranslationKeyValue = rhs.flowNameTranslationKeyValue;
     this.nameTranslationKeyValue     = rhs.nameTranslationKeyValue;
     this.commentTranslationKeyValue  = rhs.commentTranslationKeyValue;
     this.labelValue                  = rhs.labelValue;
     this.propertiesValue             = rhs.propertiesValue;
     this.departmentGroupValue        = rhs.departmentGroupValue;
     this.retValValue                 = rhs.retValValue;
     this.returnValueValue            = rhs.returnValueValue;
     this.subWorkflowValue            = rhs.subWorkflowValue;
     this.labelTranslationKeyValue    = rhs.labelTranslationKeyValue;
     this.subWorkflowTemplateValue    = rhs.subWorkflowTemplateValue;
 }
Пример #3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin         bin = (BInputBin)bin1;
            WorkFlowActiveDoc obj = (WorkFlowActiveDoc)(obj1 != null ? obj1 : bin.onObjectCreated(new WorkFlowActiveDoc()));

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.activate = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.alertFromBegin = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.alertTo = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.alertWait = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.comment = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.completionDate = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.condition = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.delayDate = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.delayDays = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.deleted = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.department = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.department2 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.designDepartment = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.eloObjId = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.flowId = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.flowName = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.inUseDate = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.isNext = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.labelTranslationKey = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lockId = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.locked = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.moveCyclePosX = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.name = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.nodeFlags = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.nodeId = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.nodeType = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.onActivate = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.onTerminate = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.posX = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.posY = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.prio = 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.tag = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.templateId = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.terminate = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.userTerminate = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.yNCondition = bbuf.getString();
            if (version >= 700000000000000L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.userDelayDate = bbuf.getInt();
                if (version >= 700000000000008L)
                {
                    // checkpoint byps.gen.cs.PrintContext:449
                    obj.versionId = bbuf.getInt();
                    // checkpoint byps.gen.cs.PrintContext:449
                    obj.versionName = bbuf.getString();
                    if (version >= 700000000000014L)
                    {
                        // checkpoint byps.gen.cs.PrintContext:449
                        obj.alertTo2 = bbuf.getInt();
                        // checkpoint byps.gen.cs.PrintContext:449
                        obj.alertTo3 = bbuf.getInt();
                        // checkpoint byps.gen.cs.PrintContext:449
                        obj.alertWait2 = bbuf.getInt();
                        // checkpoint byps.gen.cs.PrintContext:449
                        obj.alertWait3 = bbuf.getInt();
                        // checkpoint byps.gen.cs.PrintContext:449
                        obj.nextServerId = bbuf.getString();
                        if (version >= 700000000000018L)
                        {
                            // checkpoint byps.gen.cs.PrintContext:449
                            obj.versionCreateDate = bbuf.getInt();
                            // checkpoint byps.gen.cs.PrintContext:449
                            obj.versionTag = bbuf.getString();
                            // checkpoint byps.gen.cs.PrintContext:449
                            obj.versionUserId = bbuf.getInt();
                            if (version >= 700000040000012L)
                            {
                                // checkpoint byps.gen.cs.PrintContext:449
                                obj.formSpec = bbuf.getString();
                                // checkpoint byps.gen.cs.PrintContext:449
                                obj.iconId = bbuf.getString();
                                if (version >= 900000018000005L)
                                {
                                    // checkpoint byps.gen.cs.PrintContext:449
                                    obj.commentTranslationKey = bbuf.getString();
                                    // checkpoint byps.gen.cs.PrintContext:449
                                    obj.flowNameTranslationKey = bbuf.getString();
                                    // checkpoint byps.gen.cs.PrintContext:449
                                    obj.nameTranslationKey = bbuf.getString();
                                    if (version >= 900000022000019L)
                                    {
                                        // checkpoint byps.gen.cs.PrintContext:449
                                        obj.label = bbuf.getString();
                                        // checkpoint byps.gen.cs.PrintContext:449
                                        obj.properties = bbuf.getString();
                                        if (version >= 900000030000006L)
                                        {
                                            // checkpoint byps.gen.cs.PrintContext:449
                                            obj.departmentGroup = bbuf.getInt();
                                            if (version >= 900000030000022L)
                                            {
                                                // checkpoint byps.gen.cs.PrintContext:449
                                                obj.retVal = bbuf.getInt();
                                                // checkpoint byps.gen.cs.PrintContext:449
                                                obj.subWorkflow = bbuf.getInt();
                                                if (version >= 900990009000003L)
                                                {
                                                    // checkpoint byps.gen.cs.PrintContext:449
                                                    obj.returnValue = bbuf.getString();
                                                    if (version >= 900990009000004L)
                                                    {
                                                        // checkpoint byps.gen.cs.PrintContext:449
                                                        obj.subWorkflowTemplate = bbuf.getInt();
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }

            return(obj);
        }