Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
        public override object Clone()
        {
            Refe obj = new Refe(this.Direction);

            obj.Secondary = this.Secondary;
            if (Values != null)
            {
                obj.Values = this.Values.Clone();
            }
            if (Labels != null)
            {
                obj.Labels = this.Labels.Clone();
            }
            if (Type != null)
            {
                obj.Type = (string[])this.Type.Clone();
            }
            if (Color != null)
            {
                obj.Color = (string[])this.Color.Clone();
            }
            if (Size != null)
            {
                obj.Size = (string[])this.Size.Clone();
            }
            obj.FontSize  = this.FontSize;
            obj.FontColor = this.FontColor;
            obj.Bold      = this.Bold;
            obj.Italic    = this.Italic;
            obj.Angle     = this.Angle;
            if (this.Offset != null)
            {
                obj.Offset = (double[])Offset.Clone();
            }
            if (this.Placement != null)
            {
                obj.Offset = (double[])Placement.Clone();
            }

            return(obj);

            //(FontColor
            //(FontSize >
            //(Bold) cmnd
            //(Italic) cm
            //(Underline)
            //(Angle < Mt
            //(Offset !=
            //(Placement
        }
Exemplo n.º 4
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;
 }