📄 emi.int
字号:
unit EMI;
{ Listing generated by Opus Documentor 1.2.1.1147 on 2.1.2007 }
{ Parts omitted from listing: protected, private, undocumented }
{==============================================================================}
interface
uses
Connect, CommConnect, Classes, SysUtils, SyncObjs, Windows;
const
mclDisplay = 0;
mclME = 1;
mclSIM = 2;
mclTE = 3;
mclDefault = 'FF';
type
TEMIClient = class( TLogConnection )
public
LastNakCmd: Byte;
LastNakError: Integer;
LastSendTick: DWord;
public
procedure Busy;
procedure Unbusy;
public
property IsBusy: Boolean read;
property PhoneNumber: string read;
property CommandBufferCount: Integer read;
public
function smTestConnection{}: Boolean;
function smSubmit(
const aPhn: string;
const aOAPhn: string;
const Msg: string;
aBinary: Boolean;
aMCLs: Byte;
aPID: Byte;
aNT: Byte;
aRPI: Byte;
Validity: TDateTime ): TDateTime;
published
property Params: TStrings read write;
property ComDevice: TCommunicationConnection read write;
property RepeatCount: Integer read write
default 5;
property RecTimeout: LongInt read write
default 3000;
property ETXTimeout: LongInt read write
default 1000;
property RepeatTimeout: LongInt read write
default 500;
property OnBusyChanged: TBusyChanged read write;
property OnRxChar: TRxCharEvent read write;
property OnRxCommand: TRxCommandEvent read write;
property OnRxCommandBeforeAcknowledge: TRxCommandBeforeAcknowledgeEvent read write;
end {TEMIClient};
{==============================================================================}
implementation
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -