Compare commits

..

18 Commits

58 changed files with 287 additions and 1123 deletions

View File

@ -1,62 +0,0 @@
#!/bin/bash -
# echo "POST-CHECKOUT"
# echo "PREV-HEAD=$1"
# echo "CURR-HEAD=$2"
# echo "BRANCH-CHECKOUT=$3"
readonly GIT_UPDATE_LOG="/opt/app/tools/atbupdate/update_log.csv"
readonly OPKG_COMMANDS_FILE="./etc/psa_update/opkg_commands"
write_log_file () {
# repo: customer_281
# readonly repo=$(basename $(git rev-parse --show-toplevel))
# branch: customer_281:HEAD->zg1/zone1,origin/zg1/zone1
# readonly branch=$(git log --graph --all --decorate $2 | head -n 1 | sed -E -e 's/(.*?)\((.*)\)/\2/g' | sed -E -e s/[[:space:]]//g)
# readonly line="$repo:$branch"
readonly now="$(date +%Y-%m-%dT%T)"
# echo "DOWNLOAD, /etc/dc/dc2c.bin, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print01.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print02.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print03.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print04.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print05.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print06.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print07.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print08.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print09.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print10.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print11.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print12.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print13.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print14.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print15.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print16.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print17.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print18.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print19.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print20.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print29.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_print32.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_device.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_cash.json, $now, N/A" >> $GIT_UPDATE_LOG
# echo "DOWNLOAD, /etc/psa_config/DC2C_conf.json, $now, N/A" >> $GIT_UPDATE_LOG
if [ -f "$OPKG_COMMANDS_FILE" ]; then
if grep -qE . "${OPKG_COMMANDS_FILE}"; then
# make sure the file is empty
echo -n "" > $GIT_UPDATE_LOG
readarray opkg_commands < <(cat $OPKG_COMMANDS_FILE)
for opkg_c in "${opkg_commands[@]}"; do
# check for lines longer than 'opkg '
if [ "${#opkg_c}" -gt 4 ]; then
# comment: spaces, at least one '#'
grep -qE '^[[:space:]]*#+.*$' <<< "$opkg_c" && continue
echo -n "EXECUTE, $opkg_c, $now, N/A" | tr -d '\n\r' >> $GIT_UPDATE_LOG 2>&1
echo "" >> $GIT_UPDATE_LOG 2>&1
fi
done
fi
fi
}
write_log_file

View File

@ -1,56 +0,0 @@
#!/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_UPDATE_LOG=/opt/app/tools/atbupdate/update_log.csv
#TODO: use in UpdateController
get_blob () { # get the blob of the file(name) passed as $1
# note: this can be used for any file in the filesystem
echo $(git hash-object $1)
}
get_commit_for_blob () {
# search for the blob in all commits for the file(name) $1
echo $(git log --all --pretty=format:%H -- $2 |
xargs -I{} bash -c "git ls-tree {} -- $2 |
grep -q $1 && echo -n {} && head -n 1")
}
write_log_file () {
local now=$(date +"%Y-%m-%dT%T")
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
if grep -qE "DC2C.*json" <<< $fn; then
# called in repository: $fn is e.g. etc/psa_tariff/tariff01.json
# add '/' prefix
echo "DOWNLOAD, $(echo $fn | awk '{ printf "/"$0 }'), $now, N/A" >> "$GIT_UPDATE_LOG"
elif grep -qE "dc2c.bin" <<< $fn; then
# download the file referenced by the link dc2c.bin
echo "DOWNLOAD, "/etc/dc/dc2c.bin", $now, N/A" >> "$GIT_UPDATE_LOG"
elif grep -qE ".*opkg_commands" <<< $fn; then
readarray opkg_commands < <(cat $fn)
for opkg_c in "${opkg_commands[@]}"; do
# check for lines longer than 'opkg '
if [ "${#opkg_c}" -gt 4 ]; then
# comment: spaces, at least one '#'
grep -qE '^[[:space:]]*#+.*$' <<< "$opkg_c" && continue
echo -n "EXECUTE, $opkg_c, $now, N/A" | tr -d '\n\r' >> $GIT_UPDATE_LOG 2>&1
echo "" >> $GIT_UPDATE_LOG 2>&1
fi
done
fi
done
}
write_log_file

View File

@ -1,61 +0,0 @@
#!/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 $GIT_PULL_TMP
rm -f $OPKG_CMDS_TMP
get_blob () { # get the blob of the file(name) passed as $1
# note: this can be used for any file in the filesystem
echo $(git hash-object $1)
}
get_commit_for_blob () {
blob=$(get_blob $1)
if [ ! -z $blob ]; then
# search for the blob in all commits for the file(name) $1
echo $(echo $(git log --all --pretty=format:%H -- $1) |
xargs -I{} bash -c "git ls-tree {} -- $1 |
grep -q $blob && echo {}")
fi
}
changed_file_names () {
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
CHANGED_FILE_NAMES+=($fn)
done
}
# write_git
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
if grep -E -q "(DC.*json|dc.*hex|dc.*bin|tariff.*json)" <<< $fn; then
fsize=0
if [[ -f "$fn" ]]; then
fsize=$(ls -l "$fn" | awk '{ print $5 }')
fi
echo "$fn $fsize" >> $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

27
.gitignore vendored
View File

@ -1,27 +0,0 @@
# First, ignore everything
*
# Now, whitelist anything that's a directory
!*/
# And all the file types you're interested in
!.gitignore
!.githooks/post-merge
!.githooks/post-checkout
!**/.gitignore
!**/.githooks/post-merge
!**/.githooks/post-checkout
## Except
!etc/atb/*
!etc/psa_config/*
!etc/psa_update/*
!etc/psa_tariff/*
!etc/dc/*.hex
!etc/dc/*.bin
!*/etc/*.ini
!*/etc/atb/*
!*/etc/psa_config/*
!*/etc/psa_update/*
!*/etc/psa_tariff/*
!*/etc/dc/*.hex
!*/etc/dc/*.bin

4
ChangeLog Normal file
View File

@ -0,0 +1,4 @@
Wed 30 Aug 2023 10:37:28 AM CEST Version 0.0.1: Test (1)
Wed 30 Aug 2023 10:45:08 AM CEST Version 0.0.2: Test (2)
Wed 30 Aug 2023 11:24:51 AM CEST Version 0.0.3: Test (3)
Wed 30 Aug 2023 11:29:44 AM CEST Version 0.0.4: Test (4)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +0,0 @@
dc2c.04.36.bin

View File

View File

View File

25
etc/psa_config/DC2C_cash.json Normal file → Executable file
View File

@ -1,17 +1,18 @@
{
"title":"DC2C_cash ",
"project":"DBM Szeged",
"version":"0.0.5",
"CoinDenom(15..0)":[200,100,50,0,0,0,0,100,200,100,50,20,10,5,0,3],
"CoinValue(15..0)":[760,380,190,0,0,0,0,100,200,100,50,20,10,5,0,3],
"CoinAccept(15..0)":[1,1,1,0,0,0,0,1,1,1,1,1,1,1,0,1],
"ExchangeRate":378
"TokenChannel":1,
"BillValues(7..0)":[0,0,0,0,0,0,0,0],
"LocalTaxRate":20,
"ForeignTaxRate":19,
"project":"Schoenau",
"version":"15.10.2023 14:55 02.00.06",
"CoinDenom(15..0)":[0,0,0,0,0,0,0,0,0,255,200,100,50,20,10,5],
"CoinValue(15..0)":[0,0,0,0,0,0,0,0,0,3,200,100,50,20,10,5],
"CoinAccept(15..0)":[0,0,0,0,0,0,0,0,0,0,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,1,1,1],
"LocalTaxRate":19,
"ForeignTaxRate":0,
"Surcharge":0,
"Discount":0,
"Discount":0
}
#"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 Normal file → Executable file
View File

@ -1,12 +1,12 @@
{
"title":"DC2C_config",
"project":"DBM Szeged",
"version":"0.0.1",
"custNum":281,
"machNum":997,
"project":"Schoenau",
"version":"15.11.2023 00001",
"custNum":332,
"machNum":10,
"borough":1,
"zone":1,
"alias":997,
"location":"ATB Thomas' office"
"alias":0,
"location":"PP Königssee"
}

View File

@ -0,0 +1,27 @@
{
"title":"DC2C_device",
"project":"Schoenau",
"Version":"15.11.2023 00102",
"printer":1,
"coinChk":3,
"mifRd":1,
"solarPwr":1,
"modem":1,
"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":0
}

26
etc/psa_config/DC2C_device.json Normal file → Executable file
View File

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

49
etc/psa_config/DC2C_print01.json Normal file → Executable file
View File

@ -1,41 +1,46 @@
{
"title":"DC2C_pri01",
"styl":"font 08",
"styl":"size 10",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"styl":"font 10",
"styl":"size 11",
"styl":"align c",
"feed":"margin02",
"feed":"rim02",
"text":"PARKOLÓJEGY",
"text":"PARKTICKET",
"styl":"size 00",
"feed":"nl",
"text":"Kérjük az elsö szélvédö",
"text":"Bitte gut sichtbar",
"feed":"nl",
"text":"mögé jól láthatóan",
"text":"hinter die Scheibe",
"feed":"nl",
"text":"elhelyezni!",
"feed":"nl",
"text":"A PARKOLÓ NEM ÕRZÖTT",
"feed":"nl",
"text":"Please place it clearly visible",
"feed":"nl",
"text":"behind the",
"text":" front windshield!",
"text":"legen",
"feed":"nl",
"feed":"nl",
"text":"Rendszám: ",
"styl":"align l",
"text":"Ihr Kennzeichen: ",
"feed":"nl",
"styl":"size 11",
"vari":"Dynamic01",
"styl":"size 00",
"feed":"nl",
"text":"Parkolási idõ vége:",
"text":"Parkende: ",
"feed":"nl",
"styl":"size 01",
"styl":"size 11",
"vari":"Dynamic04",
"vari":"Dynamic03",
"styl":"size 00",
"feed":"nl",
"text":"Parkolás helye: ",
"feed":"nl",
"vari":"location",
"feed":"nl",
"feed":"nl",
"feed":"nl"
}

55
etc/psa_config/DC2C_print02.json Normal file → Executable file
View File

@ -1,36 +1,31 @@
{
"title":"DC2C_pri02",
"text":"Összeg: ",
"styl":"size 01",
"vari":"Dynamic02",
"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",
"feed":"nl",
"text":"Kiadás időpontja:",
"feed":"nl",
"vari":"date us",
"vari":"time short",
"feed":"nl",
"text":"Automata száma: ",
"vari":"manu",
"text":"Park.jegy sorsz.: ",
"vari":"TickCtr",
"feed":"nl",
"text":"Szegedi Közlekedési Kft",
"feed":"nl",
"text":"6720 Szeged ",
"feed":"nl",
"text":"Zrínyi utca 4-8",
"feed":"nl",
"text":"Adósz: 11092612-2-06",
"feed":"nl",
"text":"A jegy ára az ÁFA-t",
"feed":"nl",
"text":" tartalmazza!",
"feed":"nl",
"text":"Üf. szolg nyitvatartás:",
"feed":"nl",
"feed":"nl",
"feed":"nl",
"text":"Gedruckt am: ",
"vari":"wday deu short",
"vari":"date ge",
"vari":"time long"
}

40
etc/psa_config/DC2C_print03.json Normal file → Executable file
View File

@ -1,22 +1,38 @@
{
"title":"DC2C_pri03",
"project":"DBM Szeged park_coins",
"issued":"13.04.2023 01.01",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"feed":"nl",
"styl":"size 00",
"text":"H - P: 7:45 - 17:00",
"text":"Automat: ",
"vari":"manu",
"text":"Gruppe: ",
"vari":"group",
"text":"Zone: ",
"vari":"zone",
"feed":"nl",
"text":"Tel: (80) 820-500",
"text":"Ort: ",
"vari":"location",
"styl":"align c",
"text":"Schönau am Königssee",
"feed":"nl",
"text":"Parkoljon egy érintéssel. ",
"text":"Ticket-Nr. ",
"vari":"TickCtr",
"feed":"nl",
"text":"Használja bankkártyáját ",
"text":"Automatentechnik ",
"feed":"nl",
"text":" automatáinknál is!",
"feed":"nl",
"feed":"nl",
"feed":"nl",
"feed":"eject",
"text":"Baumann GmbH",
"feed":"eject"
}

11
etc/psa_config/DC2C_print04.json Normal file → Executable file
View File

@ -1,9 +1,6 @@
{
"title":"DC2C_pri04",
"project":"empty template",
"issued":"09.06.2023 01.01",
"styl":"size 00"
}
"project":"Schoenau",
"Version":"15.11.2023 01.01",
"text":"";
}

49
etc/psa_config/DC2C_print05.json Normal file → Executable file
View File

@ -1,41 +1,46 @@
{
"title":"DC2C_pri05",
"styl":"font 08",
"styl":"size 10",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"styl":"font 10",
"styl":"size 11",
"styl":"align c",
"feed":"margin02",
"feed":"rim02",
"text":"PARKOLÓJEGY",
"text":"PARKTICKET",
"styl":"size 00",
"feed":"nl",
"text":"Kérjük az elsö szélvédö",
"text":"Bitte gut sichtbar",
"feed":"nl",
"text":"mögé jól láthatóan",
"text":"hinter die Scheibe",
"feed":"nl",
"text":"elhelyezni!",
"feed":"nl",
"text":"A PARKOLÓ NEM ÕRZÖTT",
"feed":"nl",
"text":"Please place it clearly visible",
"feed":"nl",
"text":"behind the",
"text":" front windshield!",
"text":"legen",
"feed":"nl",
"feed":"nl",
"text":"Rendszám: ",
"styl":"align l",
"text":"Ihr Kennzeichen: ",
"feed":"nl",
"styl":"size 11",
"vari":"Dynamic01",
"styl":"size 00",
"feed":"nl",
"text":"Parkolási idõ vége:",
"text":"Parkende: ",
"feed":"nl",
"styl":"size 01",
"styl":"size 11",
"vari":"Dynamic04",
"vari":"Dynamic03",
"styl":"size 00",
"feed":"nl",
"text":"Parkolás helye: ",
"feed":"nl",
"vari":"location",
"feed":"nl",
"feed":"nl",
"feed":"nl"
}

55
etc/psa_config/DC2C_print06.json Normal file → Executable file
View File

@ -1,36 +1,31 @@
{
"title":"DC2C_pri06",
"text":"Összeg: ",
"styl":"size 01",
"vari":"Dynamic02",
"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",
"feed":"nl",
"text":"Kiadás időpontja:",
"feed":"nl",
"vari":"date us",
"vari":"time short",
"feed":"nl",
"text":"Automata száma: ",
"vari":"manu",
"text":"Park.jegy sorsz.: ",
"vari":"TickCtr",
"feed":"nl",
"text":"Szegedi Közlekedési Kft",
"feed":"nl",
"text":"6720 Szeged ",
"feed":"nl",
"text":"Zrínyi utca 4-8",
"feed":"nl",
"text":"Adósz: 11092612-2-06",
"feed":"nl",
"text":"A jegy ára az ÁFA-t",
"feed":"nl",
"text":" tartalmazza!",
"feed":"nl",
"text":"Üf. szolg nyitvatartás:",
"feed":"nl",
"feed":"nl",
"feed":"nl",
"text":"Gedruckt am: ",
"vari":"wday deu short",
"vari":"date ge",
"vari":"time long"
}

40
etc/psa_config/DC2C_print07.json Normal file → Executable file
View File

@ -1,22 +1,38 @@
{
"title":"DC2C_pri07",
"project":"DBM Szeged",
"issued":"13.04.2023 01.01",
"project":"Schoenau",
"Version":"15.11.2023 00001",
"feed":"nl",
"styl":"size 00",
"text":"H - P: 7:45 - 17:00",
"text":"Automat: ",
"vari":"manu",
"text":"Gruppe: ",
"vari":"group",
"text":"Zone: ",
"vari":"zone",
"feed":"nl",
"text":"Tel: (80) 820-500",
"text":"Ort: ",
"vari":"location",
"styl":"align c",
"text":"Schönau am Königssee",
"feed":"nl",
"text":"Parkoljon egy érintéssel. ",
"text":"Ticket-Nr. ",
"vari":"TickCtr",
"feed":"nl",
"text":"Használja bankkártyáját ",
"text":"Automatentechnik ",
"feed":"nl",
"text":" automatáinknál is!",
"feed":"nl",
"feed":"nl",
"feed":"nl",
"feed":"eject",
"text":"Baumann GmbH",
"feed":"eject"
}

10
etc/psa_config/DC2C_print08.json Normal file → Executable file
View File

@ -1,8 +1,6 @@
{
"title":"DC2C_pri08",
"project":"empty template",
"issued":"09.06.2023 01.01",
"styl":"size 00"
}
"project":"Schoenau",
"Version":"15.11.2023 01.01",
"text":"";
}

View File

@ -1,41 +0,0 @@
{
"title":"DC2C_pri09",
"styl":"font 08",
"styl":"size 10",
"feed":"margin02",
"feed":"rim02",
"text":"PARKOLÓJEGY",
"styl":"size 00",
"feed":"nl",
"text":"Kérjük az elsö szélvédö",
"feed":"nl",
"text":"mögé jól láthatóan",
"feed":"nl",
"text":"elhelyezni!",
"feed":"nl",
"text":"A PARKOLÓ NEM ÕRZÖTT",
"feed":"nl",
"text":"Please place it clearly visible",
"feed":"nl",
"text":"behind the",
"text":" front windshield!",
"feed":"nl",
"feed":"nl",
"text":"Rendszám: ",
"vari":"Dynamic01",
"feed":"nl",
"text":"Parkolási idõ vége:",
"feed":"nl",
"styl":"size 01",
"vari":"Dynamic04",
"vari":"Dynamic03",
"styl":"size 00",
"feed":"nl",
"text":"Parkolás helye: ",
"feed":"nl",
"vari":"location",
"feed":"nl",
"feed":"nl",
}

View File

@ -1,40 +0,0 @@
{
"title":"DC2C_pri10",
"styl":"size 01",
"text":"Napijegy K",
"styl":"size 00",
"feed":"nl",
"text":"Összeg: ",
"styl":"size 01",
"vari":"Dynamic02",
"styl":"size 00",
"feed":"nl",
"text":"Kiadás időpontja:",
"feed":"nl",
"vari":"date us",
"vari":"time short",
"feed":"nl",
"text":"Automata száma: ",
"vari":"manu",
"text":"Park.jegy sorsz.: ",
"vari":"TickCtr",
"feed":"nl",
"text":"Szegedi Közlekedési Kft",
"feed":"nl",
"text":"6720 Szeged ",
"feed":"nl",
"text":"Zrínyi utca 4-8",
"feed":"nl",
"text":"Adósz: 11092612-2-06",
"feed":"nl",
"text":"A jegy ára az ÁFA-t",
"feed":"nl",
"text":" tartalmazza!",
"feed":"nl",
"text":"Üf. szolg nyitvatartás:",
"feed":"nl",
"feed":"nl",
"feed":"nl",
}

View File

@ -1,22 +0,0 @@
{
"title":"DC2C_pri11",
"project":"DBM Szeged",
"issued":"13.04.2023 01.01",
"styl":"size 00",
"text":"H - P: 7:45 - 17:00",
"feed":"nl",
"text":"Tel: (80) 820-500",
"feed":"nl",
"text":"Parkoljon egy érintéssel. ",
"feed":"nl",
"text":"Használja bankkártyáját ",
"feed":"nl",
"text":" automatáinknál is!",
"feed":"nl",
"feed":"nl",
"feed":"nl",
"feed":"nl"
}

View File

@ -1,9 +0,0 @@
{
"title":"DC2C_pri12",
"project":"empty template",
"issued":"09.06.2023 01.01",
"styl":"size 00"
}

View File

@ -1,41 +0,0 @@
{
"title":"DC2C_pri13",
"styl":"font 08",
"styl":"size 10",
"feed":"margin02",
"feed":"rim02",
"text":"PARKOLÓJEGY",
"styl":"size 00",
"feed":"nl",
"text":"Kérjük az elsö szélvédö",
"feed":"nl",
"text":"mögé jól láthatóan",
"feed":"nl",
"text":"elhelyezni!",
"feed":"nl",
"text":"A PARKOLÓ NEM ÕRZÖTT",
"feed":"nl",
"text":"Please place it clearly visible",
"feed":"nl",
"text":"behind the",
"text":" front windshield!",
"feed":"nl",
"feed":"nl",
"text":"Rendszám: ",
"vari":"Dynamic01",
"feed":"nl",
"text":"Parkolási idõ vége:",
"feed":"nl",
"styl":"size 01",
"vari":"Dynamic04",
"vari":"Dynamic03",
"styl":"size 00",
"feed":"nl",
"text":"Parkolás helye: ",
"feed":"nl",
"vari":"location",
"feed":"nl",
"feed":"nl",
}

View File

@ -1,40 +0,0 @@
{
"title":"DC2C_pri14",
"styl":"size 01",
"text":"Napijegy K",
"styl":"size 00",
"feed":"nl",
"text":"Összeg: ",
"styl":"size 01",
"vari":"Dynamic02",
"styl":"size 00",
"feed":"nl",
"text":"Kiadás időpontja:",
"feed":"nl",
"vari":"date us",
"vari":"time short",
"feed":"nl",
"text":"Automata száma: ",
"vari":"manu",
"text":"Park.jegy sorsz.: ",
"vari":"TickCtr",
"feed":"nl",
"text":"Szegedi Közlekedési Kft",
"feed":"nl",
"text":"6720 Szeged ",
"feed":"nl",
"text":"Zrínyi utca 4-8",
"feed":"nl",
"text":"Adósz: 11092612-2-06",
"feed":"nl",
"text":"A jegy ára az ÁFA-t",
"feed":"nl",
"text":" tartalmazza!",
"feed":"nl",
"text":"Üf. szolg nyitvatartás:",
"feed":"nl",
"feed":"nl",
"feed":"nl",
}

View File

@ -1,22 +0,0 @@
{
"title":"DC2C_pri15",
"project":"DBM Szeged park_coins",
"issued":"13.04.2023 01.01",
"styl":"size 00",
"text":"H - P: 7:45 - 17:00",
"feed":"nl",
"text":"Tel: (80) 820-500",
"feed":"nl",
"text":"Parkoljon egy érintéssel. ",
"feed":"nl",
"text":"Használja bankkártyáját ",
"feed":"nl",
"text":" automatáinknál is!",
"feed":"nl",
"feed":"nl",
"feed":"nl",
"feed":"nl"
}

View File

@ -1,8 +0,0 @@
{
"title":"DC2C_pri16",
"project":"empty template",
"issued":"09.06.2023 01.01",
"styl":"size 00"
}

View File

@ -1,25 +0,0 @@
{
"title":"DC2C_pri17",
"styl":"align l",
"feed":"margin01",
"feed":"nl",
"feed":"nl",
"feed":"nl",
"feed":"part",
"text":"Utazzon tovább közösségi közle-",
"feed":"nl",
"text":"kedéssel! Ehhez a leválasztható",
"feed":"nl",
"text":" szelvényhez a közösségi közle- ",
"feed":"nl",
"text":"kedési járművek (villamos, helyi-",
"feed":"nl",
"text":"járatos busz,trolibusz,vasútvilla-",
"feed":"nl",
"text":"mos) bankkártyás fedélzeti jegy-",
"feed":"nl",
"text":"kiadó automatáiból,illetve a jegy-",
"feed":"nl",
"feed":"nl"
}

View File

@ -1,18 +0,0 @@
"title":"DC2C_pri18",
"styl":"align l",
"feed":"margin01",
"text":"árusító applikációkból Közterületi",
"feed":"nl",
"text":"fizető parkolás napijegyhez vál-",
"feed":"nl",
"text":"tott kiegészítő Körút napijegy vá-",
"feed":"nl",
"text":"sárolható (ára 440,-Ft)1 fő részé-",
"feed":"nl",
"text":"re. Ez a napijegy Szeged, Nagy-",
"feed":"nl",
"text":" körútig bezárólag illetve a Nagy-",
"feed":"nl",
"feed":"nl"
}

View File

@ -1,13 +0,0 @@
{
"title":"DC2C_pri19",
"styl":"align l",
"feed":"margin01",
"text":"körúton túli első megállóhelytől",
"feed":"nl",
"text":"vagy megállóhelyig korlátlan uta-",
"feed":"nl",
"text":"zásra érvényes a parkolás nap-",
"feed":"nl",
"text":"ján."
}

View File

@ -1,28 +0,0 @@
{
"title":"DC2C_pri20",
"project":"empty template",
"issued":"09.06.2023 01.01",
"styl":"size 00"
"text":"Ellenőrzéshez ezt a szelvényt",
"feed":"nl",
"text":"és az utazásra jogosító papírt" ,
"feed":"nl",
"text":"vagy elektronikus napijegyet ",
"feed":"nl",
"text":"együttesen kell bemutatni.",
"feed":"nl",
"text":"Rendszám: ",
"vari":"Dynamic01",
"feed":"nl",
"text":"Parkolás kezdete:",
"text":"(Kék Zóna)",
"feed":"nl",
"vari":"date us",
"vari":"time short",
"feed":"nl",
"feed":"eject"
}

View File

@ -1,40 +0,0 @@
{
"title":"DC2C_pri21",
"project":"DBM Szeged StartParking",
"styl":"size 10",
"text":"Igazoló ",
"text":"szelvény",
"styl":"size 00",
"feed":"nl",
"feed":"nl",
"text":" Bizonylat ",
"feed":"nl",
"text":"Szélvédõ mögé NEM",
"feed":"nl",
"text":"kell kihelyezni!",
"feed":"nl",
"text":"A PARKOLÓ NEM ÕRZÖTT!",
"feed":"nl",
"feed":"nl",
"text":"Rendszám: ",
"vari":"Dynamic01",
"feed":"nl",
"text":"Parkolás helye: ",
"feed":"nl",
"styl":"size 10",
"vari":"location",
"styl":"size 00",
"feed":"nl",
"text":"Zárolt összeg/Ft.: ",
"feed":"nl",
"styl":"size 11",
"vari":"Dynamic02",
"styl":"size 00",
"feed":"nl",
"text":"Kiadás idõpontja:",
"feed":"nl",
"vari":"date us",
"vari":"time short",
"feed":"nl"
}

View File

@ -1,29 +0,0 @@
"title":"DC2C_pri22",
"project":"DBM Szeged StartParking",
"styl":"size 00",
"text":"Automata száma: ",
"vari":"manu",
"feed":"nl",
"text":"Igazoló sz. sorsz: ",
"feed":"nl",
"vari":"Dynamic07",
"feed":"nl",
"vari":"Dynamic08",
"feed":"nl",
"text":"Az igazolo szelvény",
"feed":"nl"
"text":"a nyugtával együtt érvényes. ",
"feed":"nl",
"feed":"nl",
"text":"Üf. szolg nyitvatartás:",
"feed":"nl",
"text":"Deák Ferenc u. 31.",
"feed":"nl",
"text":"H - P: 7:45 - 17:00",
"feed":"nl",
"text":"Tel: (80) 820-500",
"feed":"nl",
"feed":"nl"
}

View File

@ -1,34 +0,0 @@
"title":"DC2C_pri23",
"project":"DBM Szeged StartParking",
"styl":"size 00",
"feed":"nl",
"text":"Szegedi Közlekedési Kft",
"feed":"nl",
"text":" 6720 Szeged",
"feed":"nl",
"text":" Zrínyi utca 4-8.",
"feed":"nl",
"text":"Adósz: 11092612-2-06",
"feed":"nl",
"feed":"nl",
"text":"Parkoljon egy érintéssel.",
"feed":"nl",
"text":"Használja bankkártyáját",
"feed":"nl",
"text":" automatáinknál is!",
"feed":"nl",
"feed":"nl",
"text":"Leállító KÓD:",
"feed":"nl",
"styl":"size 11",
"vari":"Dynamic07",
"feed":"nl",
"vari":"Dynamic08",
"styl":"size 00",
"feed":"nl",
"text":"Õrizze meg, tartsa magánál!",
"feed":"nl",
"feed":"eject"
}

View File

@ -1,39 +0,0 @@
{
"title":"DC2C_pri24",
"project":"DBM Szeged StopParking",
"styl":"size 10"
"text":"Parkolójegy",
"styl":"size 00"
"feed":"nl",
"feed":"nl",
"text":"Nyugta : ",
"feed":"nl",
"vari":"Dynamic07",
"feed":"nl",
"vari":"Dynamic08",
"feed":"nl",
"text":"Rendszám: ",
"vari":"Dynamic01",
"feed":"nl",
"text":"Leállítás helye:",
"feed":"nl",
"styl":"size 10"
"vari":"location",
"styl":"size 00",
"text":"Leállítás idõpontja:",
"feed":"nl",
"vari":"date us",
"vari":"time short",
"feed":"nl",
"text":"Automata száma: ",
"vari":"manu",
"feed":"nl",
"text":"Terhelt Összeg: ",
"vari":"Dynamic02",
"text":"Ft. (BK)",
"feed":"nl",
"text":"A nyugta az igazoló",
"feed":"nl",
"text":"szelvénnyel együtt"
}

View File

@ -1,31 +0,0 @@
{
"title":"DC2C_pri25",
"project":"DBM Szeged StopParking",
"text":"érvényes.",
"feed":"nl",
"feed":"nl",
"text":"Üf. szolg nyitvatartás:"
"feed":"nl",
"text":" Arany Janos u. 5",
"styl":"size 00",
"feed":"nl",
"text":" H - P: 7:45 - 17:00",
"feed":"nl",
"text":" Tel: (80) 820-500",
"feed":"nl",
"feed":"nl",
"text":"Szegedi Közlekedési Kft",
"feed":"nl",
"text":" 6720 Szeged ",
"feed":"nl",
"text":" Zrínyi utca 4-8.",
"feed":"nl",
"text":"Adósz: 11092612-2-06",
"feed":"nl",
"text":" A jegy ára az ÁFA-t",
"feed":"nl",
"text":" tartalmazza!",
"feed":"nl"
}

View File

@ -1,17 +0,0 @@
{
"title":"DC2C_pri26",
"project":"DBM Szeged StopParking",
"feed":"nl",
"text":"Start azonosító:",
"styl":"size 00",
"feed":"nl",
"vari":"Dynamic07",
"feed":"nl",
"vari":"Dynamic08",
"feed":"nl",
"text":"Õrizze meg, tartsa magánál!",
"feed":"nl",
"feed":"eject"
}

View File

@ -1,36 +0,0 @@
{
"title":"DC2C_pri27",
"project":"DBM Szeged Error",
"styl":"size 00",
"feed":"nl",
"text":"TRANZAKCIÓ ELUTASÍTVA!",
"feed":"nl",
"feed":"nl",
"text":" Bizonylat",
"feed":"nl",
"feed":"nl",
"text":"Rendszám: ",
"vari":"Dynamic01",
"feed":"nl",
"text":"Indítás helye:",
"feed":"nl",
"vari":"location",
"feed":"nl",
"text":"Kiadás idõpontja:",
"feed":"nl",
"vari":"date us",
"vari":"time short",
"feed":"nl",
"text":"Automata száma: ",
"vari":"manu",
"text":"Bizonylat sorsz.: ",
"feed":"nl",
"vari":"Dynamic07",
"feed":"nl",
"vari":"Dynamic08",
"feed":"nl",
"text":"Hibaüzenet: ",
"vari":"Dynamic06",
"feed":"nl"
}

View File

@ -1,35 +0,0 @@
{
"title":"DC2C_pri28",
"project":"DBM Szeged Error",
"styl":"size 00",
"text":" Üf. szolg nyitvatartás:",
"feed":"nl",
"text":" Deák Ferenc u. 31. ",
"feed":"nl",
"text":" H - P: 7:45 - 17:00",
"feed":"nl",
"text":" Tel: (80) 820-500",
"feed":"nl",
"feed":"nl",
"text":"Szegedi Közlekedési Kft",
"feed":"nl",
"text":" 6720",
"text":" Szeged ",
"feed":"nl",
"text":" Zrínyi utca 4-8",
"feed":"nl",
"text":"Adósz: ",
"text":"11092612-2-06",
"feed":"nl",
"feed":"nl",
"text":"Parkoljon egy érintéssel.",
"feed":"nl",
"text":"Használja bankkártyáját",
"feed":"nl",
"text":" automatáinknál",
"text":" is!",
"feed":"nl",
"feed":"eject"
}

View File

@ -1,24 +0,0 @@
{
"title":"DC2C_pri29",
"project":"ATB test",
"issued":"24.05.2023 01.00",
"styl":"font 08",
"styl":"size 11",
"feed":"margin02",
"feed":"rim02",
"text":"All 8 Variables:",
"feed":"nl",
"vari":"Dynamic01",
"vari":"Dynamic02",
"vari":"Dynamic03",
"vari":"Dynamic04",
"vari":"Dynamic05",
"vari":"Dynamic06",
"vari":"Dynamic07",
"vari":"Dynamic08",
"feed":"eject",
}

40
etc/psa_config/DC2C_print31.json Normal file → Executable file
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"
}

23
etc/psa_config/DC2C_print32.json Normal file → Executable file
View File

@ -1,39 +1,42 @@
{
"title":"DC2C_pri32",
"project":"DBM Szeged door",
"issued":"18.04.2023 01.01",
"project":"refund reciept",
"Version":"15.11.2023 00001",
"styl":"font 08",
"styl":"size 10",
"feed":"margin02",
"feed":"rim02",
"feed":"speed10",
"styl":"size 11",
"text":"AJTÓ NYITÁS",
"text":"Ersatzbeleg",
"feed":"nl",
"styl":"size 00",
"text":"Door closed",
"text":"Erstattungsbetrag: ",
"feed":"nl",
"vari":"Dynamic07",
"text":"€",
"feed":"nl",
"text":"CuNu: ",
"text":"KuNu: ",
"vari":"cunu",
"text":"MaNu: ",
"vari":"manu",
"text":"Place: ",
"text":"Ort: ",
"vari":"location",
"text":"Group: ",
"text":"Gruppe: ",
"vari":"group",
"text":"Zone: ",
"vari":"zone",
"text":"Name: ",
"vari":"alias",
"text":"Date: ",
"text":"Am: ",
"vari":"date us",
"text":"Time: ",
"text":"Um: ",
"vari":"time long",
"feed":"nl",
"text":" * * * * * * * * ",
"feed":"nl",
"feed":"nl",
"feed":"eject",
"feed":"eject"
}

View File

@ -1,15 +0,0 @@
echo "XXX" >> DC2C_print01.json
echo "XXX" >> DC2C_print02.json
echo "XXX" >> DC2C_print03.json
echo "XXX" >> DC2C_print04.json
echo "XXX" >> DC2C_print05.json
echo "XXX" >> DC2C_print06.json
echo "XXX" >> DC2C_print07.json
echo "XXX" >> DC2C_print08.json
echo "XXX" >> DC2C_print09.json
echo "XXX" >> DC2C_print10.json
echo "XXX" >> DC2C_print11.json
echo "XXX" >> DC2C_print12.json
echo "XXX" >> DC2C_print13.json
echo "XXX" >> DC2C_print14.json
echo "XXX" >> DC2C_print15.json

View File

@ -1132,3 +1132,4 @@
}
]
}

View File

@ -1,39 +1 @@
###############################################################################
# !!! NOTE !!!
###############################################################################
# opkg-commands added to this file will be executed by ATBUpdateTool.
###############################################################################
# opkg prefix will be added inside evaluating script
#
# 2023-06-30: test-1
# 2023-06-30: test-2
# 2023-06-30: return to usual workflow
# 2023-06-30: test update atbqt in Szeged
# 2023-06-30: 2. test update atbqt in Szeged
# 2023-06-30: 4. test update atbqt in Szeged
# 2023-07-17-1: test
# 2023-07-18-1: test
# 2023-07-18-2: test
# 2023-07-18-3: test
# 2023-07-18-4: test
# 2023-07-18-5: test
# 2023-07-18-6: test
# 2023-07-18-7: test
# 2023-07-18-8: test
# 2023-07-18-9: test
# 2023-07-18-10: test
# 2023-07-18-11: test
# 2023-07-18-12: test
# 2023-07-18-13: test
# 2023-07-18-14: test
# 2023-07-19-1: test
# 2023-07-19-2: test via service-menu
# 2023-07-26-1: test
# opkg info ptu5-gitinstaller
# opkg info atbqt
opkg update
opkg info atbupdatetool
# opkg install ptu5-gitinstaller
# opkg install atbqt
# opkg info ptu5-gitinstaller
# opkg info atbqt

View File

@ -1,90 +1 @@
[ATBDeviceControllerPlugin]
serialPort=ttymxc2
[COMMON]
%23ooo_mode={useDisk|otherMachine}
%23useLanguage=[128+][64+][32+][16]
%23usePayment=[128+][64+][32+][16]
%23useProduct=[128+][64+][32+][16+][8]
%23useVehicle=[128+][64+][32+][16+][8]
CharacterSet=ISO 8859-2
alternativeLogoFile=
com_baud_rate=9600
com_port_name=/dev/ttyS1
defaultLanguage=1
feature_DBusDisplayControl=on
feature_DBusDisplayDimLow=off
feature_DBusSuspendControl=on
feature_DisplayControl=off
feature_Log=off
feature_ShowParkingTime=off
feature_StartButton=on
feature_SystemSuspend=off
feature_TouchFeedback=off
feature_selfOOO=off
lang1=hu_HU
lang2=en_GB
lang3=de_DE
lang4=sr
lang5=ro_RO
logfile=/var/log/atbqt.log
ooo_alternativeLocation=
ooo_mode=otherMachine
ooo_serviceEmail=
ooo_serviceNumber=
sellTimeout_time=60
showHelpButton=false
showInfoButton=false
statefile=/opt/app/ATBAPP/states/APP_States.xml
suspend_methode=sysfs
suspend_program=
suspend_time=8
textfile=/opt/app/ATBAPP/text/HMI_Texte.xml
touch_feedback_gpio=121
touch_feedback_off_value=0
touch_feedback_on_value=1
useAppStates=1
useLanguage=240
usePayment=96
useProduct=240
useVehicle=240
[IngenicoISelf_CCPlugin]
Currency=HUF
PortName=/dev/ttymxc0
ZVT=DE
debug=1
sleep=1
sleepExtended=1
[MOBILISIS_CalculatePricePlugin]
tariffFileName=/etc/psa_tariff/tariff01.json
useDebug=1
[PAYMENT]
cashVariant=CoinsOnly
currencyISOCode=HUF
currencySymbol=Ft
paymentPointInTime=poa
useHonestPayment=on
[PLUGINS]
CCPlugin=IngenicoISelf_CCPlugin
CalculatePricePlugin=MOBILISIS_CalculatePricePlugin
DeviceControllerPlugin=ATBDeviceControllerPlugin
[SCREENCONFIG]
sc_31="1,1,0"
sc_33="1,0,1"
sc_35="0,0,0"
sc_3F="1,0,0"
sc_40="1,0,1"
sc_41="1,0,1"
sc_51="1,0,1"
sc_52="1,0,0"
sc_53="1,0,0"
[TCP_CONTROL]
enable=1
###
# Thu Jul 13 15:02:54 CEST 2023