uMain.dfm 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'Gasmeter Value-History'
  5. ClientHeight = 523
  6. ClientWidth = 453
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. OnCreate = FormCreate
  15. OnDestroy = FormDestroy
  16. PixelsPerInch = 96
  17. TextHeight = 13
  18. object lblImpressum: TLabel
  19. Left = 316
  20. Top = 468
  21. Width = 68
  22. Height = 13
  23. Caption = 'reserve, 2022'
  24. end
  25. object lbledtURL: TLabeledEdit
  26. Left = 28
  27. Top = 36
  28. Width = 273
  29. Height = 21
  30. EditLabel.Width = 146
  31. EditLabel.Height = 13
  32. EditLabel.Caption = 'URL to Logfile-Path on Device:'
  33. TabOrder = 0
  34. Text = 'http://192.168.10.65/fileserver/log/'
  35. end
  36. object btnDownloadLogfiles: TButton
  37. Left = 28
  38. Top = 174
  39. Width = 273
  40. Height = 25
  41. Caption = 'Download datafiles and generate CSV'
  42. TabOrder = 1
  43. OnClick = btnDownloadLogfilesClick
  44. end
  45. object lbledtMaxLogfilesOnServer: TLabeledEdit
  46. Left = 323
  47. Top = 36
  48. Width = 114
  49. Height = 21
  50. EditLabel.Width = 112
  51. EditLabel.Height = 13
  52. EditLabel.Caption = 'Download past # days:'
  53. TabOrder = 2
  54. Text = '30'
  55. end
  56. object lbledtTargetDirectory: TLabeledEdit
  57. Left = 28
  58. Top = 84
  59. Width = 273
  60. Height = 21
  61. EditLabel.Width = 108
  62. EditLabel.Height = 13
  63. EditLabel.Caption = 'Download datafiles to:'
  64. TabOrder = 3
  65. Text = 'C:\Temp\Gas\Log\'
  66. end
  67. object lbledtCsvFile: TLabeledEdit
  68. Left = 28
  69. Top = 131
  70. Width = 273
  71. Height = 21
  72. EditLabel.Width = 80
  73. EditLabel.Height = 13
  74. EditLabel.Caption = 'Output CSV-File:'
  75. TabOrder = 4
  76. Text = 'C:\Temp\Gas\Values.csv'
  77. end
  78. object redtLog: TRichEdit
  79. Left = 28
  80. Top = 220
  81. Width = 273
  82. Height = 277
  83. Font.Charset = ANSI_CHARSET
  84. Font.Color = clWindowText
  85. Font.Height = -11
  86. Font.Name = 'Tahoma'
  87. Font.Style = []
  88. Lines.Strings = (
  89. 'redtLog')
  90. ParentFont = False
  91. TabOrder = 5
  92. Zoom = 100
  93. end
  94. object idhtp1: TIdHTTP
  95. AllowCookies = True
  96. ProxyParams.BasicAuthentication = False
  97. ProxyParams.ProxyPort = 0
  98. Request.ContentLength = -1
  99. Request.ContentRangeEnd = -1
  100. Request.ContentRangeStart = -1
  101. Request.ContentRangeInstanceLength = -1
  102. Request.Accept = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
  103. Request.BasicAuthentication = False
  104. Request.UserAgent = 'Mozilla/3.0 (compatible; Indy Library)'
  105. Request.Ranges.Units = 'bytes'
  106. Request.Ranges = <>
  107. HTTPOptions = [hoForceEncodeParams]
  108. Left = 572
  109. Top = 464
  110. end
  111. end