12 Commits

Author SHA1 Message Date
136968bd71 Add et/psa_tariff 2024-03-21 13:01:42 +01:00
6badbb033c removed plain text 2024-03-19 16:08:04 +01:00
fda8568f97 add for config of webinterface 2024-03-19 13:35:23 +01:00
423c6bf77f add current tarif-files 2023-08-04 09:05:07 +02:00
21847afbe5 add current tarif-files 2023-08-04 09:04:41 +02:00
df87e70fd8 test 1 2023-07-26 16:00:14 +02:00
20b3d8915e Set max_time to 240 2023-07-25 09:57:59 +02:00
a848baadf8 use copy of customer_281 2023-07-25 09:28:08 +02:00
e7e793cc3a use copy of zg1/zone1 2023-07-25 09:26:03 +02:00
49c00bb0ca test 4 2023-07-25 08:54:55 +02:00
5e3a25e07d test 2 2023-07-25 08:53:53 +02:00
b3bded3efd test 2 2023-07-25 08:52:47 +02:00
6 changed files with 2691 additions and 86 deletions

View File

@@ -35,10 +35,11 @@
"pop_day_night_end_time": "16:30:00", "pop_day_night_end_time": "16:30:00",
"pop_price_night": 0, "pop_price_night": 0,
"pop_min_time": 15, "pop_min_time": 15,
"pop_max_time": 600, "pop_max_time": 240,
"pop_min_price": 0, "pop_min_price": 0,
"pop_carry_over": 1, "pop_carry_over": 1,
"pop_daily_card_price": 2400 "pop_daily_card_price": 2400,
"pop_multi_hour_price": 0
} }
], ],
"PaymentRate": [ "PaymentRate": [
@@ -63,6 +64,11 @@
"pun_id": 4, "pun_id": 4,
"pun_label": "1 min", "pun_label": "1 min",
"pun_duration": 1 "pun_duration": 1
},
{
"pun_id": 5,
"pun_label": "Voller Tag",
"pun_duration": 1441
} }
], ],
"WeekDaysWorktime": [ "WeekDaysWorktime": [
@@ -166,6 +172,22 @@
"pye_start_day": 1, "pye_start_day": 1,
"pye_end_month": 12, "pye_end_month": 12,
"pye_end_day": 31 "pye_end_day": 31
},
{
"pye_id": 17,
"pye_label": "Whole year",
"pye_start_month": 1,
"pye_start_day": 1,
"pye_end_month": 12,
"pye_end_day": 31
},
{
"pye_id": 18,
"pye_label": "Whole Year",
"pye_start_month": 1,
"pye_start_day": 1,
"pye_end_month": 12,
"pye_end_day": 31
} }
], ],
"SpecialDaysWorktime": [ "SpecialDaysWorktime": [
@@ -462,6 +484,146 @@
"pedwt_time_from": "00:00:00", "pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00", "pedwt_time_to": "00:00:00",
"pedwt_price": 0 "pedwt_price": 0
},
{
"pedwt_id": 2271,
"pedwt_period_exc_day_id": 2072,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2272,
"pedwt_period_exc_day_id": 2073,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2273,
"pedwt_period_exc_day_id": 2074,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2274,
"pedwt_period_exc_day_id": 2075,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2275,
"pedwt_period_exc_day_id": 2076,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2276,
"pedwt_period_exc_day_id": 2077,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2277,
"pedwt_period_exc_day_id": 2078,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2278,
"pedwt_period_exc_day_id": 2079,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2279,
"pedwt_period_exc_day_id": 2080,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2280,
"pedwt_period_exc_day_id": 2081,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2281,
"pedwt_period_exc_day_id": 2082,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2282,
"pedwt_period_exc_day_id": 2083,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2283,
"pedwt_period_exc_day_id": 2084,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2284,
"pedwt_period_exc_day_id": 2085,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2285,
"pedwt_period_exc_day_id": 2086,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2286,
"pedwt_period_exc_day_id": 2087,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2287,
"pedwt_period_exc_day_id": 2088,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2288,
"pedwt_period_exc_day_id": 2089,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2289,
"pedwt_period_exc_day_id": 2090,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2290,
"pedwt_period_exc_day_id": 2091,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
} }
], ],
"SpecialDays": [ "SpecialDays": [
@@ -800,6 +962,168 @@
"ped_date_end": "2024-05-19", "ped_date_end": "2024-05-19",
"ped_period_special_day_id": 2, "ped_period_special_day_id": 2,
"ped_year": 2024 "ped_year": 2024
},
{
"ped_id": 2072,
"ped_label": "Christmas 1st day",
"ped_date_start": "2022-12-25",
"ped_date_end": "2022-12-25",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2073,
"ped_label": "Christmas 2nd day",
"ped_date_start": "2022-12-26",
"ped_date_end": "2022-12-26",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2074,
"ped_label": "Republic Day (Hungary)",
"ped_date_start": "2022-10-23",
"ped_date_end": "2022-10-23",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2075,
"ped_label": "Christmas (Sunday)",
"ped_date_start": "2022-12-24",
"ped_date_end": "2022-12-24",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2076,
"ped_label": "Holiday (Hungary)",
"ped_date_start": "2022-12-31",
"ped_date_end": "2022-12-31",
"ped_period_special_day_id": 1,
"ped_year": 0
},
{
"ped_id": 2077,
"ped_label": "NewYear",
"ped_date_start": "2023-01-01",
"ped_date_end": "2023-01-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2078,
"ped_label": "Good Friday",
"ped_date_start": "2023-04-07",
"ped_date_end": "2023-04-07",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2079,
"ped_label": "Easter Sunday",
"ped_date_start": "2023-04-09",
"ped_date_end": "2023-04-09",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2080,
"ped_label": "Easter Monday",
"ped_date_start": "2023-04-10",
"ped_date_end": "2023-04-10",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2081,
"ped_label": "Whit Sunday",
"ped_date_start": "2023-05-28",
"ped_date_end": "2023-05-28",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2082,
"ped_label": "Whit Monday",
"ped_date_start": "2023-05-29",
"ped_date_end": "2023-05-29",
"ped_period_special_day_id": 2,
"ped_year": 2023
},
{
"ped_id": 2083,
"ped_label": "Revolution Day (Hungary)",
"ped_date_start": "2023-03-15",
"ped_date_end": "2023-03-15",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2084,
"ped_label": "Labour Day",
"ped_date_start": "2023-05-01",
"ped_date_end": "2023-05-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2085,
"ped_label": "Saint Stephens Day (Hungary)",
"ped_date_start": "2023-08-20",
"ped_date_end": "2023-08-20",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2086,
"ped_label": "All Saints Day",
"ped_date_start": "2023-11-01",
"ped_date_end": "2023-11-01",
"ped_period_special_day_id": 2,
"ped_year": 0
},
{
"ped_id": 2087,
"ped_label": "Good Friday",
"ped_date_start": "2024-03-29",
"ped_date_end": "2024-03-29",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2088,
"ped_label": "Easter",
"ped_date_start": "2024-03-31",
"ped_date_end": "2024-03-31",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2089,
"ped_label": "Easter Monday",
"ped_date_start": "2024-04-01",
"ped_date_end": "2024-04-01",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2090,
"ped_label": "Whit Monday",
"ped_date_start": "2024-05-20",
"ped_date_end": "2024-05-20",
"ped_period_special_day_id": 2,
"ped_year": 2024
},
{
"ped_id": 2091,
"ped_label": "Whit Sunday",
"ped_date_start": "2024-05-19",
"ped_date_end": "2024-05-19",
"ped_period_special_day_id": 2,
"ped_year": 2024
} }
] ]
} }

1134
etc/psa_tariff/tariff05.json Normal file

File diff suppressed because it is too large Load Diff

1134
etc/psa_tariff/tariff06.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -28,6 +28,7 @@
# 2023-07-18-14: test # 2023-07-18-14: test
# 2023-07-19-1: test # 2023-07-19-1: test
# 2023-07-19-2: test via service-menu # 2023-07-19-2: test via service-menu
# 2023-07-26-1: test
# opkg info ptu5-gitinstaller # opkg info ptu5-gitinstaller
# opkg info atbqt # opkg info atbqt
opkg update opkg update

View File

@@ -0,0 +1,32 @@
{
"File-Menue": [
{
"Name": "Tarif Zone 1",
"File-ID": "customer_999/etc/psa_tariff:zg1/zone1"
},
{
"Name": "Tarif Zone 2",
"File-ID": "customer_999/etc/psa_tariff:zg1/zone2"
},
{
"Name": "Tarif Zone 3",
"File-ID": "customer_999/etc/psa_tariff:zg1/zone3"
},
{
"Name": "Tarif Zone 4",
"File-ID": "customer_999/etc/psa_tariff:zg1/zone4"
},
{
"Name": "Tarif Zone 5",
"File-ID": "customer_999/etc/psa_tariff:zg1/zone5"
},
{
"Name": "Tarif Zone 6",
"File-ID": "customer_999/etc/psa_tariff:zg1/zone6"
},
{
"Name": "Basic Configuration",
"File-ID": "customer_999/etc/psa_tariff:master"
}
]
}

View File

@@ -1,110 +1,90 @@
[ATBDeviceControllerPlugin]
serialPort=ttymxc2
[COMMON] [COMMON]
com_port_name=/dev/ttyS1 %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_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 lang1=hu_HU
lang2=en_GB lang2=en_GB
lang3=de_DE lang3=de_DE
lang4=sr lang4=sr
lang5=ro_RO 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 logfile=/var/log/atbqt.log
alternativeLogoFile= ooo_alternativeLocation=
ooo_mode=otherMachine
feature_Log=off ooo_serviceEmail=
feature_TouchFeedback=off ooo_serviceNumber=
feature_DisplayControl=off sellTimeout_time=60
feature_SystemSuspend=off showHelpButton=false
feature_StartButton=on showInfoButton=false
feature_selfOOO=off statefile=/opt/app/ATBAPP/states/APP_States.xml
feature_DBusDisplayControl=on
feature_DBusSuspendControl=on
feature_ShowParkingTime=off
suspend_methode=sysfs suspend_methode=sysfs
suspend_program= suspend_program=
suspend_time=8 suspend_time=8
textfile=/opt/app/ATBAPP/text/HMI_Texte.xml
touch_feedback_gpio=121 touch_feedback_gpio=121
touch_feedback_on_value=1
touch_feedback_off_value=0 touch_feedback_off_value=0
touch_feedback_on_value=1
#ooo_mode={useDisk|otherMachine}
ooo_mode=otherMachine
sellTimeout_time=60
showInfoButton=false
showHelpButton=false
useAppStates=1 useAppStates=1
statefile=/opt/app/ATBAPP/states/APP_States.xml useLanguage=240
usePayment=96
useProduct=240
useVehicle=240
[SCREENCONFIG] [IngenicoISelf_CCPlugin]
sc_31="1,1,0" Currency=HUF
sc_33="1,0,1" PortName=/dev/ttymxc0
sc_3F="1,0,0" ZVT=DE
sc_40="1,0,1" debug=1
sc_41="1,0,1" sleep=1
sc_35="0,0,0" sleepExtended=1
sc_51="1,0,1"
sc_52="1,0,0"
sc_53="1,0,0"
[MOBILISIS_CalculatePricePlugin]
tariffFileName=/etc/psa_tariff/tariff01.json
useDebug=1
[PAYMENT]
cashVariant=CoinsOnly
currencyISOCode=HUF
currencySymbol=Ft
paymentPointInTime=poa
useHonestPayment=on
[PLUGINS] [PLUGINS]
CCPlugin=IngenicoISelf_CCPlugin CCPlugin=IngenicoISelf_CCPlugin
CalculatePricePlugin=MOBILISIS_CalculatePricePlugin CalculatePricePlugin=MOBILISIS_CalculatePricePlugin
DeviceControllerPlugin=ATBDeviceControllerPlugin DeviceControllerPlugin=ATBDeviceControllerPlugin
[SCREENCONFIG]
[IngenicoISelf_CCPlugin] sc_31="1,1,0"
debug=1 sc_33="1,0,1"
PortName=/dev/ttymxc0 sc_35="0,0,0"
ZVT=DE sc_3F="1,0,0"
sleep=1 sc_40="1,0,1"
sleepExtended=1 sc_41="1,0,1"
Currency=HUF sc_51="1,0,1"
sc_52="1,0,0"
sc_53="1,0,0"
[TCP_CONTROL] [TCP_CONTROL]
enable=1 enable=1
###
[PAYMENT]
currencySymbol=Ft
currencyISOCode=HUF
cashVariant=CoinsOnly
paymentPointInTime=poa
[MOBILISIS_CalculatePricePlugin]
useDebug=1
tariffFileName=/etc/psa_tariff/tariff01.json
[ATBDeviceControllerPlugin]
serialPort=ttymxc2
# Thu Jul 20 01:26:27 PM CEST 2023
# Thu Jul 20 01:30:54 PM CEST 2023
# Thu Jul 20 01:48:33 PM CEST 2023
# Thu Jul 20 02:02:54 PM CEST 2023
# Fri Jul 21 10:50:01 AM CEST 2023
# Fri Jul 21 11:08:00 AM CEST 2023
# Fri Jul 21 11:27:50 AM CEST 2023
# Fri Jul 21 11:46:53 AM CEST 2023