unit UDVRType;
 { data line view record}
interface
uses
  UlanType, ULRecTyp;{ULANRECS.LST}

const
  UDVRID = ord('U') + 256*ord('D') + 256*256*ord('V') + 256*256*256*ord('R');
{gets copied to ulad}
type
  TUDVRRec = packed record {<Caption="Data line view" Enabled=1 Visible=1 NameProp=DataName>}
    Head: TULRecHead;
    Info: TULRecInfo;
    DataName: string;{<Enabled=1 Caption="Data Line Name"
      Hint="To what data line this view info belongs">}
      {udvstype uladtype}
    ApplyMath: boolean;{<Enabled=1>}
      { Should the mathematic operation be made on retrieved points? }
    MultiplyX: TXValue;{<Enabled=1>}
      { Multiply every X by this value }
    MultiplyY: TYValue;{<Enabled=1>}
      { Multiply every Y by this value }
    AddX: TXValue;{<Enabled=1>}
      { Add to every X this value }
    AddY: TYValue;{<Enabled=1>}
      { Add to every Y this value }
    DiluteCount: integer;{<Enabled=1 DefVal=1>}
      { If > 1, then only every DiluteCount'th data point will
        be considered (other ignored) }
    Hidden: boolean;{<Enabled=1 Hint="Is this data line visible in window(s)?">}
    Active: boolean;{<Enabled=1 Hint="Is this data line used for (e.g. peaks) evaluation?">}
    WindowName: string;{<Enabled=1 Hint="In what window(s) should be the line visible?">}
      { Rather unclear usage of this field right now. }
  end;
  PUDVRRec = ^TUDVRRec;

implementation

end.
