text stringlengths 14 6.51M |
|---|
unit WebServerSvc;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.SvcMgr,
Vcl.Dialogs,
Prefs,
IOUtils,
ActiveX,
WebServerUnit;
type
TWebServerService = class(TService)
procedure ServiceStart(Sender: TService; var Started:... |
{ *********************************************************** }
{ * ksTools Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2010 * }
{ * ----------------------------------------- * }
{ * http://sergworks.wordpress.com/kstools * }
... |
unit ServerModule;
interface
uses
Classes, SysUtils, uniGUIServer, uniGUIMainModule, uniGUIApplication, uIdCustomHTTPServer,
uniGUITypes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error,
FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool,
FireDAC.Stan.Async, FireDAC.Phy... |
{
MIT License
Copyright (c) 2017 Jamie Geddes
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... |
{*
* Copyright 2013 Artur Mkrtchyan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
{*******************************************************************************
Title: iTEC-SOFTWARE
Description: VO relational the table [VIEW_ITENS_NFC]
The MIT License ... |
{
TODO: I think the DEPTH value will need to be smoothed.
- Use integer math for the read pos.
- use a SINE lfo shape.
}
unit djfxPitchMod;
interface
uses
eeGlobals, VamLib.MoreTypes, djfxBase, eeSimpleLFO;
type
TDJFXPitchMod = class(TDJFXCustomFX)
private
fSyncNumerator, fSyncDeno... |
unit RDLuPolygon;
interface
uses
System.SysUtils, System.Classes, System.Types, System.UITypes,
FMX.Types, FMX.Controls, FMX.Layouts, FMX.Objects, FMX.Filter.Effects;
type
TPolygonType = ( VerticesNo3, VerticesNo4, VerticesNo5, VerticesNo6, VerticesNo7, VerticesNo8, VerticesNo9, VerticesNo10, VerticesNo11, Ve... |
unit GraphicsToolsEx;
interface
uses
Types, SysUtils, Classes, TypInfo, Graphics, Contnrs, Controls,
Dialogs, ScUtils, GR32, FunLabyUtils, FunLabyCoreConsts,
FunLabyToolsConsts, Generics, GraphicsTools, MapTools;
procedure CleanRectAlpha(Bitmap: TBitmap32; const Rect: TRect;
Alpha: Integer = $FF); ... |
unit UCL.FontIcons;
interface
const
// Control icons
UF_MINIMIZE = #$E108; // #$E921;
UF_MAXIMIZE = #$E003; // #$E922;
UF_RESTORE = #$E923;
UF_CLOSE = #$E711; //#$E10A;
UF_BACK = #$E112;
UF_CHECKBOX_OUTLINE = #$E003;
UF_CHECKBOX_SMALL = #$E004;
UF_CHECKBOX_CHECKED = #$E005;
UF_RADIO_OUTLINE = #$... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.2.2-11, FILE=ERR65T, ... |
unit CustomStreamFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ModuleFrm, StdCtrls;
type
TEncodedStream = class(TFileStream)
private
FKey: Char;
public
constructor Create(const FileName: string; Mode: Word);
function Read(var B... |
unit uPCFuncs;
interface
uses Windows, Classes, Registry, TlHelp32, SysUtils, Messages, Forms, Activex,
ComObj;
function NomePC: string;
function GetWindowsVersion: string;
function WUser: string;
procedure KP(hWindowHandle: HWND);
function GetProgramFilesDir: string;
procedure DisableUAC;
procedure DisablePreview... |
program EXAMPLE_memfile;
info
Title = 'memfile example'; // Script Title
Keywords = 'memfile example'; // Script Keywords
Author = 'Správce systému K2'; // Script Author
end;
uses
FM_Zbozi, FM_Zakaznik, S_Examples;
// *CZE only*
files
Zakazniik, // Je def... |
unit uLogin;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Ani, FMX.Edit, FMX.Layouts,
FMX.Objects, classe.Usuario;
type
TFrmLogin = class(TForm)
... |
unit classe.Usuario;
interface
uses
FireDAC.Comp.Client, System.SysUtils, FireDAC.DApt ;
type
TUsuario = class
private
FConn : TFDConnection;
FdtCadastro: String;
Frg: String;
Femail: String;
Fbairro: String;
Ftel2: String;
Fuf: String;
Ftel1: String;
... |
// Marcello Mello
// 30/09/2019
// **********************************************************************
// ESSE ARQUIVO É GERADO DE FORMA AUTOMATICA PELO PROGRAMA "GenerateAst"
// **********************************************************************
unit lps.ast;
interface
uses
Generics.Collections,
lps.type... |
PROGRAM PrintHello(INPUT, OUTPUT);
BEGIN {PrintHello}
WRITELN('Content-Type: text/plain');
WRITELN;
WRITELN('Hello world!');
END. {PrintHello}
|
unit Demo1.Modules.Main;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf,
FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLUI.Wait, Data.DB,
FireDAC.Comp.Client, FireDAC.Phys.SQLite, F... |
unit DAO.Generic;
interface
uses
Projeto.Interfaces, System.SysUtils;
type
TDAOGeneric<T : class, constructor> = class(TInterfacedObject, iDAOInterface<T>)
private
FEntidade : T;
FDisplay : TProc<String>;
public
constructor Create;
destructor Destroy; override;
class functio... |
unit JCALG1;
{
Delphi interface for JCALG1 r5.15
by Jordan Russell
}
interface
uses
Windows;
type
TJCALG1_AllocFunc = function(Size: Integer): Pointer; stdcall;
TJCALG1_DeAllocFunc = function(Memory: Pointer): BOOL; stdcall;
TJCALG1_CallbackFunc = function(CurrentSrc, CurrentDest: Integer): BOOL; stdcal... |
program ReverseName;
type
s = string[50];
var
Name: string;
procedure Reverse(name: s);
var
i : integer;
begin{procedure}
i := length(name);
while i > 0 do
begin{while}
write(name[i]);
i := i - 1;
end;{while}
writeln('');
end;{procedure}
begin
writeln('Enter your first name');
readln(Name);
... |
{******************************************************************************}
{ Unit description: }
{ Developer: Date: }
{ Modifier: cgy Date: 2002/3/8 ... |
{ ******************************************************************
Roots of a polynomial from the companion matrix
****************************************************************** }
unit urootpol;
interface
uses
utypes, ubalance, uhqr, uConstants;
function RootPol(Coef: TVector; Deg: Integer; o... |
unit eeADSR;
interface
uses
eeTypes, eeDSP;
type
TEnvelopeStage = (esOff, esAttack, esDecay, esSustain, esRelease);
TADSR = class
private
fStage: TEnvelopeStage;
fSampleRate: integer;
fAttackTime: single;
fDecayTime: single;
fReleaseTime: single;
fSustainLevel: singl... |
unit SimpleDAO.DataSetToJSON;
interface
uses
System.SysUtils,
System.Classes,
System.JSON,
System.DateUtils,
System.NetEncoding,
System.TypInfo,
System.Generics.Collections,
Data.SqlTimSt,
Data.FmtBcd,
Data.DB,
SimpleRTTI,
DataSetConverter4D.Util;
type
EDataSetToJSONE... |
unit ufrmPeopleList;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls,
System.Generics.Collections, System.Generics.Defaults;
type
TfrmPeopleList = class(TForm)
lb... |
unit AggRasterizerCellsAA;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christian... |
unit SimpleJSONUtil;
interface
uses
Data.DBXJSON, Data.DBXJSONReflect, System.Generics.Collections, System.JSON,
REST.JSON, REST.Response.Adapter, Data.DB, System.SysUtils, System.Classes;
type
TJsonFlags = set of (jfFormat);
TSimpleJsonUtil = class
private
class var
JSONMarshal: TJSONMarshal;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.1-1, FILE=LEV1F10... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.5-17, FILE=DEV098, CL... |
{==============================================================================|
| Project : Delphree - Synapse | 001.002.000 |
|==============================================================================|
| Content: HTTP client ... |
{ sorts random numbers and prints them as matrix }
program sort;
const L = 10;
const N = L*L;
type Arr = array[0..N-1] of integer;
var a: Arr;
procedure swap(var a,b:integer);
var t:integer;
begin
t := a;
a := b;
b := t;
end;
procedure fill(var x:Arr);
var i : integer;
begin
for i := 0 to N-1 do x[i] := random... |
unit Authentication;
interface
uses System.Generics.Collections, Client;
type
TAuthentication = class(TObject)
strict private
FItems: TDictionary<String, TClient>;
public
constructor Create(Items: TObjectList<TClient>);
destructor Destroy(); override;
/// <summary> Return true if the list of c... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
unit uQTZHelper;
interface
uses
SysUtils, DateUtils, System.Net.HttpClientComponent;
type
TQTZHelper = class
private
class var Token: string;
class var FHome: string;
class function Get(const url: string): string; static;
class procedure InitToken; static;
public
class function Request(co... |
{*******************************************************************************
* Created by Vladimir Georgiev, 2014 *
* *
* Description: ... |
unit CadParEmpr;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
unit OIDC.TestCase;
interface
uses
TestFramework;
type
TOIDC_TestCase = class(TTestCase)
public
class constructor Create;
published
procedure Test_TAuthorization;
procedure Test_Tcode_challenge_method;
procedure Test_Tcode_challenge_methods_supported;
procedure Test_Tgrant_type;
proce... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.3.7.3-3, FILE=LEV1... |
unit GinServer;
{$IFDEF FPC}
{$MODE DELPHI}
{$ENDIF}
interface
uses
SyncObjs, Generics.Collections, Classes, TCPTypes, TCPServer, GinClasses,
CardTypes;
type
{ TServerDispatcher }
TServerDispatcher = class(TThread)
protected
procedure Execute; override;
public
ReadMessages: TIdentMessages;
construct... |
unit uranbit;
{ Generation of random bits }
interface
uses utypes, urandom;
type
TRanBit = class(TRandomGen)
private
FSeed: Cardinal;
procedure SetSeed(const Value: Cardinal);
public
constructor Create(USeed: Cardinal);
property Seed: Cardinal read FSeed write SetSeed;
func... |
unit uFrmMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.ExtCtrls, Vcl.Buttons, Vcl.StdCtrls, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf,... |
unit eeCounter;
interface
{
TCounter
In many places I've used floats to store phase or sample index positions.
Floats are handy as they are easy to use with fractional values. They
are a inefficient when working with sample data store in arrays however.
When working with floats, the aud... |
unit Main.View;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Edit, FMX.ScrollBox, FMX.Memo,
ItemModel.Interf, System.Generics.Collections;
type
TFo... |
uses RelayABC;
begin
// Инициализируем библиотеку
RelayManager.InitRelays;
// Количество обнаруженных устройств
WriteLn('Всего устройств обнаружено : ', RelayManager.RelaysCount);
WriteLn('Открываем первое устройство...');
// Пытаемся открыть первое по порядку устройство
if not RelayManager.... |
unit Setups;
{**
* Mini Translator
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Zaher Dirkey <zaher at parmaja dot com>
*}
{$mode objfpc}{$H+}
interface
uses
LCLIntf,
SysUtils, Classes, Graphics, Controls, Forms,
FileUtil,
trsProjects, Dialogs, StdCtrls, LRes... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.2.1-1, FILE=CONF167, CLAS... |
unit frmGetValidation;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
//Auto Create
DB, cxLookAndFeelPainters, Menus, ExtCtrls, MemDS, DBAccess, Uni, ActnList,
MPlayer, cxMemo, cxTextEdit, StdCtrls, cxButtons, cxControls, cxContainer,
cxEdit,... |
unit SfzParser;
interface
uses
Classes, Contnrs,
SfzParser.SfzOpcodes;
{$SCOPEDENUMS ON}
type
TSfzTokenType = (Unknown, Comment, Group, Region, MultipleOpcodes, Opcode);
// Events
TOpcodeEvent = procedure(Sender : TObject; Opcode : TSfzOpcode; OpcodeValue : string) of object;
TSfzParse... |
unit mi_MapImage;
interface
uses Windows, SysUtils, Classes, DIB, TilesUnit;
type
TTileType = (tt2bitNES, tt4bit, tt4bitMSX, tt8bit);
TMapFormat = (mfSingleByte, mfGBA, mfMSX);
TMResType = (rtMap, rtMapNoHeader, rtTiles, rtPalette, rtBitmap);
TRGB = packed record
R: Byte;
G: Byte;
B: Byte;
end;
TRGBPal =... |
unit Kerning;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Spin, StdCtrls, TntStdCtrls, ComCtrls, TntComCtrls, ExtCtrls, DIB,
ActnList;
type
TKerningForm = class(TForm)
eCharsImage: TImage;
eCharA: TTntEdit;
eCharB: TTntEdit;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.4-7, FILE=ERR58T, C... |
unit uFinancing;
interface
uses
System.Generics.Collections, System.Math,
uIFinancing, uInstallment;
type
TFinancing = class(TInterfacedObject, IFinancing)
private
FCapital: Currency;
FInstallment: TInstallment;
FQuantityInstallments: Integer;
FInterestRate: Currency;
FListInstallments: TLi... |
unit UInformacoes.Comuns.Municipio;
interface
uses
System.generics.collections,
U0000_v3_1,
U0100_v3_1,
U0200_v3_1,
U0300_v3_1;
Type
TInformacoesComunsMunicipio = class
private
FOutrosProdutosServicos: TObjectList<T0300_v3_1>;
FTarifasBancarias: TobjectList<T0200_v3_1>;
FIdentificacao: T0000_v3_1;
... |
unit Lucidity.GuiUtils;
{
A unit to catch assorted GUI related methods that are shared between the Lucidity GUI units.
}
interface
{$WARN SYMBOL_PLATFORM OFF}
uses
SysUtils,
Graphics,
Classes,
XPLAT.Dialogs,
eeTypes,
eeEnumHelper,
Math,
VamKnob,
eeGlobals,
Lucidity.PluginParameters,
Lucidity... |
unit Director;
interface
uses
SysUtils,
Builder;
type
TDirector = class
private
p_Builder : TBuilder;
public
constructor Create(builder:TBuilder);overload;
procedure AfterConstruction;override;
procedure BeforeDestruction;override;
... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit CLIENTE;
interface
type
TCLIENTE = class
private
FCONSUMIDOR_FINAL: Integer;
FCODIGO: Integer;
FSTATUS: Integer;
FLOGRADOURO: string;
FNOME_FANTASIA: string;
FIE: string;
FNUMERO: string;
FTELEFONE: string;
FCELULAR: string;
FCOMPLEMENTO: string;
F... |
unit VamXYPad;
interface
uses
Types, Controls, Classes, Graphics,
RedFox, RedFoxGraphicControl, RedFoxColor,
VamGraphicControl, VamWinControl, VamGuiControlInterfaces;
const
kPuckPadding = 3;
kPuckSize = 20;
type
TVamXYPad = class(TVamWinControl, IXYPadControl)
private
fOnChanged: TNotifyEvent;... |
{ ******************************************************************
Minimization of a function of several variables by the
Newton-Raphson method
****************************************************************** }
unit unewton;
interface
uses
utypes, ulineq, ulinmin, ucompvec, unlfit, umachar, uco... |
unit JavaCode_Generator;
interface
uses
SysUtils, Classes, DBCode_Generator;
type
TJavaCodeGenerator = class(TObject)
Entity: TEntity;
private
function GetFromXML: TStrings;
function GetObjectFromXml: TStrings;
function GetFromXMLList: TStrings;
function GetToXML: TStrings;
... |
{==============================================================================|
| Project : Delphree - Synapse | 002.006.000 |
|==============================================================================|
| Content: SNMP client ... |
unit MVCFrameworkServerTestsU;
interface
uses
TestFramework,
System.Classes,
System.SysUtils,
MVCFramework.Server,
System.Generics.Collections,
MVCFramework;
type
[MVCPath('/')]
TTestAppController = class(TMVCController)
public
[MVCPath('/hello')]
[MVCHTTPMethod([httpGET])]
procedure H... |
{
ShellFunctions provides some wrappers around operating system interaction...
}
unit eeShellFunctions;
interface
// BrowseURL(()
// Source: http://delphi.about.com/cs/adptips2004/a/bltip0504_4.htm
function BrowseURL(const URL:ansistring):boolean;
implementation
uses
Windows, Registry, ShellA... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.4-6, FILE=ERR57T, C... |
/// <exclude />
/// <summary>
/// This unit defines the interfaces for the Provider-Subscriber model
/// </summary>
unit Model.Interf;
interface
uses
Model.IntActions;
type
{$REGION 'This interface is used to pass information between the provider and the subscriber.'}
/// <summary>
/// This... |
Program puzzle;
uses crt;
type matrice = array[1..4, 1..4] of 1..16;
const b: matrice = (( 1, 2, 3, 4),
( 5, 6, 7, 8),
( 9,10,11,12),
(13,14,15,16));
x: array[1..4] of -1..1 = (-1, 0, 1, 0);
y: array[1..4] of -1..1 = (0, 1, 0, -1);
v... |
$PARTIAL_EVAL ON$ { this will really die horribly if PARTIAL_EVAL is off }
MODULE TFTP_HOST;
{
by David Waitzman 2/25/85 for Gregg Lebovitz and CMU-ECE
Knows about host tables and will translate for you from a name to its
Ip address. Also given an ascii Ip address returns the decimal equivelent.
Could be ad... |
unit ImageOnView;
interface
uses
Types, SysUtils, Classes, TypInfo, Graphics, Contnrs, Controls,
Dialogs, ScUtils, GR32, FunLabyUtils, FunLabyCoreConsts,
FunLabyToolsConsts, Generics, GraphicsTools, MapTools;
resourcestring
SDefaultImageOnViewPlugin = 'Plugin d''image sur la vue par défaut';
con... |
unit SpTBXReg;
{==============================================================================
The contents of this file are subject to the SpTBXLib License; you may
not use or distribute this file except in compliance with the
SpTBXLib License.
A copy of the SpTBXLib License may be found in SpTBXLib-LICENSE.tx... |
{
This unit contains methods to calculate coefficients for biquad filters.
}
unit eeBiquadFilters;
interface
procedure CalcBiquad_CriticallyDamped_LowPass(const Freq, SampleRate : double; out B0, B1, B2, A1, A2 : double);
procedure CalcBiquad_Cookbook_LowPass(const Freq, SampleRate : double; out B0, B1,... |
program DjsTemas;
const
MAXDjs=25;
MAXTemasPorDj=35;
MAXTEM=10; {Ahora tiene 10 para cuando probamos no tener que poner los 200 temas, despues hay que cambiarlo}
MAXMIN=10;
MAXSEGS=59;
type
tiDjs=1..MAXDjs;
tiTemasPorDj=1..MAXTemasPorDj;
tiTemas=1..MAXTEM;
tiNomMinSeg=(nombre,minutos,segundos);
tmLista... |
(*-----------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/MPL-1.1... |
unit ZapMQ.Threads;
interface
uses
System.classes, ZapMQ.Message, ZapMQ.Core, ZapMQ.Queue, SyncObjs;
type
TZapMQCleanerThread = class(TThread)
private
FEvent : TEvent;
FStatusMessage : TZapMessageStatus;
FContext : TZapCore;
public
procedure Execute; override;
procedure Sto... |
unit GaussInt;
{$MODE objfpc}{$H+}
// Gaussian integration
// after: Press et al. 1989, "Numerical recipes in Pascal" par 4.5
// (Cambridge: Cambridge University Press)
// implemented by Feike Schieving, University of Utrecht, 2002
// modifications by Roelof Oomen
// -all <real types changed to double
// ... |
program KPM;
uses sysutils;
var
position : integer;
pattern : array[1..4] of char;
text : array[1..5] of char;
next : array[1..4] of integer;
PROCEDURE InitNext(pattern : array of char);
BEGIN
END;
FUNCTION Search(text : array of char; pattern : array of char): integer;
BEGIN (* Search *... |
unit uRPItem;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Grids, DBGrids, StdCtrls, Buttons, DB,BmpRgn, DBClient,
jpeg;
type
TformRPItem = class(TForm)
Imagemain: TImage;
Label1: TLabel;
Label5: TLabel;
Image3: TImage;
sbtnO... |
{******************************************************************
* 项目名称:
* 单元名称:成长之路
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I common.pas}
//本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复
const CurrentTaskID = 1022;
//TASK_TYPE_MAIN 任务类型为主线
//TASK... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://10.46.177.139:8181/traffic/ws/dataStatistics?wsdl
// >Import : http://10.46.177.139:8181/traffic/ws/dataStatistics?... |
unit eeKeyboardHook;
interface
{
This class creates a global key hook. Only one hook is created and is shared between application
instances.
By Shannon Oram
Updated: 12th December 2009
}
{$INCLUDE Defines.inc}
uses
{$IFDEF VER230}
Vcl.Forms,
{$ELSE}
Forms,
{$ENDIF}
W... |
unit PessoaRepository;
interface
uses BasicRepository, PessoaVO, System.SysUtils, DeliveryBairroVO,
System.Generics.Collections;
type
TPessoaRepository = class(TBasicRepository)
class function getPessoaById(IdOfPessoa: Integer): TPessoaVO;
class function postPessoa(Pessoa: TPessoaVO): Boolean;
class fu... |
unit ServerLang;
interface
uses
SysUtils, Classes, Windows, AppResource, ApConst;
function ChineseAsString(Value: string): string;
function InitLibrary: Boolean;
var
HTemp: THandle;
CASProc: function(Value: OleVariant): OleVariant; stdcall;
implementation
{function ChineseAsString(Value: string): string... |
unit ConsumerConfig;
interface
uses
System.JSON, JsonableInterface, Configuration;
type
TConsumerConfig = class(TConfiguration, JSonable)
strict private
const
PORT_KEY = 'port';
BACKEND_IP_KEY = 'data-provider-ip';
BACKEND_PORT_KEY = 'data-provider-port';
SUBSCRIPTION_STATUS_KEY = 'subscripti... |
unit WSMMain;
interface
uses Classes, System.SysUtils, System.Generics.Collections,
WSOCPRoduct, WSProductCommon, WSCommon, WCRestApi, WSPCunionMain, Vcl.Forms;
type
TWSMMain = class(TWSCommon)
private
FWCProductManager: TWCProductManager;
FWSPCunion: TWSPCUnion;
procedure RecLog(Amsg:string; A... |
unit Data_defs;
{$MODE objfpc}{$H+}
// Data structure definitions
// and main model calculation methods
// Copyright (c), 2004-2006, Roelof Oomen
interface
uses
Contnrs,
Uhashtable;
const
// Fractions of total diffuse light in the three sky zones
Frac1 = 0.2;
Frac2 = 0.3;
Frac3 = 0.... |
unit uDbStructure;
interface
uses
System.Classes, System.SysUtils, uThiDB, Uni;
type
TDbStructure = class(TPersistent)
private
FTabNames: TStringList;
protected
constructor Create();
public
destructor Destroy; override;
function GetTabNames(): Boolean;
property TabNames: TStringList rea... |
unit uFRegistrationTemplate;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.UITypes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls,
Vcl.WinXCtrls, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxStyle... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.8.3.5-10, FILE=ERR71... |
unit Model.Validator.Text.Properties;
interface
uses
System.SysUtils,
Vcl.Graphics,
Model.Validator.Interfaces;
type
TValidatorTextProperties = class(TinterfacedObject, IModelValidatorTextProperties)
private
FErroStyleColor: TColor;
protected
FCustomError: string;
FLastError: String;
FOri... |
unit VamAudio.HalfBandAllPassCoefficients;
interface
// NOTE: This unit contains coefficients for polyphase half-band filters.
// The coefficients have been copied from Dave Muon's polyphase filter implementation from www.MusicDsp.org
//
// Useful papers for the theory behind these coefficients are:
//
// "Digital ... |
unit UdtmTimeline;
interface
uses
System.SysUtils, System.Classes, Data.FMTBcd, Datasnap.Provider, Data.SqlExpr,
Data.DB, Datasnap.DBClient, Vcl.ExtCtrls;
type
TDtmTimeline = class(TDataModule)
{$REGION ' ------------ TDtmTimeline = class(TDataModule) ---------------------'}
CDS_SP_IMAGEM_PAST... |
unit UnitCOM;
interface
procedure OpenCOM;
procedure CloseCOM;
function WriteCOM(p:pchar; len:integer): integer;
function ReadCOM(p:pchar; len:integer): integer;
implementation
uses Windows, SysUtils;
const
ConfigStr1 = 'COM1:';
// ConfigStr2 = 'baud=115200 parity=n data=8 stop=1';
var
COMF... |
{**************************************************************************}
{ FILE ERRORS WILL HALT PROGRAM PREMATURELY }
{**************************************************************************}
procedure FileIO;
var
WkIO : integer;
errmsg : string[80];
begi... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.7-4, FILE=DEV017, CLA... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.3-27, FILE=CONF130, CLA... |
unit SelCad;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, VirtualTrees, DB, shForm, StdCtrls, Buttons, ExtCtrls, ProcType;
type
TValueType = (vtNone, vtString, vtPickString, vtNumber, vtPickNumber, vtMemo,
vtDate, vtTime, vtTimeStamp, vtCheck)... |
unit ufrmServico;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UBase, Data.DB, Vcl.Menus, Vcl.Grids,
Vcl.DBGrids, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, uDMServico,
uControllerServico, uModelServico, Vc... |
unit GameSqlServer;
interface
uses
System.Classes, System.SysUtils, System.SyncObjs, Data.DB, ZAbstractRODataset,
ZAbstractDataset, ZDataset, ZAbstractConnection, ZConnection, System.TypInfo,
LogServer;
type
SQLType = (INSERT, DELETE, UPDATE, SELECT);
type
TSQLserver = class
ZConnection: TZConnection;... |
unit Errors;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TErrorForm = class(TForm)
Memo: TMemo;
private
{ Private declarations }
public
Procedure AddString(S: String; ShowForm: Boolean = True);
end;
var
ErrorForm: TError... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.