Beispiel #1
0
 public override void SetDefault()
 {
     //Min = Mtblib.Tools.MtbTools.MISSINGVALUE;
     //Max = Mtblib.Tools.MtbTools.MISSINGVALUE;
     Label      = new AxLabel(Direction);
     Ticks      = new CateTick();
     HDisplay   = null;
     LDisplay   = null;
     Refes      = new Refe(Direction);
     GetCommand = DefaultCommand;
 }
Beispiel #2
0
 public override void SetDefault()
 {
     Min        = Mtblib.Tools.MtbTools.MISSINGVALUE;
     Max        = Mtblib.Tools.MtbTools.MISSINGVALUE;
     Label      = new AxLabel(Direction);
     Ticks      = new ContTick();
     Refes      = new Refe(Direction);
     LDisplay   = null;
     HDisplay   = null;
     SecScale   = new ContSecScale(Direction);
     GetCommand = DefaultCommand;
 }
Beispiel #3
0
 public override void SetDefault()
 {
     Variable = null;
     Min      = Mtblib.Tools.MtbTools.MISSINGVALUE;
     Max      = Mtblib.Tools.MtbTools.MISSINGVALUE;
     Label    = new AxLabel(Direction)
     {
         ScalePrimary = ScalePrimary.Secondary,
         Side         = 1
     };
     Ticks = new ContTick();
     Refes = new Refe(Direction)
     {
         Secondary = true
     };
     LDisplay   = null;
     HDisplay   = null;
     GetCommand = DefaultCommand;
 }
Beispiel #4
0
        public override object Clone()
        {
            AxLabel axlab = new AxLabel(_scaleDirection);

            axlab.Text      = Text;
            axlab.FontSize  = FontSize;
            axlab.FontColor = FontColor;
            axlab.Angle     = Angle;
            axlab.Bold      = Bold;
            axlab.Italic    = Italic;
            axlab.Underline = Underline;
            axlab.Side      = Side;
            axlab.Visible   = this.Visible;
            if (Offset != null)
            {
                axlab.Offset = (double[])Offset.Clone();
            }
            axlab.ScalePrimary = ScalePrimary;

            return(axlab);
        }