示例#1
0
        private bool method_10(DxfReader r, Class259 objectBuilder)
        {
            switch (r.CurrentGroup.Code)
            {
            case 3:
                this.string_0 = (string)r.CurrentGroup.Value;
                break;

            case 40:
                this.double_0 = (double)r.CurrentGroup.Value * (System.Math.PI / 180.0);
                break;

            case 41:
                this.double_1 = (double)r.CurrentGroup.Value * (System.Math.PI / 180.0);
                break;

            case 42:
                this.double_2 = (double)r.CurrentGroup.Value;
                break;

            case 43:
                this.double_3 = (double)r.CurrentGroup.Value;
                break;

            case 44:
                this.double_4 = (double)r.CurrentGroup.Value;
                break;

            case 45:
                this.double_5 = (double)r.CurrentGroup.Value;
                break;

            case 46:
                this.double_6 = (double)r.CurrentGroup.Value;
                break;

            case 47:
                this.vector3D_0.X = (double)r.CurrentGroup.Value;
                break;

            case 49:
                this.vector3D_0.Y = (double)r.CurrentGroup.Value;
                break;

            case 90:
                this.int_0 = (int)r.CurrentGroup.Value;
                break;

            case 91:
                this.color_0 = MLeader.smethod_0((int)r.CurrentGroup.Value);
                break;

            case 92:
                this.int_1 = (int)r.CurrentGroup.Value;
                break;

            case 93:
                this.color_1 = MLeader.smethod_0((int)r.CurrentGroup.Value);
                break;

            case 94:
                this.color_2 = MLeader.smethod_0((int)r.CurrentGroup.Value);
                break;

            case 140:
                this.vector3D_0.Z = (double)r.CurrentGroup.Value;
                break;

            case 141:
                this.double_7 = (double)r.CurrentGroup.Value * (System.Math.PI / 180.0);
                break;

            case 142:
                this.double_8 = (double)r.CurrentGroup.Value;
                break;

            case 143:
                this.double_9 = (double)r.CurrentGroup.Value;
                break;

            case 170:
                this.contentType_0 = (MLeader.ContentType)r.CurrentGroup.Value;
                break;

            case 171:
                this.drawMLeaderOrder_0 = (MLeader.DrawMLeaderOrder)r.CurrentGroup.Value;
                break;

            case 172:
                this.drawLeaderOrder_0 = (MLeader.DrawLeaderOrder)r.CurrentGroup.Value;
                break;

            case 173:
                this.leaderType_0 = (MLeader.LeaderType)r.CurrentGroup.Value;
                break;

            case 174:
                this.textAttachment_0 = (MLeader.TextAttachment)(short) r.CurrentGroup.Value;
                break;

            case 175:
                this.textAngleType_0 = (MLeader.TextAngleType)r.CurrentGroup.Value;
                break;

            case 176:
                this.textAlignment_0 = (MLeader.TextAlignment)r.CurrentGroup.Value;
                break;

            case 177:
                this.blockConnectionType_0 = (MLeader.BlockConnectionType)r.CurrentGroup.Value;
                break;

            case 178:
                this.textAttachment_1 = (MLeader.TextAttachment)(short) r.CurrentGroup.Value;
                break;

            case 179:
                this.short_0 = (short)r.CurrentGroup.Value;
                break;

            case 271:
                this.textAttachmentDirection_0 = (MLeader.TextAttachmentDirection)r.CurrentGroup.Value;
                break;

            case 272:
                this.textAttachment_2 = (MLeader.TextAttachment)(short) r.CurrentGroup.Value;
                break;

            case 273:
                this.textAttachment_3 = (MLeader.TextAttachment)(short) r.CurrentGroup.Value;
                break;

            case 290:
                this.bool_0 = (bool)r.CurrentGroup.Value;
                break;

            case 291:
                this.bool_1 = (bool)r.CurrentGroup.Value;
                break;

            case 292:
                this.bool_2 = (bool)r.CurrentGroup.Value;
                break;

            case 293:
                this.bool_4 = (bool)r.CurrentGroup.Value;
                break;

            case 294:
                this.bool_5 = (bool)r.CurrentGroup.Value;
                break;

            case 295:
                this.bool_6 = (bool)r.CurrentGroup.Value;
                break;

            case 296:
                this.bool_7 = (bool)r.CurrentGroup.Value;
                break;

            case 297:
                this.bool_3 = (bool)r.CurrentGroup.Value;
                break;

            case 298:
                this.bool_8 = (bool)r.CurrentGroup.Value;
                break;

            case 300:
                this.string_1 = (string)r.CurrentGroup.Value;
                break;

            case 340:
                r.method_90((System.Action <DxfObjectReference>)(o => this.dxfObjectReference_3 = o));
                break;

            case 341:
                r.method_90((System.Action <DxfObjectReference>)(o => this.dxfObjectReference_4 = o));
                break;

            case 342:
                r.method_90((System.Action <DxfObjectReference>)(o => this.dxfObjectReference_5 = o));
                break;

            case 343:
                r.method_90((System.Action <DxfObjectReference>)(o => this.dxfObjectReference_6 = o));
                break;

            default:
                return(this.method_6(r, objectBuilder));
            }
            r.method_85();
            return(true);
        }