D-Link DSL-G684T Bedienungsanleitung Seite 99

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 118
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 98
99
wait(3000);
application.MessageBox('Servo information turned
off','OK', MB_OK);
IdTelnet1.IOHandler.WriteLn('ph=off');
wait(3000);
application.MessageBox('Auto photo turned off','OK',
MB_OK);
end;
end;
procedure Tform1.wait(ms: integer);
var
bt: DWORD;
begin
bt := GetTickCount;
while (GetTickCount - bt) < ms do
Application.ProcessMessages;
end;
function TForm1.HexToBin(Hexadecimal: string): string;
const
BCD: array [0..15] of string =
('0000', '0001', '0010', '0011', '0100', '0101', '0110',
'0111',
'1000', '1001', '1010', '1011', '1100', '1101', '1110',
'1111');
var
i: integer;
begin
for i := Length(Hexadecimal) downto 1 do
Result := BCD[StrToInt('$' + Hexadecimal[i])] + Result;
end;
function TForm1.BinToInt(Value: String): LongInt;
Seitenansicht 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 117 118

Kommentare zu diesen Handbüchern

Keine Kommentare