Fixed the GUI finally
This commit is contained in:
parent
58dded8116
commit
e2b4c2c8a3
17 changed files with 324 additions and 249 deletions
|
@ -72,17 +72,18 @@ end;
|
|||
procedure TForm1.Timer1Timer(Sender: TObject);
|
||||
begin
|
||||
try
|
||||
webres := TFPCustomHTTPClient.SimpleGet('https://192.168.1.113/bnd.dat');
|
||||
webres := TFPCustomHTTPClient.SimpleGet('http://192.168.1.168/band/bnd.dat');
|
||||
parse := splitstring(webres,' ');
|
||||
vnstats.dom := parse[6];
|
||||
vnstats.cm := parse[8];
|
||||
vnstats.vnhourly := parse[10];
|
||||
vnstats.vnmonthly := parse[13];
|
||||
|
||||
vnstats.dom := parse[4];
|
||||
vnstats.cm := concat(parse[6],' GiB');
|
||||
vnstats.vnhourly := concat(parse[8],parse[9]);
|
||||
vnstats.vnmonthly := concat(parse[11],parse[12]);
|
||||
Label2.Caption := vnstats.vnhourly;
|
||||
Label6.Caption := vnstats.vnmonthly;
|
||||
Label4.Caption := vnstats.cm;
|
||||
Label7.Caption:= parse[11] ;
|
||||
Label8.Caption:= parse[14];
|
||||
//Label7.Caption:= parse[12] ;
|
||||
// Label8.Caption:= parse[15];
|
||||
Button1.Caption := 'Hide';
|
||||
except
|
||||
// Blah
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue