unit Worker;
interface
uses
TSData,SessionData,System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Actions,
FMX.ActnList, FMX.TabControl, FMX.StdCtrls, FMX.Layouts, FMX.Memo,
Xml.xmldom,
Xml.XMLIntf,
Xml.XMLDoc, IdBaseComponent, IdComponent, StrUtils,
IdTCPConnection, IdTCPClient, IdHTTP, FMX.Objects, FMX.Ani, System.Rtti,
FMX.Grid, Data.DB, Datasnap.DBClient, FMX.Edit, Unit1,Unit2, FMX.ListBox,FMX.Styles;
type
TWorker =
class (TObject)
private
FTSData : TTSData;
public
constructor Create;
destructor Destroy;
override;
function Login(
const Benutzername, Password :
string;
var SessionID,Output :
string) : integer;
end;
implementation
{ TWorker }
constructor TWorker.Create;
begin
FTSData := TTSData.Create;
end;
destructor TWorker.Destroy;
begin
FreeandNIL(FTSData);
inherited;
end;