Beispiel #1
0
        private void method_1(CtbFile.Class1003 writer)
        {
            this.SortLineWeights();
            int count = this.list_0.Count;

            writer.Write((CtbFile.Interface45) new CtbFile.Class1005("description", this.string_24));
            writer.Write((CtbFile.Interface45) new CtbFile.Class1006("aci_table_available", true));
            writer.Write((CtbFile.Interface45) new CtbFile.Class1008("scale_factor", this.double_1));
            writer.Write((CtbFile.Interface45) new CtbFile.Class1006("apply_factor", this.bool_0));
            writer.Write((CtbFile.Interface45) new CtbFile.Class1007("custom_lineweight_display_units", (int)this.displayUnit_0));
            writer.method_1("aci_table");
            for (int index = 0; index < count; ++index)
            {
                writer.Write((CtbFile.Interface45) new CtbFile.Class1005(index.ToString(), this.list_0[index].Name));
            }
            writer.method_2();
            writer.method_1("plot_style");
            for (int index = 0; index < count; ++index)
            {
                writer.method_1(index.ToString());
                this.list_0[index].WriteTo(writer);
                writer.method_2();
            }
            writer.method_2();
            writer.method_1("custom_lineweight_table");
            for (int index = 0; index < this.list_1.Count; ++index)
            {
                writer.Write((CtbFile.Interface45) new CtbFile.Class1008("0.0###", index.ToString(), this.list_1[index]));
            }
            writer.method_2();
            writer.method_3();
        }
Beispiel #2
0
 public void Write(CtbFile.Class1003 writer)
 {
     writer.method_1(this.string_0);
 }