recreate repo

This commit is contained in:
Gerhard Hoffmann 2023-03-27 16:10:41 +02:00
parent 65efe0c9a9
commit c38e94d289
86 changed files with 644 additions and 0 deletions

34
.githooks/post-merge Executable file

@ -0,0 +1,34 @@
#!/bin/bash -
# FILE="/tmp/post-merge$(date +%FT%H-%M-%S)"
# commit=$(git rev-parse --verify HEAD)
# echo "$commit $(git cat-file commit $commit)" >> /tmp/post-merge
# Redirect output to stderr.
exec 1>&2
if [ -z $IFS ]; then
IFS=$'\n'
fi
GIT_PULL_TMP=/tmp/git_pull
OPKG_CMDS_TMP=/tmp/opkg_commands
rm -f $OPKG_PULL_TMP
rm -f $OPKG_CMDS_TMP
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
if grep -E -q ".*(DC*.json|dc/dc2c.hex)" <<< $fn; then
echo "$fn" >> $GIT_PULL_TMP
fi
if grep -E -q ".*opkg_commands" <<< $fn; then
readarray opkg_commands < <(cat $fn)
for opkg_c in "${opkg_commands[@]}"; do
test -z $opkg_c && continue;
test ! -z $(grep -E "^\s*[#]+.*$" <<< $opkg_c) && continue
echo -n "$opkg_c" | tr -d '\n\r' >> $OPKG_CMDS_TMP 2>&1
echo "" >> $OPKG_CMDS_TMP 2>&1
done
source "$fn"
fi
done

113
etc/ATBQT.ini Normal file

@ -0,0 +1,113 @@
[COMMON]
com_port_name=/dev/ttyS1
com_baud_rate=9600
lang1=de_DE
lang2=en_GB
lang3=fr_FR
lang4=tr_TR
#lang3=fr_FR
#lang4=ja_JP
defaultLanguage=1
#useLanguage=[128+][64+][32+][16]
useLanguage=224
usePayment=192
textfile=/opt/app/ATBQT/text/HMI_Texte.xml
logfile=/var/log/atbqt.log
alternativeLogoFile=/opt/app/ATBQT/logo/logo_betterPark.png
feature_Log=off
feature_TouchFeedback=off
feature_SystemSuspend=off
feature_StartButton=on
feature_selfOOO=off
feature_DBusDisplayControl=on
feature_DBusSuspendControl=off
feature_ShowParkingTime=off
touch_feedback_gpio=121
touch_feedback_on_value=1
touch_feedback_off_value=0
#ooo_mode={useDisk|otherMachine}
ooo_mode=otherMachine
sellTimeout_time=120
LicencePlateExampleString=HOAB123
showInfoButton=false
showHelpButton=false
[PLUGINS]
CalculatePricePlugin=ATB_Soap_CalculatePricePlugin
SimulationPlugin=TouchSimulationPlugin
CCPlugin=TCP_ZVT_CCPlugin
[TCP_ZVT_CCPlugin]
CurrencyCode=EUR
debug=1
IP=192.168.5.242
Port=22000
SSL=0
ZVT=DE
sleep=1
printIntermediateStatus=1
Password=277296
preAuthReservation=2500
[ATB_Soap_CalculatePricePlugin]
#useRFID=yes
#useBarcode=yes
useDebug=true
ignoreSslErrors=true
protocol=https
host=atb-api.nexobility.de
port=443
service=
areaId=1
deviceId=1
Password=12335
UserName=user
useSystemSetting=1
fallbackThreshold=1
connectionTimeout=7
maxOfflineTransactions=1000
[SCREENCONFIG]
sc_31="1,1,0"
sc_33="1,0,1"
sc_3F="1,0,0"
sc_40="1,1,1"
sc_41="1,0,0"
sc_35="0,0,0"
sc_51="1,0,1"
sc_52="1,0,0"
sc_55="1,0,0"
sc_82="1,0,0"
[mmmmmmmmmmmmmmm]
[ERRORCODE_MAPPING]
VOUCHER:PROCESS=0xFA30
VOUCHER:SOAP=0xFA31
VOUCHER:TYPE=FA32
VOUCHER:SERVICE=FA33
VOUCHER:VALIDITY=FA34
120103004=FA35

0
etc/ISMASMgr.ini Normal file

0
etc/SystemControl.ini Normal file

110
etc/atb/ATBQT.ini Normal file

@ -0,0 +1,110 @@
[COMMON]
com_port_name=/dev/ttyS1
com_baud_rate=9600
lang1=de_DE
lang2=en_GB
lang3=fr_FR
lang4=tr_TR
#lang3=fr_FR
#lang4=ja_JP
defaultLanguage=1
#useLanguage=[128+][64+][32+][16]
useLanguage=224
usePayment=192
textfile=/opt/app/ATBQT/text/HMI_Texte.xml
logfile=/var/log/atbqt.log
alternativeLogoFile=/opt/app/ATBQT/logo/logo_betterPark.png
feature_Log=off
feature_TouchFeedback=off
feature_SystemSuspend=off
feature_StartButton=on
feature_selfOOO=off
feature_DBusDisplayControl=on
feature_DBusSuspendControl=off
feature_ShowParkingTime=off
touch_feedback_gpio=121
touch_feedback_on_value=1
touch_feedback_off_value=0
#ooo_mode={useDisk|otherMachine}
ooo_mode=otherMachine
sellTimeout_time=120
LicencePlateExampleString=HOAB123
showInfoButton=false
showHelpButton=false
[PLUGINS]
CalculatePricePlugin=ATB_Soap_CalculatePricePlugin
SimulationPlugin=TouchSimulationPlugin
CCPlugin=TCP_ZVT_CCPlugin
[TCP_ZVT_CCPlugin]
CurrencyCode=EUR
debug=1
IP=192.168.5.242
Port=22000
SSL=0
ZVT=DE
sleep=1
printIntermediateStatus=1
Password=277296
preAuthReservation=2500
[ATB_Soap_CalculatePricePlugin]
#useRFID=yes
#useBarcode=yes
useDebug=true
ignoreSslErrors=true
protocol=https
host=atb-api.nexobility.de
port=443
service=
areaId=1
deviceId=1
Password=12335
UserName=user
useSystemSetting=1
fallbackThreshold=1
connectionTimeout=7
maxOfflineTransactions=1000
[SCREENCONFIG]
sc_31="1,1,0"
sc_33="1,0,1"
sc_3F="1,0,0"
sc_40="1,1,1"
sc_41="1,0,0"
sc_35="0,0,0"
sc_51="1,0,1"
sc_52="1,0,0"
sc_55="1,0,0"
sc_82="1,0,0"
[mmmmmmmmmmmmmmm]
[ERRORCODE_MAPPING]
VOUCHER:PROCESS=0xFA30
VOUCHER:SOAP=0xFA31
VOUCHER:TYPE=FA32
VOUCHER:SERVICE=FA33
VOUCHER:VALIDITY=FA34
120103004=FA35

7
etc/atb/ISMASMgr.ini Normal file

@ -0,0 +1,7 @@
{
"xxx" : "yyyy",
"xxx" : "yyyy",
"xxx" : "yyyy",
"xxx" : "yyyy",
"xxx" : "yyyy"
}

@ -0,0 +1,6 @@
{
"wwwww" : "zzzzzz",
"wwwww" : "zzzzzz",
"wwwww" : "zzzzzz",
"wwwww" : "zzzzzz"
}

4
etc/atb/sysconfig.ini Normal file

@ -0,0 +1,4 @@
{
"aaaaaa" : "bbbbb",
"aaaaaa" : "bbbbb"
}

@ -0,0 +1,16 @@
{
"title":"DC2C_cash ",
"project":"DBM Szeged",
"version":"13.02.2023 12:20 00001",
"localCoinAccept(7..0)":[0,0,0,1,1,1,1,1],
"Name of Currency":"Huf",
"local tax rate":20,
"foreignCoinAccept(15..8)":[0,0,0,0,0,1,1,1],
"CurrencyName":"EUR",
"foreign tax rate":19,
"TokenChannel":3,
"Bills(7..0)":[0,0,0,0,0,0,0,0],
"surcharge":0,
"discount":0,
"":""
}

@ -0,0 +1,13 @@
{
"title":"DC2C_config",
"project":"DBM Szeged",
"version":"13.02.2023 12:20 00001",
"custNum":281,
"machNum":999,
"borough":1,
"zone":1,
"alias":1357,
"location":"92637Weiden/Opf_Bahnhofstraße 65",
"":""
}

@ -0,0 +1,28 @@
{
"title":"DC2C_pri01",
"project":"DBM Szeged",
"version":"13.02.2023 12:20 00001",
"styl":"bold on",
"text":"Parkingticket ",
"styl":"bold off",
"feed":"nl",
"text":"Parkingticket ",
"styl":"under on",
"text":"Parkingticket ",
"styl":"under off",
"feed":"nl",
"text":"Parkingticket ",
"styl":"latin on",
"text":"Parkingticket ",
"styl":"latin off",
"feed":"nl",
"text":"Parkingticket ",
"styl":"font 09",
"text":"Park ",
"styl":"font 16",
"text":"Park ",
"feed":"nl",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri02",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri03",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri04",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri05",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri06",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri07",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri08",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri09",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri10",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri11",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri12",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri13",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri14",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri15",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri16",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri17",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri18",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri19",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri20",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri21",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri22",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri23",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri24",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri25",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri26",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri27",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri28",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri29",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri30",
"version":"27.02.2023 12:20 00001",
"":""
}

@ -0,0 +1,5 @@
{
"title":"DC2C_pri31",
"version":"27.02.2023 12:20 00001",
"":"iiii"
}

@ -0,0 +1,6 @@
{
"title":"DC2C_pri32",
"version":"27.02.2023 12:20 00001",
"":"",
"":"iiii"
}

@ -0,0 +1,13 @@
{
"title":"DC2C_serial",
"setup_master_interface":"",
"project":"DBM Szeged",
"version":"13.02.2023 12:20 00001",
"crcChk":1,
"baudRate":9600,
"data":8,
"parity":"no",
"stop":1,
"":""
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,4 @@
{
}

File diff suppressed because one or more lines are too long

28
etc/psa_update/opkg_commands Executable file

@ -0,0 +1,28 @@
# opkg prefix will be added inside evaluating script
#
# package manipulation commands without package:
# update, upgrade, clean
#
# informational commands without package:
# list, list-installed, list-upgradable
#
# ptu5-atb-apinfo
# ptu5-scripts
# ptu5-atb-apinfo
# atb-plugin-calculateprice-prm
# atb-plugin-cc-tcpzvt
# atbqt
# list-installed
# --force-reinstall install ptu5-atb-apinfo
# --force-reinstall install atbqt
# update
opkg update
opkg --noaction install atbqt
opkg install atbqt
#
#
#

0
etc/sysconfig.ini Normal file

87
opt/app/ATBAPP/ATBQT.ini Normal file

@ -0,0 +1,87 @@
[COMMON]
com_port_name=/dev/ttyS1
com_baud_rate=9600
lang1=hu_HU
lang2=en_GB
lang3=de_DE
lang4=sr
lang5=ro_RO
defaultLanguage=1
showInfoButton=false
showHelpButton=false
CharacterSet="ISO 8859-2"
#useLanguage=[128+][64+][32+][16]
useLanguage=248
#usePayment=[128+][64+][32+][16]
usePayment=96
#useVehicle=[128+][64+][32+][16+][8]
useVehicle=240
#useProduct=[128+][64+][32+][16+][8]
useProduct=240
textfile=/opt/app/ATBQT/text/HMI_Texte.xml
logfile=/var/log/atbqt.log
alternativeLogoFile=
feature_Log=off
feature_TouchFeedback=off
feature_DisplayControl=off
feature_SystemSuspend=off
feature_StartButton=on
feature_selfOOO=off
feature_DBusDisplayControl=on
feature_DBusSuspendControl=on
feature_ShowParkingTime=off
suspend_methode=sysfs
suspend_program=
suspend_time=8
touch_feedback_gpio=121
touch_feedback_on_value=1
touch_feedback_off_value=0
#ooo_mode={useDisk|otherMachine}
ooo_mode=otherMachine
sellTimeout_time=60
showInfoButton=false
showHelpButton=false
useAppStates=1
[SCREENCONFIG]
sc_31="1,1,0"
sc_33="1,0,1"
sc_3F="1,0,0"
sc_40="1,0,1"
sc_41="1,0,1"
sc_35="0,0,0"
sc_51="1,0,1"
sc_52="1,0,0"
sc_53="1,0,0"
[PLUGINS]
CCPlugin=IngenicoISelf_CCPlugin
[IngenicoISelf_CCPlugin]
debug=1
PortName=/dev/ttymxc0
ZVT=DE
sleep=1
sleepExtended=1
Currency=HUF
[TCP_CONTROL]
enable=1
############

@ -0,0 +1 @@
"VERSION":"0.1.0","PROJECT":"szeged","ZONE":1,"INFO":"summer sale","LOADED":"2022-06-02T21:57:29"

@ -0,0 +1,6 @@
{
"" : "",
"" : "",
"" : ""
}

@ -0,0 +1,6 @@
{
"xxx" : "yyyy",
"xxx" : "yyyy",
"xxx" : "yyyy",
"xxx" : "yyyy"
}

@ -0,0 +1 @@
ffff

@ -0,0 +1,3 @@
{
"aaaaaa" : "bbbbb"
}