zhao
2021-07-02 081df17b8cc4a6e7e4f4e1e1887f24810e3ec2f9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
using System;
using System.Collections.Generic;
using System.Text;
 
using HH.WMS.Utils.NPOI.Util;
 
namespace HH.WMS.Utils.NPOI.HSSF.Record.Chart
{
    public class Chart3DBarShapeRecord:StandardRecord
    {
        public const short sid = 4191;
 
        byte field_1_riser = 0;
        byte field_2_taper = 0;
 
        public Chart3DBarShapeRecord()
        { 
        
        }
 
        public Chart3DBarShapeRecord(RecordInputStream in1)
        {
            field_1_riser = (byte)in1.ReadByte();
            field_2_taper = (byte)in1.ReadByte();
        }
 
        public override string ToString()
        {
            StringBuilder buffer = new StringBuilder();
 
            buffer.Append("[Chart3DBarShape]\n");
            buffer.Append("    .axisType             = ")
                .Append("0x").Append(HexDump.ToHex(Riser))
                .Append(" (").Append(Riser).Append(" )");
            buffer.Append(Environment.NewLine);
            buffer.Append("    .x                    = ")
                .Append("0x").Append(HexDump.ToHex(Taper))
                .Append(" (").Append(Taper).Append(" )");
            buffer.Append(Environment.NewLine);
 
            buffer.Append("[/Chart3DBarShape]\n");
            return buffer.ToString();
        }
        public override void Serialize(ILittleEndianOutput out1)
        {
            out1.WriteByte(field_1_riser);
            out1.WriteByte(field_2_taper);
        }
 
        protected override int DataSize
        {
            get { return 1 + 1; }
        }
 
        public override object Clone()
        {
            Chart3DBarShapeRecord record = new Chart3DBarShapeRecord();
            record.Riser = this.Riser;
            record.Taper = this.Taper;
            return record;
        }
 
        public override short Sid
        {
            get { return sid; }
        }
 
        public byte Riser
        {
            get { return field_1_riser; }
            set { field_1_riser = value; }
        }
 
        public byte Taper
        {
            get { return field_2_taper; }
            set { field_2_taper = value; }
        }
    }
}