示例#1
0
 public virtual void imethod_16(Class987 header)
 {
     Class1045.smethod_9((Stream)this.memoryStream_0, 0);
     Class1045.smethod_9((Stream)this.memoryStream_0, header.EntityCount);
     Class1045.smethod_9((Stream)this.memoryStream_0, this.int_0 != 21200 ? (this.int_0 != 21500 ? (this.int_0 != 21600 ? (this.int_0 != 21700 ? (this.int_0 != 21800 ? 0 : 12) : 4) : 8) : 24) : 26);
     if (this.int_0 < Class250.int_28)
     {
         return;
     }
     this.WriteString(header.Product);
     this.WriteString(header.AcisVersion);
     this.WriteString(header.method_1());
     this.imethod_7(header.MmPerUnit);
     this.imethod_7(header.AbsoluteResolution);
     this.imethod_7(header.NormalResolution);
 }
示例#2
0
文件: Class251.cs 项目: 15831944/WW
 public virtual void imethod_17(Class987 header)
 {
     header.NumberOfRecords = this.imethod_5();
     header.EntityCount     = this.imethod_5();
     header.HistorySaved    = this.imethod_5() != 0;
     if (this.int_0 < Class250.int_28)
     {
         return;
     }
     header.Product     = this.ReadString();
     header.AcisVersion = this.ReadString();
     header.method_0(this.ReadString());
     header.MmPerUnit          = this.imethod_8();
     header.AbsoluteResolution = this.imethod_8();
     header.NormalResolution   = this.imethod_8();
 }
示例#3
0
文件: Class255.cs 项目: 15831944/WW
 public virtual void imethod_16(Class987 header)
 {
     this.imethod_4(header.NumberOfRecords);
     this.imethod_4(header.EntityCount);
     this.imethod_4(this.int_0 != 21200 ? (this.int_0 != 21500 ? (this.int_0 != 21600 ? (this.int_0 != 21700 ? (this.int_0 != 21800 ? 0 : 12) : 4) : 8) : 24) : 26);
     this.imethod_15();
     if (this.int_0 < Class250.int_28)
     {
         return;
     }
     this.WriteString(header.Product);
     this.WriteString(header.AcisVersion);
     this.WriteString(header.method_1());
     this.imethod_15();
     this.imethod_7(header.MmPerUnit);
     this.imethod_7(header.AbsoluteResolution);
     this.imethod_7(header.NormalResolution);
     this.imethod_15();
 }
示例#4
0
文件: Class795.cs 项目: 15831944/WW
        private void ReadFrom(Interface8 reader)
        {
            this.class987_0 = new Class987(reader);
            if (this.enum30_0 == Class795.Enum30.const_1)
            {
                return;
            }
            this.ilist_0    = (IList <Class80>) new List <Class80>(System.Math.Min(this.class987_0.NumberOfRecords, 256));
            this.ilist_2    = (IList <Class98>) new List <Class98>();
            this.class187_0 = (Class187)null;
            Class80 class80;

            while ((class80 = this.method_5(reader)) != null)
            {
                this.ilist_0.Add(class80);
                class80.vmethod_2(this);
                this.method_6(this.ilist_0.Count - 1);
            }
            if (this.idictionary_0.Count != 0)
            {
                throw new Exception0("References in the SAT code couldn't be solved");
            }
        }