5 Commits

Author SHA1 Message Date
ea11466362 removed 2024-04-10 12:28:45 +02:00
9e711e2e5c test 2024-04-10 12:18:45 +02:00
40cb9aa5ec testing 2024-04-09 13:51:53 +02:00
b416798143 Add et/psa_tariff 2024-03-21 13:01:06 +01:00
edcd07d09e removed plain text 2024-03-19 16:07:32 +01:00
14 changed files with 383 additions and 35 deletions

View File

@@ -1,17 +1,18 @@
{ {
"title":"DC2C_cash ", "title":"DC2C_cash ",
"project":"DBM Szeged", "project":"Schoenau",
"version":"0.1.30", "version":"15.10.2023 14:55 02.00.06",
"CoinDenom(15..0)":[200,100,50,0,0,0,0,100,200,100,50,20,10,5,0,3], "CoinDenom(15..0)":[0,0,0,0,0,0,0,0,0,255,200,100,50,20,10,5],
"CoinValue(15..0)":[760,380,190,0,0,0,0,100,200,100,50,20,10,5,0,3], "CoinValue(15..0)":[0,0,0,0,0,0,0,0,0,3,200,100,50,20,10,5],
"CoinAccept(15..0)":[1,1,1,0,0,0,0,1,1,1,1,1,1,1,0,1], "CoinAccept(15..0)":[0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0],
"ExchangeRate":360 "ExchangeRate":1,
"TokenChannel":1, "TokenChannel":6,
"BillValues(7..0)":[0,0,0,0,0,0,0,0], "BillValues(15..0)":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
"LocalTaxRate":20, "BillAccept(15..0)":[0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1],
"ForeignTaxRate":19, "LocalTaxRate":19,
"ForeignTaxRate":0,
"Surcharge":0, "Surcharge":0,
"Discount":0, "Discount":0
} }
# 1 #"BillValues(15..0)":[0,0,0,0,0,0,0,0,0,0,0,10000,5000,2000,1000,500],

12
etc/psa_config/DC2C_conf.json Executable file
View File

@@ -0,0 +1,12 @@
{
"title":"DC2C_config",
"project":"Schoenau",
"version":"15.11.2023 00001",
"custNum":332,
"machNum":10,
"borough":1,
"zone":1,
"alias":0,
"location":"PP Königssee"
}

27
etc/psa_config/DC2C_device.json Executable file
View File

@@ -0,0 +1,27 @@
{
"title":"DC2C_device",
"project":"Schoenau",
"Version":"15.11.2023 0012",
"printer":1,
"coinChk":3,
"mifRd":1,
"solarPwr":0,
"modem":0,
"creditCard":1,
"escrow":0,
"RejMotor":0,
"shutter":1,
"billRd":1,
"vaultLock":0,
"autoAlarm":1,
"autoOpen":1,
"AccPrint":1,
"DorPrint":1,
"TokPrint":1,
"CBwarnLev":1600,
"CBerrLev":1900,
"BattWarn":11800,
"BattErr":11200,
"foreign":1,
"refPrint":1
}

View File

@@ -0,0 +1,46 @@
{
"title":"DC2C_pri01",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"styl":"font 10",
"styl":"size 11",
"styl":"align c",
"feed":"margin02",
"feed":"rim02",
"text":"PARKTICKET",
"styl":"size 00",
"feed":"nl",
"text":"Bitte gut sichtbar",
"feed":"nl",
"text":"hinter die Scheibe",
"feed":"nl",
"text":"legen",
"feed":"nl",
"feed":"nl",
"styl":"align l",
"text":"Ihr Kennzeichen: ",
"feed":"nl",
"styl":"size 11",
"vari":"Dynamic01",
"styl":"size 00",
"feed":"nl",
"text":"Parkende: ",
"feed":"nl",
"styl":"size 11",
"vari":"Dynamic04",
"vari":"Dynamic03",
"styl":"size 00",
"feed":"nl"
}

View File

@@ -0,0 +1,31 @@
{
"title":"DC2C_pri02",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"issued":"13.11.2023 01.01",
"text":"Standort: ",
"feed":"nl",
"vari":"location",
"feed":"nl",
"text":"Bezahlt: ",
"styl":"size 11",
"vari":"Dynamic07",
"feed":"nl",
"styl":"size 00",
"text":"Gedruckt am: ",
"vari":"wday deu short",
"vari":"date ge",
"vari":"time long"
}

View File

@@ -0,0 +1,38 @@
{
"title":"DC2C_pri03",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"feed":"nl",
"styl":"size 00",
"text":"Automat: ",
"vari":"manu",
"text":"Gruppe: ",
"vari":"group",
"text":"Zone: ",
"vari":"zone",
"feed":"nl",
"text":"Ort: ",
"vari":"location",
"styl":"align c",
"text":"Schönau am Königssee",
"feed":"nl",
"text":"Ticket-Nr. ",
"vari":"TickCtr",
"feed":"nl",
"text":"Automatentechnik ",
"feed":"nl",
"text":"Baumann GmbH",
"feed":"eject"
}

View File

@@ -0,0 +1,6 @@
{
"title":"DC2C_pri04",
"project":"Schoenau",
"Version":"15.11.2023 01.01",
"text":"";
}

View File

@@ -0,0 +1,46 @@
{
"title":"DC2C_pri05",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"styl":"font 10",
"styl":"size 11",
"styl":"align c",
"feed":"margin02",
"feed":"rim02",
"text":"PARKTICKET",
"styl":"size 00",
"feed":"nl",
"text":"Bitte gut sichtbar",
"feed":"nl",
"text":"hinter die Scheibe",
"feed":"nl",
"text":"legen",
"feed":"nl",
"feed":"nl",
"styl":"align l",
"text":"Ihr Kennzeichen: ",
"feed":"nl",
"styl":"size 11",
"vari":"Dynamic01",
"styl":"size 00",
"feed":"nl",
"text":"Parkende: ",
"feed":"nl",
"styl":"size 11",
"vari":"Dynamic04",
"vari":"Dynamic03",
"styl":"size 00",
"feed":"nl"
}

View File

@@ -0,0 +1,31 @@
{
"title":"DC2C_pri06",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"issued":"13.11.2023 01.01",
"text":"Standort: ",
"feed":"nl",
"vari":"location",
"feed":"nl",
"text":"Bezahlt: ",
"styl":"size 11",
"vari":"Dynamic07",
"feed":"nl",
"styl":"size 00",
"text":"Gedruckt am: ",
"vari":"wday deu short",
"vari":"date ge",
"vari":"time long"
}

View File

@@ -0,0 +1,38 @@
{
"title":"DC2C_pri07",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"feed":"nl",
"styl":"size 00",
"text":"Automat: ",
"vari":"manu",
"text":"Gruppe: ",
"vari":"group",
"text":"Zone: ",
"vari":"zone",
"feed":"nl",
"text":"Ort: ",
"vari":"location",
"styl":"align c",
"text":"Schönau am Königssee",
"feed":"nl",
"text":"Ticket-Nr. ",
"vari":"TickCtr",
"feed":"nl",
"text":"Automatentechnik ",
"feed":"nl",
"text":"Baumann GmbH",
"feed":"eject"
}

View File

@@ -0,0 +1,6 @@
{
"title":"DC2C_pri08",
"project":"Schoenau",
"Version":"15.11.2023 01.01",
"text":"";
}

View File

@@ -0,0 +1,40 @@
{
"title":"DC2C_pri31",
"project":"door close print",
"Version":"15.11.2023 00001",
"styl":"font 08",
"styl":"size 10",
"feed":"margin02",
"feed":"rim02",
"feed":"speed10",
"styl":"size 11",
"feed":"nl",
"text":"Türöffnung um:",
"feed":"nl",
"styl":"size 00",
"vari":"date ge",
"vari":"time long",
"feed":"nl",
"text":"KuNu: ",
"vari":"cunu",
"text":"MaNu: ",
"vari":"manu",
"text":"Ort: ",
"vari":"location",
"text":"Gruppe: ",
"vari":"group",
"text":"Zone: ",
"vari":"zone",
"text":"Name: ",
"vari":"alias",
"feed":"nl",
"text":"**Automatentechnik ",
"feed":"nl",
"text":" Baumann GmbH ***",
"feed":"nl",
"text":" * * * * * * * * * ",
"feed":"nl",
"feed":"eject"
}

View File

@@ -0,0 +1,42 @@
{
"title":"DC2C_pri32",
"project":"refund reciept",
"Version":"15.11.2023 00001",
"styl":"font 08",
"styl":"size 10",
"feed":"margin02",
"feed":"rim02",
"feed":"speed10",
"styl":"size 11",
"text":"Ersatzbeleg",
"feed":"nl",
"styl":"size 00",
"text":"Erstattungsbetrag: ",
"feed":"nl",
"vari":"Dynamic07",
"text":"€",
"feed":"nl",
"text":"KuNu: ",
"vari":"cunu",
"text":"MaNu: ",
"vari":"manu",
"text":"Ort: ",
"vari":"location",
"text":"Gruppe: ",
"vari":"group",
"text":"Zone: ",
"vari":"zone",
"text":"Name: ",
"vari":"alias",
"text":"Am: ",
"vari":"date us",
"text":"Um: ",
"vari":"time long",
"feed":"nl",
"text":" * * * * * * * * ",
"feed":"nl",
"feed":"nl",
"feed":"eject"
}

View File

@@ -2,47 +2,31 @@
"File-Menue": [ "File-Menue": [
{ {
"Name": "Tarif Zone 1", "Name": "Tarif Zone 1",
"File-ID": "customer_999:zg1/zone1" "File-ID": "customer_999/etc/psa_tariff:zg1/zone1"
}, },
{ {
"Name": "Tarif Zone 2", "Name": "Tarif Zone 2",
"File-ID": "customer_999:zg1/zone2" "File-ID": "customer_999/etc/psa_tariff:zg1/zone2"
}, },
{ {
"Name": "Tarif Zone 3", "Name": "Tarif Zone 3",
"File-ID": "customer_999:zg1/zone3" "File-ID": "customer_999/etc/psa_tariff:zg1/zone3"
}, },
{ {
"Name": "Tarif Zone 4", "Name": "Tarif Zone 4",
"File-ID": "customer_999:zg1/zone4" "File-ID": "customer_999/etc/psa_tariff:zg1/zone4"
}, },
{ {
"Name": "Tarif Zone 5", "Name": "Tarif Zone 5",
"File-ID": "customer_999:zg1/zone5" "File-ID": "customer_999/etc/psa_tariff:zg1/zone5"
}, },
{ {
"Name": "Tarif Zone 6", "Name": "Tarif Zone 6",
"File-ID": "customer_999:zg1/zone6" "File-ID": "customer_999/etc/psa_tariff:zg1/zone6"
}, },
{ {
"Name": "Basic Configuration", "Name": "Basic Configuration",
"File-ID": "customer_999:master" "File-ID": "customer_999/etc/psa_tariff:master"
} }
] ]
} }
Was wir dann noch brauchen um Json zureuckgeben zu koennen:
der Speicher muss gross genug sein. Oder man hat eine weitere
Funktion mit der man die Groesse des Jsons abfragen kann, damit
Du in Pascal den Speicher passend bereitstellen kannst.
function GetFile(var FileId; var buffer, size) : cint32; stdcall -> size=0: gibt die Dateigroesse zurueck
function GetFile(var FileId; var buffer, size) : cbool; stdcall -> ize> 0: datei wird vom C-Code in den uebergebenen Speicher kopiert
function SetFile(var FileId; var buffer) : cbool; stdcall
function GetFileMenue(var buffer, size): cint32; stdcall -> size=0: gibt Dateigroesse zurueck
function GetFileMenue(var buffer, size): cbool; stdcall -> size>0: kopiert Datei nach buffer