Compare commits
242 Commits
8881ec8abb
...
zone2
Author | SHA1 | Date | |
---|---|---|---|
be84634d62
|
|||
64937d6fb4 | |||
6acc53275d | |||
87af143cbd | |||
e46c1f272b | |||
73fbc3d5ad | |||
17abc2e768 | |||
d4934b1f07 | |||
83a5649e37 | |||
b2de949187 | |||
3e394ee48f | |||
c38e94d289 | |||
65efe0c9a9 | |||
8648da0488 | |||
35115ff21c | |||
2a73c1807d | |||
c43da07747 | |||
f5693d6473 | |||
6f1e694e65 | |||
b283635670 | |||
51dc153f6d | |||
a5898b6347 | |||
8f98a6f5f4 | |||
f40e764439 | |||
c47b0fec23 | |||
da6c0e5c68 | |||
b8eeb7c0b9 | |||
dfda3999fb | |||
a611b2b698 | |||
d90112eafd | |||
0266ec873d | |||
ae65a8a420 | |||
ab2631f88d | |||
76f470f947 | |||
f328d184a7 | |||
a314bf2248 | |||
cc86c29eec | |||
35a2cb83c8 | |||
becedb9726 | |||
b98f28344d | |||
422159a783 | |||
12a2715304 | |||
66566225d8 | |||
9df963ff64 | |||
2cb79fc5d4 | |||
ab8bd20466 | |||
e4ac4b0cc8 | |||
2af6b1e344 | |||
49a5858077 | |||
be1c4417dd | |||
311b86336c | |||
7103bdafb5 | |||
86ca411cde | |||
d528a97e14 | |||
10d39ed760 | |||
fc95aca792 | |||
7e55d61d71 | |||
e7c47e7931 | |||
6570cf3419 | |||
27be755fbd | |||
cff8c52027 | |||
4091fd4227 | |||
dab82b220d | |||
0dbedbe198 | |||
10b1620813 | |||
d0fd7dfc4f | |||
abfc409500 | |||
32ece9da7b | |||
43da9e0437 | |||
ec76845dd4 | |||
ed3033659a | |||
e3d97bf8df | |||
fc0e466753 | |||
0fe582259d | |||
2f0350a69e | |||
16f1250eb7 | |||
cd6a9020fa | |||
e828452190 | |||
aedbc2032c | |||
a5974acfa2 | |||
25437ef752 | |||
256a7ede1d | |||
9b807dcd8a | |||
27cb47491d | |||
33f662756d | |||
73f24f21c6 | |||
d5a8653d34 | |||
2ffee1988a | |||
241f63e2fd | |||
43785f085e | |||
9379c26454 | |||
83cdaf6da9 | |||
83d2986460 | |||
8b030f49c6 | |||
eb4c1ab8eb | |||
e26268cb3c | |||
688945700c | |||
47685bbbdf | |||
46d4ed2c39 | |||
2b0f276440 | |||
2b035a1032 | |||
d6251eddfb | |||
e031e5d9b0 | |||
31c993f9fc | |||
f6216105d4 | |||
40cbae43b6 | |||
2c3f85acda | |||
a998f27618 | |||
4a279cb080 | |||
27ffaccb7c | |||
26946b4e18 | |||
312f8d5dda | |||
25fecc68a4 | |||
dd3e3754be | |||
8ae7a78691 | |||
fad1d54135 | |||
76b86aba17 | |||
5f856d0303 | |||
16f3a37cb8 | |||
ec4b7f4b73 | |||
9a7e456fb8 | |||
bb2bdd8288 | |||
e3fccc2e61 | |||
e3d280cef1 | |||
15c5acfd90 | |||
9001a120b7 | |||
db0fe4675d | |||
6b13486bb9 | |||
b0890a0062 | |||
6bd4ba58f4 | |||
4c0a19522e | |||
241012961a | |||
d3a61f7b51 | |||
15d4f6bd63 | |||
076c08ffa2 | |||
c89b7de884 | |||
31b6dec11d | |||
bf4611e638 | |||
541dd48e4e | |||
0e756d6974 | |||
7688685669 | |||
8b211d26ec | |||
0c27dd3a22 | |||
d9ec4cd7fd | |||
ea6434d5ca | |||
f2c064b434 | |||
bfaededa72 | |||
e4609d31c2 | |||
46cca6410b | |||
2cc00cb741 | |||
3acc34d986 | |||
4577ab46dd | |||
097c1fec6d | |||
70bc231534 | |||
839d1a6966 | |||
6f01cb07b0 | |||
5fbb8f0d54 | |||
e92dc42b81 | |||
28f024e568 | |||
450ba9667c | |||
ec10ef3ec1 | |||
1c7bdde589 | |||
8ce7d17045 | |||
d64343a92e | |||
b358439574 | |||
dd9232dfb3 | |||
72abbc7c7c | |||
14a8094cd6 | |||
daa851f861 | |||
6f7b77fa0f | |||
70e55e601a | |||
818b8d3941 | |||
c3975d736d | |||
3d8e671d98 | |||
c9a3848103 | |||
d26abf157f | |||
452039f337 | |||
ba46621c60 | |||
c7c765a263 | |||
7296deee30 | |||
209ce4652d | |||
44ae96ac98 | |||
c71ab77a0f | |||
2b5ccd1376 | |||
9d71a409ff | |||
14cca78e35 | |||
c85d4249d2 | |||
a18ae8193b | |||
50f4f5b303 | |||
620e92217a | |||
fa73e2155e | |||
f58579367e | |||
114d038f41 | |||
836cb1cbcb | |||
c446ae0322 | |||
ac88d453d1 | |||
a58b3da2ca | |||
91a219b63a | |||
3a53b28f4e | |||
1017fc2bbd | |||
2043a302ba | |||
fb7bcdd881 | |||
622a34e849 | |||
742eb4845f | |||
55f8e3fe30 | |||
eb49671d7e | |||
7c68fa8918 | |||
0224691612 | |||
9e9460310c | |||
ad167d76db | |||
c9ccab0dad | |||
c2577dc743 | |||
d6ae1aa4ad | |||
49237d528c | |||
11c0b305f8 | |||
709cd02675 | |||
d9451649a2 | |||
686d849fe5 | |||
de89b4834e | |||
6fbcb00b99 | |||
0b1ff2b96f | |||
941de85dc3 | |||
9b4a89d246 | |||
341fb34bba | |||
3c88679f51 | |||
f2573049e7 | |||
1f0bb050ad | |||
c14f7a5f8d | |||
b74830f8fa | |||
296257cb07 | |||
fe57d474e2 | |||
5d5c76a2d5 | |||
8983a8c4a0 | |||
794f484abc | |||
1f3e6ab5f8 | |||
1fb3ded23a | |||
a486aee3dd | |||
04a0d9f1a4 | |||
050c0faad5 | |||
edfba776e2 | |||
bf0e1c5d0f | |||
a9452b8a89 |
54
.githooks/post-merge
Executable file
54
.githooks/post-merge
Executable file
@@ -0,0 +1,54 @@
|
|||||||
|
#!/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_changed_files_for_last_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 () {
|
||||||
|
# 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")
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
# called in repository: $fn is e.g. etc/psa_tariff/tariff01.json
|
||||||
|
# add '/' prefix
|
||||||
|
fn=$(echo $fn | awk '{ printf "/"$0 }')
|
||||||
|
if [[ -f "$fn" ]]; then
|
||||||
|
blob=$(get_blob "$fn")
|
||||||
|
commit=$(get_commit_for_blob $blob "$fn")
|
||||||
|
fsize=$(ls -l "$fn" | awk '{ print $5 }')
|
||||||
|
echo "$fn $fsize $blob $commit" >> $GIT_PULL_TMP
|
||||||
|
fi
|
||||||
|
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
|
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
*
|
||||||
|
|
||||||
|
## Except
|
||||||
|
!**/.gitignore
|
||||||
|
!**/.githooks/post-merge
|
||||||
|
!/etc/*.ini
|
||||||
|
!/etc/atb/*.ini
|
||||||
|
!/etc/psa_config/*
|
||||||
|
!/etc/psa_update/*
|
||||||
|
!/etc/psa_tariff/*
|
||||||
|
!/etc/dc/dc2c.hex
|
||||||
|
|
||||||
|
!/opt/app/ATBAPP/*.ini
|
||||||
|
!/opt/app/sysconfig/*.ini
|
||||||
|
!/opt/app/ISMASMgr/*.ini
|
||||||
|
|
100
etc/atb/ATBAPP.ini
Normal file
100
etc/atb/ATBAPP.ini
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
[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/ATBAPP/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
|
||||||
|
statefile=/opt/app/ATBAPP/states/APP_States.xml
|
||||||
|
|
||||||
|
[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
|
||||||
|
CalculatePricePlugin=MOBILISIS_CalculatePricePlugin
|
||||||
|
DeviceControllerPlugin=ATBDeviceControllerPlugin
|
||||||
|
|
||||||
|
|
||||||
|
[IngenicoISelf_CCPlugin]
|
||||||
|
debug=1
|
||||||
|
PortName=/dev/ttymxc0
|
||||||
|
ZVT=DE
|
||||||
|
sleep=1
|
||||||
|
sleepExtended=1
|
||||||
|
Currency=HUF
|
||||||
|
|
||||||
|
|
||||||
|
[TCP_CONTROL]
|
||||||
|
enable=1
|
||||||
|
|
||||||
|
|
||||||
|
[PAYMENT]
|
||||||
|
currencySymbol=€
|
||||||
|
cashVariant=CoinsOnly
|
||||||
|
paymentPointInTime=poa
|
||||||
|
|
||||||
|
|
||||||
|
[MOBILISIS_CalculatePricePlugin]
|
||||||
|
useDebug=1
|
||||||
|
|
||||||
|
[ATBDeviceControllerPlugin]
|
||||||
|
serialPort=ttymxc2
|
51
etc/atb/SystemControl.ini
Normal file
51
etc/atb/SystemControl.ini
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
[COMMON]
|
||||||
|
startBacklightController=1
|
||||||
|
startSuspendController=1
|
||||||
|
startMonitoringController=0
|
||||||
|
startMQTTController=0
|
||||||
|
|
||||||
|
[BACKLIGHT]
|
||||||
|
inputBrightness=80
|
||||||
|
curve=1
|
||||||
|
dimLowValue=1
|
||||||
|
|
||||||
|
SensorMax=3500
|
||||||
|
SensorMin=0
|
||||||
|
dimMin=20
|
||||||
|
dimMax=100
|
||||||
|
|
||||||
|
[SUSPEND]
|
||||||
|
program=/home/root/system_powerdown_wakeup.sh
|
||||||
|
|
||||||
|
|
||||||
|
[MONITORING]
|
||||||
|
protocol=mqtt
|
||||||
|
|
||||||
|
useDeviceId=on
|
||||||
|
monitoring_heartbeatInterval=60
|
||||||
|
|
||||||
|
[MQTT]
|
||||||
|
mqtt_host=mqtt2.atb-comm.de
|
||||||
|
mqtt_port=8883
|
||||||
|
mqtt_username=testuser
|
||||||
|
mqtt_password=xyz123
|
||||||
|
mqtt_useSsl=on
|
||||||
|
mqtt_debug=on
|
||||||
|
mqtt_QoS=0
|
||||||
|
mqtt_TopicScheme=ATB_ISMAS
|
||||||
|
mqtt_TopicDeviceType=MP
|
||||||
|
mqtt_TopicPrefix=ATB
|
||||||
|
|
||||||
|
[NETWORKCHECK]
|
||||||
|
useNetworkCheck=on
|
||||||
|
setOOO=off
|
||||||
|
PingHost=google.com
|
||||||
|
networkRestart="/sbin/ifup -a"
|
||||||
|
|
||||||
|
[AT_TASKS]
|
||||||
|
size=1
|
||||||
|
1\id=PTU5UPDATE
|
||||||
|
1\program="/opt/app/tools/atbupdate/PTUGitInstaller"
|
||||||
|
1\arguments=-q,--platform,wayland
|
||||||
|
1\envs=QT_QPA_EGLFS_KMS_ATOMIC=1,QT_QPA_EGLFS_ALWAYS_SET_MODE=1,XDG_RUNTIME_DIR=/var/run/user/0
|
||||||
|
1\hourOfDay=1
|
6030
etc/dc/dc2c.hex
Normal file
6030
etc/dc/dc2c.hex
Normal file
File diff suppressed because it is too large
Load Diff
@@ -14,4 +14,3 @@
|
|||||||
"discount":0,
|
"discount":0,
|
||||||
"":""
|
"":""
|
||||||
}
|
}
|
||||||
|
|
@@ -3,6 +3,3 @@
|
|||||||
"version":"27.02.2023 12:20 00001",
|
"version":"27.02.2023 12:20 00001",
|
||||||
"":""
|
"":""
|
||||||
}
|
}
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"title":"DC2C_pri31",
|
"title":"DC2C_pri31",
|
||||||
"version":"27.02.2023 12:20 00001",
|
"version":"27.02.2023 12:20 00001",
|
||||||
"":""
|
"":"iiii"
|
||||||
}
|
}
|
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"title":"DC2C_pri32",
|
"title":"DC2C_pri32",
|
||||||
"version":"27.02.2023 12:20 00001",
|
"version":"27.02.2023 12:20 00001",
|
||||||
"":""
|
"":"",
|
||||||
}
|
"":"10001"
|
||||||
|
}
|
2
etc/psa_config/tariff01.json
Normal file
2
etc/psa_config/tariff01.json
Normal file
File diff suppressed because one or more lines are too long
3
etc/psa_tariff/tariff01.json
Normal file
3
etc/psa_tariff/tariff01.json
Normal file
File diff suppressed because one or more lines are too long
4
etc/psa_tariff/tariff02.json
Normal file
4
etc/psa_tariff/tariff02.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
1
etc/psa_tariff/tariff04.json
Normal file
1
etc/psa_tariff/tariff04.json
Normal file
File diff suppressed because one or more lines are too long
0
etc/psa_tariff/tariff08.json
Normal file
0
etc/psa_tariff/tariff08.json
Normal file
0
etc/psa_tariff/tariff09.json
Normal file
0
etc/psa_tariff/tariff09.json
Normal file
0
etc/psa_tariff/tariff10.json
Normal file
0
etc/psa_tariff/tariff10.json
Normal file
0
etc/psa_tariff/tariff11.json
Normal file
0
etc/psa_tariff/tariff11.json
Normal file
0
etc/psa_tariff/tariff12.json
Normal file
0
etc/psa_tariff/tariff12.json
Normal file
0
etc/psa_tariff/tariff13.json
Normal file
0
etc/psa_tariff/tariff13.json
Normal file
0
etc/psa_tariff/tariff14.json
Normal file
0
etc/psa_tariff/tariff14.json
Normal file
0
etc/psa_tariff/tariff15.json
Normal file
0
etc/psa_tariff/tariff15.json
Normal file
0
etc/psa_tariff/tariff16.json
Normal file
0
etc/psa_tariff/tariff16.json
Normal file
0
etc/psa_tariff/tariff17.json
Normal file
0
etc/psa_tariff/tariff17.json
Normal file
0
etc/psa_tariff/tariff18.json
Normal file
0
etc/psa_tariff/tariff18.json
Normal file
0
etc/psa_tariff/tariff19.json
Normal file
0
etc/psa_tariff/tariff19.json
Normal file
0
etc/psa_tariff/tariff20.json
Normal file
0
etc/psa_tariff/tariff20.json
Normal file
0
etc/psa_tariff/tariff21.json
Normal file
0
etc/psa_tariff/tariff21.json
Normal file
0
etc/psa_tariff/tariff22.json
Normal file
0
etc/psa_tariff/tariff22.json
Normal file
0
etc/psa_tariff/tariff23.json
Normal file
0
etc/psa_tariff/tariff23.json
Normal file
0
etc/psa_tariff/tariff24.json
Normal file
0
etc/psa_tariff/tariff24.json
Normal file
0
etc/psa_tariff/tariff25.json
Normal file
0
etc/psa_tariff/tariff25.json
Normal file
0
etc/psa_tariff/tariff26.json
Normal file
0
etc/psa_tariff/tariff26.json
Normal file
0
etc/psa_tariff/tariff27.json
Normal file
0
etc/psa_tariff/tariff27.json
Normal file
0
etc/psa_tariff/tariff28.json
Normal file
0
etc/psa_tariff/tariff28.json
Normal file
0
etc/psa_tariff/tariff29.json
Normal file
0
etc/psa_tariff/tariff29.json
Normal file
0
etc/psa_tariff/tariff30.json
Normal file
0
etc/psa_tariff/tariff30.json
Normal file
0
etc/psa_tariff/tariff31.json
Normal file
0
etc/psa_tariff/tariff31.json
Normal file
0
etc/psa_tariff/tariff32.json
Normal file
0
etc/psa_tariff/tariff32.json
Normal file
3
etc/psa_tariff/winter_tariff.json
Normal file
3
etc/psa_tariff/winter_tariff.json
Normal file
File diff suppressed because one or more lines are too long
10
szeged/1/1/etc/psa_update/opkg_commands → etc/psa_update/opkg_commands
Normal file → Executable file
10
szeged/1/1/etc/psa_update/opkg_commands → etc/psa_update/opkg_commands
Normal file → Executable file
@@ -16,5 +16,13 @@
|
|||||||
# --force-reinstall install ptu5-atb-apinfo
|
# --force-reinstall install ptu5-atb-apinfo
|
||||||
# --force-reinstall install atbqt
|
# --force-reinstall install atbqt
|
||||||
# update
|
# update
|
||||||
|
|
||||||
|
opkg update
|
||||||
|
opkg --noaction install atbqt
|
||||||
|
opkg install atbqt
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
list
|
#
|
||||||
|
#
|
||||||
|
|
1
opt/app/ATBAPP/tariff.current
Normal file
1
opt/app/ATBAPP/tariff.current
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"VERSION":"0.1.0","PROJECT":"szeged","ZONE":1,"INFO":"summer sale","LOADED":"2022-06-02T21:57:29"
|
@@ -1 +0,0 @@
|
|||||||
szeged
|
|
@@ -1 +0,0 @@
|
|||||||
contained zones in group 1
|
|
@@ -1 +0,0 @@
|
|||||||
1
|
|
@@ -1,110 +0,0 @@
|
|||||||
[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"
|
|
||||||
|
|
||||||
[ERRORCODE_MAPPING]
|
|
||||||
VOUCHER:PROCESS=0xFA30
|
|
||||||
VOUCHER:SOAP=0xFA31
|
|
||||||
VOUCHER:TYPE=FA32
|
|
||||||
VOUCHER:SERVICE=FA33
|
|
||||||
VOUCHER:VALIDITY=FA34
|
|
||||||
120103004=FA35
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"" : "",
|
|
||||||
"" : "",
|
|
||||||
"" : ""
|
|
||||||
}
|
|
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"xxx" : "yyyy",
|
|
||||||
"xxx" : "yyyy",
|
|
||||||
"xxx" : "yyyy",
|
|
||||||
"xxx" : "yyyy"
|
|
||||||
}
|
|
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"wwwww" : "zzzzzz",
|
|
||||||
"wwwww" : "zzzzzz",
|
|
||||||
"wwwww" : "zzzzzz"
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"aaaaaa" : "bbbbb"
|
|
||||||
}
|
|
@@ -1,50 +0,0 @@
|
|||||||
Idee fuer pre-authorization:
|
|
||||||
|
|
||||||
Es gibt bei der Pre-Auth. zwei Schritte.
|
|
||||||
|
|
||||||
1. Schritt: hier wird ueberprueft, ob die Karte den Preis bezahlen kann.
|
|
||||||
2. Schritt: (notification) hier wird die Karte dann mit dem Endpreis belastet.
|
|
||||||
Kann von einem anderen PSA durchgefuehrt werden.
|
|
||||||
|
|
||||||
PSA1 macht Schritt 1, PSA2 Schritt 2.
|
|
||||||
|
|
||||||
Woher weiss jetzt PSA1, dass PSA2 Schritt 2 gemacht hat?
|
|
||||||
|
|
||||||
Jeder Kunde hat ein Repository (schon wegen dem PSA-Update).
|
|
||||||
Hier koennte man ein weiteres Verzeichnis unterbringen namens 'preauth'.
|
|
||||||
|
|
||||||
In diesem Verzeichnis werden pro Vorgang zwei Dateien angelegt.
|
|
||||||
|
|
||||||
Schritt 1:
|
|
||||||
|
|
||||||
Datei "open_preauth_<psa_serien_nummer>_<psa_zaehler>" wird angelegt.
|
|
||||||
Hier kann man dann alle moeglichen Daten eintragen.
|
|
||||||
|
|
||||||
Die Datei wird im Repository eingecheckt.
|
|
||||||
|
|
||||||
Schritt 2:
|
|
||||||
PSA2 macht zunaechst ein 'git pull'.
|
|
||||||
Damit sieht er, dass (mindestens) eine Pre-Auth. offen ist.
|
|
||||||
Sie ist nicht von ihm, da seine Seriennummer eine andere ist.
|
|
||||||
(Eventuell koennte man es so machen, dass in der Datei eine Kennung fuer
|
|
||||||
die Kreditkarte enthalten ist, so dass der Kunde nichts eingeben muss.)
|
|
||||||
|
|
||||||
Die Transaktion wird abgeschlossen, und PSA2 erzeugt die
|
|
||||||
Datei "close_preauth_<psa_serien_nummer>_<psa_zaehler>" und checkt sie ein.
|
|
||||||
|
|
||||||
Beim neachsten Bezahlvorgang oder Tagesschnitt macht PSA1 ein 'git pull'
|
|
||||||
und sieht dass die Pre-Auth abgeschlossen wurde.
|
|
||||||
|
|
||||||
PSA1 kann nun die beiden Dateien aus dem Repository entfernen.
|
|
||||||
|
|
||||||
Der Punkt ist wichtig: *nur* PSA1 kann das, also immer der PSA, der die
|
|
||||||
Sache angefangen hat, kann Daten loeschen.
|
|
||||||
|
|
||||||
Frage: Kann man 2 Bezahlvorgaenge mit derselben Kreditkarten haben?
|
|
||||||
Im Prinzip offenbar ja, aber falls man das macht, dann kann der erste Vorgang
|
|
||||||
nicht mehr rueckgaengig gemacht werden. Nur fuer den jeweils letzten Vorgang
|
|
||||||
ist das moeglich.
|
|
||||||
Hier muesste man den Kunden dann fragen, was er tun will: erst den ersten
|
|
||||||
Vorgang bezahlen (Schritt 2), oder was Neues auf PSA2 anfangen.
|
|
||||||
|
|
||||||
|
|
@@ -1,123 +0,0 @@
|
|||||||
{
|
|
||||||
"c0" : "config-file for update process",
|
|
||||||
|
|
||||||
"c1" : "ini-files section",
|
|
||||||
"ini" : {
|
|
||||||
|
|
||||||
"c2" : "location",
|
|
||||||
"szeged" : {
|
|
||||||
|
|
||||||
"c3" : "each location can have multiple",
|
|
||||||
"c4" : "zone-groups and/or zones",
|
|
||||||
"c5" : "0-index used as size of following array",
|
|
||||||
"c6" : ".zg[0]: #n of zones_groups",
|
|
||||||
"c7" : ".zg[1].z[0]: #n of zones in zg[1]",
|
|
||||||
"c8" : ".zg[1].z[1]: zone 1 in zone_group 1",
|
|
||||||
"c9" : "-> .zg[1].z[1].opt.app.sysconfig.ISMASMgr ",
|
|
||||||
"zg" : [ 1, {
|
|
||||||
"z" : [ 1, {
|
|
||||||
"opt" : {
|
|
||||||
"app" : {
|
|
||||||
"sysconfig" : {
|
|
||||||
"ISMASMgr" : "b7012a0beff0ca4b67aa56c1f095294f",
|
|
||||||
"sysconfig" : "0c9f9e4380c7378bcb18c137f4ac9bd1",
|
|
||||||
"SystemControl" : "67701bda779ebf450d3420e141167d3a"
|
|
||||||
},
|
|
||||||
"ISMASMgr" : {
|
|
||||||
"ISMASMgr" : "48abad21b3e1bf76ff9b2e247f49d9b1"
|
|
||||||
},
|
|
||||||
"ATBAPP" : {
|
|
||||||
"ATBQT" : "c30e90c795bb1a4508668995f9f3014b"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
]
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"c10" : "conf-files section",
|
|
||||||
"conf" : {
|
|
||||||
|
|
||||||
"c11" : "location",
|
|
||||||
"szeged" : {
|
|
||||||
|
|
||||||
"c12" : "each location can have multiple",
|
|
||||||
"c13" : "zone-groups and/or zones",
|
|
||||||
"c14" : "0-index used as size of following array",
|
|
||||||
"c15" : ".zg[0]: #n of zones_groups",
|
|
||||||
"c16" : ".zg[1].z[0]: #n of zones in zg[1]",
|
|
||||||
"c17" : ".zg[1].z[1]: zone 1 in zone_group 1",
|
|
||||||
"c18" : "-> .zg[1].z[1].etc.psa_config.emp ",
|
|
||||||
"zg" : [ 1, {
|
|
||||||
"z" : [ 1, {
|
|
||||||
"etc" : {
|
|
||||||
"psa_config" : {
|
|
||||||
"DC2C_print01" : "6471d430aeacd9858f395de3bf1ac769",
|
|
||||||
"DC2C_print02" : "e3a0a2909e7ee5d72af6867e7b95b6e4",
|
|
||||||
"DC2C_print03" : "6fc45b54f7c6d39c76d65740700c011a",
|
|
||||||
"DC2C_print04" : "89768a07b40b4f60dda3d8f8c1dfc18a",
|
|
||||||
"DC2C_print05" : "4f11024b0f07573c3c7774761c5d2dec",
|
|
||||||
"DC2C_print06" : "6304a88d49eb4ee8c81bb9a7f7ce2fbb",
|
|
||||||
"DC2C_print07" : "eaaff0172af0b36e20749ea241f023f6",
|
|
||||||
"DC2C_print08" : "27c6d96adc6bf1e512c284b9067e41a3",
|
|
||||||
"DC2C_print09" : "3b3b8f42e7f0f3d8fa7c0a69656631f9",
|
|
||||||
"DC2C_print10" : "5e165046ff4b9b437331d4d6e336ade0",
|
|
||||||
"DC2C_print11" : "98211929ed8d8ef2d01b9f2b6db77181",
|
|
||||||
"DC2C_print12" : "8612e55a02c8c803eb4e948ed372725c",
|
|
||||||
"DC2C_print13" : "5d01caf4cd6382eb606efff873b567bd",
|
|
||||||
"DC2C_print14" : "2dfa3a8bd7cb8d0076c097343cb02e7d",
|
|
||||||
"DC2C_print15" : "dd96ddaffaad12c45fed3229de3a0884",
|
|
||||||
"DC2C_print16" : "279f7ebaf5dc1fd379f1f836c6ec2304",
|
|
||||||
"DC2C_print17" : "934aef4475a9189ff5b7e46e7b3159d1",
|
|
||||||
"DC2C_print18" : "2f7ead8b83cd058b50c2261e8743f32a",
|
|
||||||
"DC2C_print19" : "c8ed484cedf585b25d18136d5a3480fb",
|
|
||||||
"DC2C_print20" : "2d4db9e692cbb0a399b4a652b694bbde",
|
|
||||||
"DC2C_print21" : "0bee561a835cbaaf8e569739230ee23c",
|
|
||||||
"DC2C_print22" : "e2d53c6ffe30be1b36be98b2a3d49a6c",
|
|
||||||
"DC2C_print23" : "5959737a61d01be103fa13a2047578a0",
|
|
||||||
"DC2C_print24" : "cb39f44446b50811e6fa7d78f701620b",
|
|
||||||
"DC2C_print25" : "8025b245ccec28421a8e1be9110b25c1",
|
|
||||||
"DC2C_print26" : "bbd098a6232006af55a6468ed45e03d9",
|
|
||||||
"DC2C_print27" : "57b8305f2c8f031f1888adecb53b8417",
|
|
||||||
"DC2C_print28" : "4e2be8b30e3813aa1ea7f1106ab8b20c",
|
|
||||||
"DC2C_print29" : "8a24198dc52ed054a3f1ff755a04cdcc",
|
|
||||||
"DC2C_print30" : "266037bd9349e4f58d5de0b5532898c2",
|
|
||||||
"DC2C_print31" : "9728e490441bd088d2f9e03e71f3105a",
|
|
||||||
"DC2C_conf" : "56526d457b91d300968f6106648981fd",
|
|
||||||
"DC2C_cash" : "75c180260030b00aeb3ba98b2179c188",
|
|
||||||
"DC2C_serial" : "557374244a352579ab87057f759ea67e"
|
|
||||||
},
|
|
||||||
"psa_update" : {
|
|
||||||
"opkg_commands": "c0e4bf23a2a766d9bf655532751069a4"
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
]
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"c19" : "opkg-files section",
|
|
||||||
"opkg" : {
|
|
||||||
"atbqt" : {
|
|
||||||
"Version" : "1.0.0-r1",
|
|
||||||
"MD5Sum" : "642eda2b3637291b024ef152479218bc",
|
|
||||||
"Architecture" : "cortexa9t2hf-neon"
|
|
||||||
},
|
|
||||||
"ptu5-atb-apinfo" : {
|
|
||||||
"Version" : "0.1.0-r0",
|
|
||||||
"MD5Sum" : "a8f826b1618b62a5fe5dd491294e5c02",
|
|
||||||
"Architecture" : "cortexa9t2hf-neon"
|
|
||||||
},
|
|
||||||
"atb-plugin-calculateprice-prm" : {
|
|
||||||
"Version" : "1.0.0-r0",
|
|
||||||
"MD5Sum" : "7d2d37fc3143891714faaba31957ade7",
|
|
||||||
"Architecture" : "cortexa9t2hf-neon"
|
|
||||||
},
|
|
||||||
"atb-plugin-cc-tcpzvt" : {
|
|
||||||
"Version" : "1.0.0-r0",
|
|
||||||
"MD5Sum" : "546e2a7444eea2234af4b2d1a720930f",
|
|
||||||
"Architecture" : "cortexa9t2hf-neon"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user