unit UPSSObju;
{ Generated by MakeComp 1.03 from UPSSTYPE.PAS. Don't modify manually !!! }
interface
uses Classes, SysUtils, Graphics, UlanType, ULRecTyp, ULObju, 
  UPSTType,
  UPSSType;

type
  TUPSSObj = class(TULObj)
  protected
    function GetPrgStepsName: TULPrgStepsName;
    procedure SetPrgStepsName(APrgStepsName: TULPrgStepsName);
    function GetMinRecLen: TULRecLen; override;
  public
    constructor Create(AOwner:TULObj);
    function GetULRecDesc: PULRecDesc; override;
  published
    property PrgStepsName: TULPrgStepsName
      read GetPrgStepsName write SetPrgStepsName;
  end;

const
  UPSSChildRecIDs: array[0..0] of TULRecID = (
    UPSTID
  );
  UPSSFldDescs: array[0..0] of TULFldDesc = (
    (
     Caption: '';
     Hint: '';
     EditWidth: 0;
     BrowseWidth: 0;
     Flags: 4096;
     UserCoef: 0.00;
     NumDec: 0;
     ValuesSourceRecID: 0;
     FieldColorCount : 0;
     FieldColors : nil;
     Filter: '';
     DefDir: '';
     StripPrefix: '';
     EditMask: '';
     MaxID: 0;
     FieldName: 'PrgStepsName';
     KeyFieldName: '';
     ListFieldName: '';
     Typ: '';
     VarSize: false;
     PasType: 'TULPrgStepsName';
    )
  );

  UPSSRecDesc: TULRecDesc = (
    Caption: 'Program Steps';
    ChildRecIDsStr: 'UPSTID';
    ChildRecIDs: @UPSSChildRecIDs;
    ChildRecIDCount: 1;
    FldCount: 1;
    Flds: @UPSSFldDescs;
    Flags: rfChildAllowed OR rfHasRecName OR rfEnabled OR rfVisible;
    SortExp: '';
    EditFieldList: '';
    BrowseFieldList: '';
    MenuFieldList: '';
    BrowseChildRecIDs: '';
    NameProp: '';
    MainProp: '';
    DefDir: '';
    OpenFilter: '';
    SaveFilter: '';
    Table: '';
    Indexes: ''
   );

implementation

{TUPSSObj}
function TUPSSObj.GetMinRecLen: TULRecLen;
begin
  GetMinRecLen := sizeof(TUPSSRec);
end;

constructor TUPSSObj.Create(AOwner: TULObj);
begin
  inherited Create(TComponent(AOwner), UPSSID);
end;

function TUPSSObj.GetULRecDesc: PULRecDesc;
begin
  Result := @UPSSRecDesc;
end;

procedure TUPSSObj.SetPrgStepsName(APrgStepsName: TULPrgStepsName);
begin
  if PUPSSRec(Rec)^.PrgStepsName <> APrgStepsName then begin
    PUPSSRec(Rec)^.PrgStepsName := APrgStepsName;
    if UPSSFldDescs[0].VarSize then 
      ClearFieldsLen;
    DoChange;
  end;
end;

function TUPSSObj.GetPrgStepsName: TULPrgStepsName;
begin
  GetPrgStepsName := PUPSSRec(Rec)^.PrgStepsName;
end;

{/TUPSSObj}

end.
