Compare commits

..

21 Commits

Author SHA1 Message Date
60bff802d3 Fix typo in printer json 2024-12-12 14:11:10 +01:00
bcb4eb149e Change price on printer jsons 2024-12-12 14:05:43 +01:00
a8015c8877 Change prices: 400 -> 500, 800 -> 900 2024-10-14 16:21:15 +02:00
de76a59a5b restore before pulling 2024-02-29 11:26:21 +01:00
32347447f1 Update DC2C_print01.json and DC2C_print05.json (fixed by Thomas) 2024-02-29 11:22:29 +01:00
388ca776e0 Ticket: fix typo 2024-02-28 15:35:50 +01:00
0778dc0434 ATBAPP: update text 2024-02-28 15:35:11 +01:00
8a47e20712 Merge branch 'master' of git.mimbach49.de:GerhardHoffmann/customer_744 2024-02-28 14:28:03 +01:00
a19c739897 Merge branch 'zg1/zone1' 2024-02-28 14:27:26 +01:00
f9e1be4d22 ATBAPP: states: ask on overpayment 2024-02-28 14:26:32 +01:00
6010bdda20 Merge branch 'zg1/zone1' of git.mimbach49.de:GerhardHoffmann/customer_744 into zg1/zone1 2024-02-28 14:20:32 +01:00
2be41fadcc Sync with zg1/zone1 2024-02-28 13:45:47 +01:00
ef951b848c Update files as changed by thomas 2024-02-28 13:45:03 +01:00
b18f3c56b9 sync with master 2024-02-28 13:27:45 +01:00
8d6dcd4a5a Merge branch 'master' of https://git.mimbach49.de/GerhardHoffmann/customer_744 2024-02-28 13:26:21 +01:00
7a6a36e696 Add DC config files. 2024-02-28 13:25:28 +01:00
1cd194c119 Merge branch 'master' into zg1/zone1 2024-02-28 09:41:04 +01:00
b669fa8157 Add "Product" entry into tariff file. 2024-02-22 16:22:35 +01:00
99ae151d62 set daily card price for TEEN and ADULT 2024-02-22 14:03:49 +01:00
949b915137 Sync with version in master. 2024-01-31 11:47:12 +01:00
1b871caef7 2nd draft of tariff file 2023-12-12 10:11:58 +01:00
17 changed files with 353 additions and 34 deletions

View File

@@ -48,7 +48,7 @@
<APP_STATE name="CASH_PAYMENT_INPUT"> <APP_STATE name="CASH_PAYMENT_INPUT">
<ENTRY_TASK name="REQUEST_PARKING_ENDTIME"/> <ENTRY_TASK name="REQUEST_PARKING_ENDTIME"/>
<EVENT name="RECEIVED_CASH_INPUT" resultingState="CASH_PAYMENT_INPUT"/> <EVENT name="RECEIVED_CASH_INPUT" resultingState="CASH_PAYMENT_INPUT"/>
<EVENT name="RECEIVED_CASH_INPUT_OVERPAYED" resultingState="CASH_OVERPAYED"/> <EVENT name="RECEIVED_CASH_INPUT_OVERPAYED" resultingState="CASH_OVERPAYED_ASK"/>
<EVENT name="RECEIVED_CASH_INPUT_FINISHED" resultingState="PRINT_TICKET_CASH"/> <EVENT name="RECEIVED_CASH_INPUT_FINISHED" resultingState="PRINT_TICKET_CASH"/>
<EVENT name="RECEIVED_CASH_INPUT_ERROR" resultingState="CASH_PAYMENT_ERROR"/> <EVENT name="RECEIVED_CASH_INPUT_ERROR" resultingState="CASH_PAYMENT_ERROR"/>
<EVENT name="BUTTON_CANCEL" resultingState="CASH_PAYMENT_ABORT"/> <EVENT name="BUTTON_CANCEL" resultingState="CASH_PAYMENT_ABORT"/>
@@ -61,13 +61,22 @@
<EVENT name="TIMEOUT" resultingState="IDLE"/> <EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="CASH_PAYMENT_FAILED" note="screennumber 0x39"/> <SCREEN name="CASH_PAYMENT_FAILED" note="screennumber 0x39"/>
</APP_STATE> </APP_STATE>
<APP_STATE name="CASH_OVERPAYED">
<APP_STATE name="CASH_OVERPAYED_ASK">
<ENTRY_TASK name="PAYMENT_ACCEPTED"/>
<EVENT name="BUTTON_YES" resultingState="PRINT_TICKET_CASH"/>
<EVENT name="BUTTON_NO" resultingState="CASH_OVERPAYED_ABORT"/>
<SCREEN name="CASH_OVERPAYED" note="screennumber 0x3c"/>
</APP_STATE>
<APP_STATE name="CASH_OVERPAYED_ABORT">
<ENTRY_TASK name="REQUEST_ISAMAS_FAIL_TRANSACTION"/> <ENTRY_TASK name="REQUEST_ISAMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/> <ENTRY_TASK name="CASH_ABORT"/>
<ENTRY_TASK name="TIMER" timeout="3000"/> <ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/> <EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="CASH_CHANGE_OVERPAID" note="screennumber 0x8a"/> <SCREEN name="CASH_CHANGE_OVERPAID" note="screennumber 0x8a"/>
</APP_STATE> </APP_STATE>
<APP_STATE name="CASH_PAYMENT_ABORT"> <APP_STATE name="CASH_PAYMENT_ABORT">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/> <ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/> <ENTRY_TASK name="CASH_ABORT"/>

View File

@@ -858,11 +858,11 @@
</Screen> </Screen>
<Screen name="Receipt" screennr="0x3c"> <Screen name="Receipt" screennr="0x3c">
<Text textnr="0x30"> <Text textnr="0x30">
<de_DE>Parkzeitende:</de_DE> <de_DE> </de_DE>
<de_AT>Parkzeitende:</de_AT> <de_AT> </de_AT>
<en_GB>Park. time ends:</en_GB> <en_GB> </en_GB>
<fr_FR>Heure de fin:</fr_FR> <fr_FR> </fr_FR>
<it_IT>Fine sosta:</it_IT> <it_IT> </it_IT>
</Text> </Text>
<Text textnr="0x31"> <Text textnr="0x31">
<de_AT> </de_AT> <de_AT> </de_AT>
@@ -886,8 +886,8 @@
<it_IT> </it_IT> <it_IT> </it_IT>
</Text> </Text>
<Text textnr="0x34"> <Text textnr="0x34">
<de_DE>Parkschein anfordern?</de_DE> <de_DE>Ticket anfordern?</de_DE>
<de_AT>Parkschein anfordern?</de_AT> <de_AT>Ticket anfordern?</de_AT>
<en_GB>Request Ticket?</en_GB> <en_GB>Request Ticket?</en_GB>
<fr_FR>Demande billet?</fr_FR> <fr_FR>Demande billet?</fr_FR>
<it_IT>Richiesta biglietto.</it_IT> <it_IT>Richiesta biglietto.</it_IT>
@@ -965,10 +965,10 @@
<it_IT> </it_IT> <it_IT> </it_IT>
</Text> </Text>
<Text textnr="0x34"> <Text textnr="0x34">
<de_AT>Parkschein anfordern?</de_AT> <de_AT>Ticket anfordern?</de_AT>
<en_GB>Request Ticket?</en_GB> <en_GB>Request Ticket?</en_GB>
<fr_FR>Demande billet?</fr_FR> <fr_FR>Demande billet?</fr_FR>
<de_DE>Parkschein anfordern?</de_DE> <de_DE>Ticket anfordern?</de_DE>
<it_IT> </it_IT> <it_IT> </it_IT>
</Text> </Text>
<Text textnr="0x35"> <Text textnr="0x35">
@@ -1409,11 +1409,11 @@
<it_IT>Selezioni il tipo di pagamento</it_IT> <it_IT>Selezioni il tipo di pagamento</it_IT>
</Text> </Text>
<Text textnr="0x31"> <Text textnr="0x31">
<de_AT>Parkende: </de_AT> <de_AT> </de_AT>
<en_GB>End of Parking time: </en_GB> <en_GB> </en_GB>
<fr_FR>Fin du temps: </fr_FR> <fr_FR> </fr_FR>
<de_DE>Parkende: </de_DE> <de_DE> </de_DE>
<it_IT>Fine sosta: </it_IT> <it_IT> </it_IT>
</Text> </Text>
<Text textnr="0x32"> <Text textnr="0x32">
<de_AT> </de_AT> <de_AT> </de_AT>
@@ -1488,11 +1488,11 @@
<it_IT>Prego inserire monete:</it_IT> <it_IT>Prego inserire monete:</it_IT>
</Text> </Text>
<Text textnr="0x31"> <Text textnr="0x31">
<de_AT>Parkende: </de_AT> <de_AT> </de_AT>
<en_GB>End of Parking time: </en_GB> <en_GB> </en_GB>
<fr_FR>Fin du temps: </fr_FR> <fr_FR> </fr_FR>
<de_DE>Parkende: </de_DE> <de_DE> </de_DE>
<it_IT>Fine sosta: </it_IT> <it_IT> </it_IT>
</Text> </Text>
<Text textnr="0x32"> <Text textnr="0x32">
<de_AT> </de_AT> <de_AT> </de_AT>
@@ -1644,11 +1644,11 @@
<it_IT>Prego inserire monete:</it_IT> <it_IT>Prego inserire monete:</it_IT>
</Text> </Text>
<Text textnr="0x31"> <Text textnr="0x31">
<de_AT>Parkende: </de_AT> <de_AT> </de_AT>
<en_GB>End of Parking time: </en_GB> <en_GB> </en_GB>
<fr_FR>Fin du temps: </fr_FR> <fr_FR> </fr_FR>
<de_DE>Parkende: </de_DE> <de_DE> </de_DE>
<it_IT>Fine sosta: </it_IT> <it_IT> </it_IT>
</Text> </Text>
<Text textnr="0x32"> <Text textnr="0x32">
<de_AT> </de_AT> <de_AT> </de_AT>

18
etc/psa_config/DC2C_cash.json Executable file
View File

@@ -0,0 +1,18 @@
"title":"DC2C_cash ",
"project":"NVT NAZ",
"Version":"28.02.2024 00103",
"CoinDenom(15..0)":[200,100,50,20,10,5,0,0,0,0,0,0,0,0,0,1],
"CoinValue(15..0)":[200,100,50,20,10,5,0,0,0,0,0,0,0,0,0,3],
"CoinAccept(15..0)":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],
"ExchangeRate":1,
"TokenChannel":6,
"BillValues(15..0)":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
"BillAccept(15..0)":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
"LocalTaxRate":19,
"ForeignTaxRate":0,
"Surcharge":0,
"Discount":0
}

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

@@ -0,0 +1,12 @@
{
"title":"DC2C_config",
"project":"NVT NAZ",
"version":"28.02.2024 00001",
"custNum":744,
"machNum":1,
"borough":1,
"zone":1,
"alias":0,
"location":"NAZ Parkplatz"
}

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

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

View File

@@ -0,0 +1,51 @@
{
"title":"DC2C_pri01",
"project":"NVT NAZ",
"Version":"28.02.2024 00103",
"styl":"font 08",
"feed":"margin05",
"feed":"rim02",
"styl":"size 00",
"graf":"logo1",
"styl":"font 10",
"styl":"size 11",
"styl":"align c",
"feed":"margin02",
"feed":"rim02",
"text":"Nordisches",
"feed":"nl",
"text":"Ausbildungs",
"feed":"nl",
"text":"-zentrum",
"feed":"nl",
"feed":"nl",
"text":"Eintritt",
"feed":"nl",
"text":"Erwachsener",
"feed":"nl",
"feed":"nl",
"styl":"size 10",
"text":"bezaht: 9,-€",
"feed":"nl",
"text":"am: ",
"vari":"wday deu short",
"text":"den ",
"vari":"date ge",
"feed":"nl",
"text":"Ticket Nr. ",
"vari":"TickCtr",
"feed":"nl",
"feed":"eject"
}

View File

@@ -0,0 +1,21 @@
{
"title":"DC2C_pri02",
"project":"NVT NAZ",
"Version":"28.02.2024 00103",
"issued":"22.01.2024 01.01",
"feed":"nl",
}

View File

@@ -0,0 +1,18 @@
{
"title":"DC2C_pri03",
"project":"NVT NAZ",
"Version":"28.02.2024 00103",
"text":"";
}

View File

@@ -0,0 +1,6 @@
{
"title":"DC2C_pri04",
"project":"NVT NAZ",
"Version":"28.02.2024 00103",
"text":"";
}

View File

@@ -0,0 +1,51 @@
{
"title":"DC2C_pri05",
"project":"NVT NAZ",
"Version":"28.02.2024 00103",
"styl":"font 08",
"feed":"margin05",
"feed":"rim02",
"styl":"size 00",
"graf":"logo1",
"styl":"font 10",
"styl":"size 11",
"styl":"align c",
"feed":"margin02",
"feed":"rim02",
"text":"Nordisches",
"feed":"nl",
"text":"Ausbildungs",
"feed":"nl",
"text":"-zentrum",
"feed":"nl",
"feed":"nl",
"text":"Eintritt",
"feed":"nl",
"text":"Jugendlich",
"feed":"nl",
"feed":"nl",
"styl":"size 10",
"text":"bezahlt: 5,-€",
"feed":"nl",
"text":"am: ",
"vari":"wday deu short",
"text":"den ",
"vari":"date ge",
"feed":"nl",
"text":"Ticket Nr. ",
"vari":"TickCtr",
"feed":"nl",
"feed":"eject"
}

View File

@@ -0,0 +1,18 @@
{
"title":"DC2C_pri06",
"project":"NVT NAZ",
"Version":"28.02.2024 00103",
"text":""
}

View File

@@ -0,0 +1,18 @@
{
"title":"DC2C_pri07",
"project":"NVT NAZ",
"Version":"28.02.2024 00103",
"text":""
}

View File

@@ -0,0 +1,6 @@
{
"title":"DC2C_pri08",
"project":"NVT NAZ",
"Version":"28.02.2024 00103",
"text":""
}

View File

@@ -0,0 +1,21 @@
{
"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",
"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

@@ -0,0 +1 @@
Ticket price is also fixed in printer jsons!

View File

@@ -90,9 +90,9 @@
"pop_price_night": 0, "pop_price_night": 0,
"pop_min_time": 1, "pop_min_time": 1,
"pop_max_time": 720, "pop_max_time": 720,
"pop_min_price": 400, "pop_min_price": 500,
"pop_carry_over": 0, "pop_carry_over": 0,
"pop_daily_card_price": 400, "pop_daily_card_price": 500,
"pop_business_hours": 128 "pop_business_hours": 128
}, },
{ {
@@ -104,9 +104,9 @@
"pop_price_night": 0, "pop_price_night": 0,
"pop_min_time": 1, "pop_min_time": 1,
"pop_max_time": 720, "pop_max_time": 720,
"pop_min_price": 800, "pop_min_price": 900,
"pop_carry_over": 0, "pop_carry_over": 0,
"pop_daily_card_price": 800, "pop_daily_card_price": 900,
"pop_business_hours": 128 "pop_business_hours": 128
} }
], ],
@@ -140,7 +140,7 @@
}, },
{ {
"tariff_product_id": 4, "tariff_product_id": 4,
"tariff_product_price": 800, "tariff_product_price": 900,
"tariff_product_name": "DAY_TICKET_ADULT", "tariff_product_name": "DAY_TICKET_ADULT",
"tariff_product_start": "08:00:00", "tariff_product_start": "08:00:00",
"tariff_product_end": "20:00:00", "tariff_product_end": "20:00:00",
@@ -149,7 +149,7 @@
}, },
{ {
"tariff_product_id": 5, "tariff_product_id": 5,
"tariff_product_price": 400, "tariff_product_price": 500,
"tariff_product_name": "DAY_TICKET_TEEN", "tariff_product_name": "DAY_TICKET_TEEN",
"tariff_product_start": "08:00:00", "tariff_product_start": "08:00:00",
"tariff_product_end": "20:00:00", "tariff_product_end": "20:00:00",
@@ -179,12 +179,12 @@
{ {
"pra_payment_option_id": 1049, "pra_payment_option_id": 1049,
"pra_payment_unit_id": 1, "pra_payment_unit_id": 1,
"pra_price": 400 "pra_price": 500
}, },
{ {
"pra_payment_option_id": 1050, "pra_payment_option_id": 1050,
"pra_payment_unit_id": 2, "pra_payment_unit_id": 2,
"pra_price": 800 "pra_price": 900
} }
], ],
"DailyTicket": [ "DailyTicket": [