示例#1
0
        public override Object Clone()
        {
            AxisOptionsRecord rec = new AxisOptionsRecord();

            rec.field_1_minimumCategory = field_1_minimumCategory;
            rec.field_2_maximumCategory = field_2_maximumCategory;
            rec.field_3_majorUnitValue = field_3_majorUnitValue;
            rec.field_4_majorUnit = field_4_majorUnit;
            rec.field_5_minorUnitValue = field_5_minorUnitValue;
            rec.field_6_minorUnit = field_6_minorUnit;
            rec.field_7_baseUnit = field_7_baseUnit;
            rec.field_8_crossingPoint = field_8_crossingPoint;
            rec.field_9_options = field_9_options;
            return rec;
        }
示例#2
0
 private AxisOptionsRecord CreateAxisOptionsRecord()
 {
     AxisOptionsRecord r = new AxisOptionsRecord();
     r.MinimumCategory = ((short)-28644);
     r.MaximumCategory = ((short)-28715);
     r.MajorUnitValue = ((short)2);
     r.MajorUnit = ((short)0);
     r.MinorUnitValue = ((short)1);
     r.MinorUnit = ((short)0);
     r.BaseUnit = ((short)0);
     r.CrossingPoint = ((short)-28644);
     r.IsDefaultMinimum = (true);
     r.IsDefaultMaximum = (true);
     r.IsDefaultMajor = (true);
     r.IsDefaultMinorUnit = (true);
     r.IsDate = (true);
     r.IsDefaultBase = (true);
     r.IsDefaultCross = (true);
     r.IsDefaultDateSettings = (true);
     return r;
 }