-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathajuda.pas
44 lines (39 loc) · 1.76 KB
/
ajuda.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
unit Ajuda;
{$mode objfpc}{$H+}
interface
uses Classes, SysUtils;
procedure escrever(ExeFileName: string = 'PointLineReader.exe');
implementation
{ Método para imprimir informações de ajuda sobre uso do programa }
procedure escrever(ExeFileName: string = 'PointLineReader.exe');
begin
{ help code execution }
writeln;
writeln('Software para recuperar dados AFDT de relogios de ponto.');
writeln;
writeln('Uso: ', ExeFileName, ' -i <IP>|--ip=<IP> [-u <NSR>|--ultimo=<NSR>]');
writeln;
writeln('Exemplo:');
writeln(' ', ExeFileName, ' -i 192.168.0.12 -u 50');
writeln(' ', ExeFileName, ' --ip=192.168.0.12 --ultimo=50');
writeln('Argumentos:');
writeln(' -h | --help - Escreve este documento de ajuda');
writeln(' -m <N> | --modelo=<N> - Define modelo como N (veja lista).');
writeln(' -i <IP> | --ip=<IP> - Endereco IP do relogio de ponto');
writeln(' -u <NSR> | --ultimo=<NSR> - Ultimo indice NSR recebido');
writeln(' -v | --verbose - Bandeira para ser descritivo');
writeln(' -s | --silent - Falhar silenciosamente');
writeln;
writeln('Modelos de relógio de ponto disponíveis:');
writeln(' 1 – POINTLine 1510 Card');
writeln(' 2 – POINTLine 1510 BIOProx');
writeln(' 3 – POINTLine 1510 Duo Card');
writeln(' 4 – POINTLine 1510 Duo Card Bio');
writeln;
writeln('Este programa necessita das DLLs:');
writeln(' authotelcom.dll - comunicacao com relogios de ponto da RW Tech');
writeln(' SFM_SDK.dll - API de comunicacao com modulos SFM da Suprema Inc');
writeln;
writeln('Este programa em arquitetura 32 bits roda apenas em Windows.');
end;
end.