Compare commits

...

10 Commits

4 changed files with 255 additions and 113 deletions

66
etc/atb/SystemControl.ini Normal file
View File

@ -0,0 +1,66 @@
[AT_TASKS]
1\arguments=restart, atbapp
1\envs=
1\hourOfDay=4
1\id=ATBAPP_RESTART
1\program=/bin/systemctl
2\arguments=restart, apism
2\envs=
2\hourOfDay=4
2\id=APISM_RESTART
2\program=/bin/systemctl
3\arguments=start, atbupdatetool
3\envs=
3\hourOfDay=1
3\id=PTU5UPDATE
3\program=/bin/systemctl
size=3
[BACKLIGHT]
SensorMax=3500
SensorMin=0
curve=1
dimLowValue=499
dimMax=100
dimMin=20
inputBrightness=30
[COMMON]
startBacklightController=true
startMQTTController=false
startMonitoringController=false
startSuspendController=true
[MONITORING]
http_dataFormat=HTTP
http_host=127.0.0.1
http_ignoreSslErrors=on
http_port=5000
http_protocol=http
http_service=
monitoring_heartbeatInterval=60
protocol=mqtt
useDeviceId=on
useRingbuffer=on
[MQTT]
mqtt_QoS=0
mqtt_TopicDeviceType=MP
mqtt_TopicPrefix=ATB
mqtt_TopicScheme=ATB_ISMAS
mqtt_debug=on
mqtt_host=mqtt2.atb-comm.de
mqtt_password=xyz123
mqtt_port=8883
mqtt_useSsl=on
mqtt_username=testuser
[NETWORKCHECK]
PingHost=google.com
networkRestart=/sbin/ifup -a
setOOO=off
useNetworkCheck=on
[SUSPEND]
program=/home/root/system_powerdown_wakeup.sh
suspendLoopTimerValue=8

View File

@ -1,115 +1,7 @@
[COMMON]
com_port_name=/dev/ttyS1
com_baud_rate=9600
lang1=lt_LT
lang2=en_GB
lang3=de_DE
lang4=ru_RU
lang5=
defaultLanguage=1
CharacterSet="ISO 8859-13"
showInfoButton=false
showHelpButton=false
#useLanguage=[128+][64+][32+][16]
useLanguage=240
#usePayment=[128+][64+][32+][16]
usePayment=96
#useVehicle=[128+][64+][32+][16+][8]
useVehicle=192
#useProduct=[128+][64+][32+][16+][8]
useProduct=192
textfile=/opt/app/ATBAPP/text/HMI_Texte.xml
logfile=/var/log/atbqt.log
alternativeLogoFile=/opt/app/ATBAPP/logo/logo_klaipeda2.png
feature_Log=off
feature_TouchFeedback=off
feature_StartButton=on
feature_selfOOO=off
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,0"
sc_35="0,0,0"
sc_51="1,0,1"
sc_52="1,0,0"
sc_53="1,0,0"
[PLUGINS]
CCPlugin=AsyncPOS_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=
currencyISOCode=EUR
cashVariant=CoinsAndNotes
paymentPointInTime=poa
useDecimal=yes
[MOBILISIS_CalculatePricePlugin]
useDebug=1
tariffFileName=/etc/psa_tariff/tariff01.json
[ATBDeviceControllerPlugin] [ATBDeviceControllerPlugin]
printerEncoding=Windows-1257
printerLocale=lt_LT
serialPort=ttymxc2 serialPort=ttymxc2
printerEncoding="Windows-1257"
printerLocale="lt_LT"
[TCP_ZVT_CCPlugin]
CurrencyCode=EUR
debug=1
IP=192.168.6.242
Port=22000
SSL=0
ZVT=DE
sleep=1
printIntermediateStatus=1
Password=277296
NumberOfChars=37
dcHours="0"
[AsyncPOS_CCPlugin] [AsyncPOS_CCPlugin]
APAK=8AC304380E0E476BA2558B75DB9E2516 APAK=8AC304380E0E476BA2558B75DB9E2516
@ -122,3 +14,102 @@ debug=1
parity=0 parity=0
sleep=0 sleep=0
stopBits=1 stopBits=1
terminalPowerOnOffHours="06:00:00,22:00:00"
[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-13
alternativeLogoFile=/opt/app/ATBAPP/logo/logo_Palanga.png
com_baud_rate=9600
com_port_name=/dev/ttyS1
defaultLanguage=1
feature_DBusDisplayControl=on
feature_DBusDisplayDimLow=off
feature_DBusSuspendControl=off
feature_Log=off
feature_ShowParkingTime=off
feature_StartButton=on
feature_TouchFeedback=off
feature_selfOOO=off
lang1=lt_LT
lang2=en_GB
lang3=de_DE
lang4=ru_RU
lang5=
logfile=/var/log/atbqt.log
ooo_alternativeLocation=
ooo_mode=otherMachine
ooo_serviceEmail=
ooo_serviceNumber=
sellTimeout_time=60
showHelpButton=false
showInfoButton=false
statefile=/etc/atbapp/states/APP_States.xml
suspend_methode=sysfs
suspend_program=
suspend_time=8
textfile=/etc/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=192
useVehicle=192
[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=CoinsAndNotes
currencyISOCode=EUR
currencySymbol=
paymentPointInTime=poa
useDecimal=yes
useHonestPayment=on
[PLUGINS]
CCPlugin=AsyncPOS_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,0"
sc_51="1,0,1"
sc_52="1,0,0"
sc_53="1,0,0"
[TCP_CONTROL]
enable=1
[TCP_ZVT_CCPlugin]
CurrencyCode=EUR
IP=192.168.6.242
NumberOfChars=37
Password=277296
Port=22000
SSL=0
ZVT=DE
dcHours=0
debug=1
printIntermediateStatus=1
sleep=1

View File

@ -1,6 +1,6 @@
{ {
"Project" : "Kleipeda", "Project" : "Kleipeda",
"Version" : "2.0.0-2024-10-01T09:32:12+02:00", "Version" : "2.1.0-2024-12-13T12:36:12+02:00",
"Info" : "Red Zone (center)", "Info" : "Red Zone (center)",
"Currency": [ "Currency": [
{ {
@ -2314,6 +2314,87 @@
} }
}], }],
"Wednesday" : [{ "Wednesday" : [{
"2025-01-01" : {
"payment_settings" : [
{
"min_time" : 12,
"max_time" : 840,
"max_price": 2100,
"min_price": 30
}
],
"prepaid_settings" : [
{
"prepaid_ranges" : [
{
"prepaid_id" : 1,
"prepaid_duration": 480,
"prepaid_start" : "00:00:00",
"prepaid_end": "08:00:00"
},
{
"prepaid_id" : 2,
"prepaid_duration": 120,
"prepaid_start" : "12:00:00",
"prepaid_end": "14:00:00"
},
{
"prepaid_id" : 3,
"prepaid_duration": 240,
"prepaid_start" : "20:00:00",
"prepaid_end": "24:00:00"
}
]
}
],
"carry_over_settings" : [
{
"carry_over_ranges" : [
{
"carry_over_id" : 1,
"carry_over_if": "always",
"carry_over_duration": 480,
"carry_over_start" : "00:00:00",
"carry_over_end": "08:00:00"
},
{
"carry_over_id" : 2,
"carry_over_if": "always",
"carry_over_duration": 120,
"carry_over_start" : "12:00:00",
"carry_over_end": "14:00:00"
},
{
"carry_over_id" : 3,
"carry_over_if": "always",
"carry_over_duration": 240,
"carry_over_start" : "20:00:00",
"carry_over_end": "24:00:00"
}
]
}
],
"service_settings" : [
{
"service_ranges" : [
{
"service_id" : 1,
"service_duration": 240,
"service_start" : "08:00:00",
"service_end": "12:00:00"
},
{
"service_id" : 2,
"service_duration": 360,
"service_start" : "14:00:00",
"service_end": "20:00:00"
}
]
}
],
"out_of_service_settings" : [
]
},
"default" : { "default" : {
"payment_settings" : [ "payment_settings" : [
{ {

View File

@ -14,7 +14,9 @@ opkg --cache /var/cache/opkg --download-only upgrade atb-dc-libraries
opkg --cache /var/cache/opkg --download-only upgrade atb-plugin-dc opkg --cache /var/cache/opkg --download-only upgrade atb-plugin-dc
opkg --cache /var/cache/opkg --download-only upgrade atbqt opkg --cache /var/cache/opkg --download-only upgrade atbqt
opkg --cache /var/cache/opkg --download-only upgrade ptu5-systemcontroller opkg --cache /var/cache/opkg --download-only upgrade ptu5-systemcontroller
opkg --cache /var/cache/opkg --download-only upgrade ptu-package-versions opkg --cache /var/cache/opkg --download-only install ptu-package-versions
opkg --cache /var/cache/opkg --download-only install wbdw
opkg --cach /var/cache/opkg --download-only upgrade ptu5-sysconfig
# #
opkg --cache /var/cache/opkg upgrade atb-plugin-calculateprice-mobilisis opkg --cache /var/cache/opkg upgrade atb-plugin-calculateprice-mobilisis
opkg --cache /var/cache/opkg upgrade libmobilisis-calc opkg --cache /var/cache/opkg upgrade libmobilisis-calc
@ -23,4 +25,6 @@ opkg --cache /var/cache/opkg upgrade atb-dc-libraries
opkg --cache /var/cache/opkg upgrade atb-plugin-dc opkg --cache /var/cache/opkg upgrade atb-plugin-dc
opkg --cache /var/cache/opkg upgrade atbqt opkg --cache /var/cache/opkg upgrade atbqt
opkg --cache /var/cache/opkg upgrade ptu5-systemcontroller opkg --cache /var/cache/opkg upgrade ptu5-systemcontroller
opkg --cache /var/cache/opkg upgrade ptu-package-versions opkg --cache /var/cache/opkg install ptu-package-versions
opkg --cache /var/cache/opkg install wbdw
opkg --cache /var/cache/opkg upgrade ptu5-sysconfig