Esempio n. 1
0
        public override Object Clone()
        {
            TickRecord rec = new TickRecord();

            rec.field_1_majorTickType = field_1_majorTickType;
            rec.field_2_minorTickType = field_2_minorTickType;
            rec.field_3_labelPosition = field_3_labelPosition;
            rec.field_4_background    = field_4_background;
            rec.field_5_labelColorRgb = field_5_labelColorRgb;
            rec.field_6_zero1         = field_6_zero1;
            rec.field_7_zero2         = field_7_zero2;
            rec.field_8_zero3         = field_8_zero3;
            rec.field_9_zero4         = field_9_zero4;
            rec.field_10_options      = field_10_options;
            rec.field_11_tickColor    = field_11_tickColor;
            rec.field_12_zero5        = field_12_zero5;
            return(rec);
        }
Esempio n. 2
0
 private TickRecord CreateTickRecord1()
 {
     TickRecord r = new TickRecord();
     r.MajorTickType = ((byte)2);
     r.MinorTickType = ((byte)0);
     r.LabelPosition = ((byte)3);
     r.Background = ((byte)1);
     r.LabelColorRgb = (0);
     r.Zero1 = ((short)0);
     r.Zero2 = ((short)0);
     r.Zero3 = ((short)45);
     r.IsAutorotate = (true);
     r.IsAutoTextBackground = (true);
     r.Rotation = ((short)0);
     r.IsAutorotate = (true);
     r.TickColor = ((short)77);
     return r;
 }
Esempio n. 3
0
        public override Object Clone()
        {
            TickRecord rec = new TickRecord();

            rec.field_1_majorTickType = field_1_majorTickType;
            rec.field_2_minorTickType = field_2_minorTickType;
            rec.field_3_labelPosition = field_3_labelPosition;
            rec.field_4_background = field_4_background;
            rec.field_5_labelColorRgb = field_5_labelColorRgb;
            rec.field_6_zero1 = field_6_zero1;
            rec.field_7_zero2 = field_7_zero2;
            rec.field_8_zero3 = field_8_zero3;
            rec.field_9_zero4 = field_9_zero4;
            rec.field_10_options = field_10_options;
            rec.field_11_tickColor = field_11_tickColor;
            rec.field_12_zero5 = field_12_zero5;
            return rec;
        }