tpPegGclGatherFme.pas 900 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. unit tpPegGclGatherFme;
  2. interface
  3. uses
  4. tpPegGclGatherDm,
  5. Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  6. Dialogs, ExtCtrls, sdGridDBA, ZJGrid;
  7. type
  8. TtpPegGclGatherFrame = class(TFrame)
  9. zgGclGather: TZJGrid;
  10. saGclGather: TsdGridDBA;
  11. sprPeg_Gcl: TSplitter;
  12. zgGclRela: TZJGrid;
  13. saGclRela: TsdGridDBA;
  14. private
  15. FPegGclGatherData: TtpPegGclGatherData;
  16. procedure SetPegGclGatherData(const Value: TtpPegGclGatherData);
  17. public
  18. property PegGclGatherData: TtpPegGclGatherData read FPegGclGatherData write SetPegGclGatherData;
  19. end;
  20. implementation
  21. {$R *.dfm}
  22. { TtpPegGclGatherFrame }
  23. procedure TtpPegGclGatherFrame.SetPegGclGatherData(
  24. const Value: TtpPegGclGatherData);
  25. begin
  26. FPegGclGatherData := Value;
  27. saGclGather.DataView := FPegGclGatherData.sdvGclGather;
  28. saGclRela.DataView := FPegGclGatherData.sdvGclRela;
  29. end;
  30. end.