Compare commits

..

3 Commits

5 changed files with 3270 additions and 401 deletions

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

@ -0,0 +1,85 @@
[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
#4\arguments=
#4\envs=
#4\hourOfDay=0
#4\id=REBOOT_0
#4\program=/sbin/reboot
#5\arguments=
#5\envs=
#5\hourOfDay=7
#5\id=REBOOT_7
#5\program=/sbin/reboot
#6\arguments=
#6\envs=
#6\hourOfDay=13
#6\id=REBOOT_13
#6\program=/sbin/reboot
size=3
[BACKLIGHT]
SensorMax=3500
SensorMin=0
curve=1
dimLowValue=499
dimMax=100
dimMin=20
inputBrightness=499
[COMMON]
startBacklightController=true
startMQTTController=true
startMonitoringController=true
startSuspendController=false
[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

110
etc/atbapp/ATBAPP.ini Normal file
View File

@ -0,0 +1,110 @@
[COMMON]
com_port_name=/dev/ttyS2
com_baud_rate=9600
lang1=de_DE
lang2=it_IT
lang3=en_GB
lang4=fr_FR
defaultLanguage=1
CharacterSet="ISO 8859-15"
#useLanguage=[128+][64+][32+][16]
useLanguage=240
#usePayment=[128+][64+][32+][16]
usePayment=96
#useVehicle=[128+][64+][32+][16]
useVehicle=192
useProduct=192
showInfoButton=false
showHelpButton=false
textfile=/opt/app/ATBAPP/text/HMI_Texte.xml
logfile=/var/log/atbqt.log
alternativeLogoFile=
#alternativeLogoFile=
feature_Log=off
feature_TouchFeedback=off
feature_StartButton=on
feature_selfOOO=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=60
useAppStates=1
statefile=/opt/app/ATBAPP/states/APP_States.xml
[SCREENCONFIG]
sc_31="0,1,0"
sc_33="1,0,1"
sc_3F="1,0,0"
sc_40="1,0,1"
sc_41="1,0,1"
sc_44="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
[TCP_CONTROL]
enable=0
[PAYMENT]
currencySymbol=
currencyISOCode=EUR
cashVariant=Coins
paymentPointInTime=poa
useDecimal=yes
[MOBILISIS_CalculatePricePlugin]
useDebug=1
tariffFileName=/etc/psa_tariff/tariff01.json
[ATBDeviceControllerPlugin]
serialPort=ttymxc2
printerEncoding="Windows-1252"
[IngenicoZVT_CCPlugin]
debug=1
PortName=/dev/ttyS3
ZVT=AT
sleep=0
CurrencyCode=EUR
dcHours="0"
[TCP_ZVT_CCPlugin]
CurrencyCode=EUR
debug=1
IP=192.168.6.242
Port=22000
SSL=0
ZVT=DE
sleep=1
printIntermediateStatus=1
Password=835322
NumberOfChars=37
dcHours="0"
[IngenicoISelf_CCPlugin]
debug=1
PortName=/dev/ttymxc0
sleep=0
sleepExtended=0
Currency=EUR

View File

@ -0,0 +1,217 @@
<?xml version="1.0" encoding="UTF-8"?>
<ATB_APP_STATES version="1.1">
<APP_STATE name="IDLE">
<EVENT name="BUTTON_START" resultingState="SETUP_SELL_STATE"/>
<EVENT name="SELL_DISABLE" resultingState="FREE_PARK"/>
<EVENT name="RECEIVED_DC_COIN_ATTACHED" resultingState="SETUP_DIRECT_COIN_INPUT"/>
<SCREEN name="START"/>
<MODE name="IDLE"/>
</APP_STATE>
<APP_STATE name="FREE_PARK">
<EVENT name="SELL_ENABLE" resultingState="IDLE"/>
<SCREEN name="START"/>
<MODE name="IDLE"/>
</APP_STATE>
<APP_STATE name="SETUP_DIRECT_COIN_INPUT">
<ENTRY_TASK name="TIMER" timeout="500"/>
<EVENT name="TIMEOUT" resultingState="CASH_PAYMENT"
setCashInputMode="PAY_UP"
setProduct="SHORT_TERM_PARKING"
setPaymentType="CASH"/>
</APP_STATE>
<APP_STATE name="SETUP_SELL_STATE">
<ENTRY_TASK name="TIMER" timeout="500"/>
<EVENT name="TIMEOUT" resultingState="PARKTIME_SELECTION" setCashInputMode="PAY_DOWN" setProduct="SHORT_TERM_PARKING"/>
</APP_STATE>
<APP_STATE name="LICENSEPLATE_INPUT">
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="BUTTON_NEXT" resultingState="PRODUCT_SELECTION"/>
<SCREEN name="LICENSEPLATE_INPUT"/>
</APP_STATE>
<APP_STATE name="PRODUCT_SELECTION">
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="BUTTON_VEHICLE_1" resultingState="PAYMENT_SELECTION_SHORT_TIME" setCashInputMode="PAY_UP" setProduct="SHORT_TERM_PARKING"/>
<EVENT name="BUTTON_VEHICLE_2" resultingState="PAYMENT_SELECTION_DAY" setCashInputMode="PAY_DOWN" setProduct="DAY_TICKET"/>
<SCREEN name="PRODUCT_SELECTION"/>
</APP_STATE>
<APP_STATE name="PARKTIME_SELECTION">
<ENTRY_TASK name="REQUEST_INITIAL_PRICE"/>
<EVENT name="BUTTON_PLUS_STEP" resultingState="PARKTIME_SELECTION_PLUS"/>
<EVENT name="BUTTON_MINUS_STEP" resultingState="PARKTIME_SELECTION_MINUS"/>
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="BUTTON_BACK" resultingState="IDLE"/>
<EVENT name="BUTTON_NEXT" resultingState="PAYMENT_SELECTION"/>
<SCREEN name="PARKTIME_SELECTION"/>
</APP_STATE>
<APP_STATE name="PARKTIME_SELECTION_PLUS">
<ENTRY_TASK name="REQUEST_STEP_UP_PRICE"/>
<EVENT name="BUTTON_PLUS_STEP" resultingState="PARKTIME_SELECTION_PLUS"/>
<EVENT name="BUTTON_MINUS_STEP" resultingState="PARKTIME_SELECTION_MINUS"/>
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="BUTTON_BACK" resultingState="IDLE"/>
<EVENT name="BUTTON_NEXT" resultingState="PAYMENT_SELECTION"/>
</APP_STATE>
<APP_STATE name="PARKTIME_SELECTION_MINUS">
<ENTRY_TASK name="REQUEST_STEP_DOWN_PRICE"/>
<EVENT name="BUTTON_PLUS_STEP" resultingState="PARKTIME_SELECTION_PLUS"/>
<EVENT name="BUTTON_MINUS_STEP" resultingState="PARKTIME_SELECTION_MINUS"/>
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="BUTTON_BACK" resultingState="IDLE"/>
<EVENT name="BUTTON_NEXT" resultingState="PAYMENT_SELECTION"/>
</APP_STATE>
<APP_STATE name="PAYMENT_SELECTION">
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
<EVENT name="BUTTON_PAYMETHOD_1" resultingState="IDLE"/>
<EVENT name="BUTTON_PAYMETHOD_2" resultingState="CASH_PAYMENT" setPaymentType="CASH"/>
<EVENT name="BUTTON_PAYMETHOD_3" resultingState="CARD_PAYMENT" setPaymentType="CARD"/>
<EVENT name="BUTTON_PAYMETHOD_4" resultingState="IDLE"/>
<SCREEN name="PAYMENT_SELECTION"/>
</APP_STATE>
<APP_STATE name="CARD_PAYMENT">
<ENTRY_TASK name="REQUEST_PARKING_ENDTIME" key="PRICE_INFO_GROSS"/>
<ENTRY_TASK name="REQUEST_CC_START_TRANSACTION"/>
<EVENT name="RECEIVED_CARD_TRANSACTION_SUCCESS" resultingState="PRINT_TICKET_CARD"/>
<EVENT name="RECEIVED_CARD_TRANSACTION_ERROR" resultingState="CC_PAYMENT_ERROR"/>
<EVENT name="BUTTON_CANCEL" resultingState="USER_CC_ABORT"/>
<SCREEN name="CC_PAYMENT"/>
</APP_STATE>
<APP_STATE name="CASH_PAYMENT">
<ENTRY_TASK name="REQUEST_CASH_INPUT"/>
<EVENT name="RECEIVED_CASH_INPUT" resultingState="CASH_PAYMENT_INPUT"/>
<EVENT name="RECEIVED_CASH_INPUT_ERROR" resultingState="CASH_PAYMENT_ERROR"/>
<EVENT name="BUTTON_CANCEL" resultingState="CASH_PAYMENT_ABORT"/>
<SCREEN name="COIN_PAYMENT"/>
</APP_STATE>
<APP_STATE name="CASH_PAYMENT_INPUT">
<ENTRY_TASK name="REQUEST_PARKING_ENDTIME"/>
<EVENT name="RECEIVED_CASH_INPUT" resultingState="CASH_PAYMENT_INPUT"/>
<EVENT name="RECEIVED_CASH_INPUT_OVERPAYED" resultingState="CASH_OVERPAYED_ASK"/>
<EVENT name="RECEIVED_CASH_INPUT_FINISHED" resultingState="PRINT_TICKET_CASH"/>
<EVENT name="RECEIVED_CASH_INPUT_ERROR" resultingState="CASH_PAYMENT_ERROR"/>
<EVENT name="BUTTON_CANCEL" resultingState="CASH_PAYMENT_ABORT"/>
<EVENT name="BUTTON_NEXT" task="PAYMENT_ACCEPTED" resultingState="CASH_PAYMENT_INPUT"/>
</APP_STATE>
<APP_STATE name="CASH_PAYMENT_ERROR">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="CASH_PAYMENT_FAILED" note="screennumber 0x39"/>
</APP_STATE>
<APP_STATE name="CASH_OVERPAYED_ASK">
<ENTRY_TASK name="PAYMENT_ACCEPTED"/>
<EVENT name="BUTTON_YES" resultingState="PRINT_TICKET_CASH"/>
<EVENT name="BUTTON_NO" resultingState="CASH_OVERPAYED_ABORT"/>
<SCREEN name="CASH_OVERPAYED" note="screennumber 0x3c"/>
</APP_STATE>
<APP_STATE name="CASH_OVERPAYED_ABORT">
<ENTRY_TASK name="REQUEST_ISAMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="CASH_CHANGE_OVERPAID" note="screennumber 0x8a"/>
</APP_STATE>
<APP_STATE name="CASH_PAYMENT_ABORT">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
</APP_STATE>
<!--
<APP_STATE name="PRINT_TICKET_WAIT">
<ENTRY_TASK name="TIMER" timeout="2000"/>
<EVENT name="TIMEOUT" resultingState="PRINT_TICKET"/>
<SCREEN name="BUSY"/>
</APP_STATE>
-->
<APP_STATE name="PRINT_TICKET_CASH">
<ENTRY_TASK name="REQUEST_PRINT_TICKET"/>
<EVENT name="PRINT_TICKET_FINISHED" resultingState="GOODBYE_PAYMENT_OK"/>
<EVENT name="PRINT_TICKET_ERROR" resultingState="PRINT_TICKET_FAILED"/>
<SCREEN name="SCREEN_WAITFOR"/>
</APP_STATE>
<APP_STATE name="PRINT_TICKET_CARD">
<ENTRY_TASK name="REQUEST_PRINT_TICKET"/>
<EVENT name="PRINT_TICKET_FINISHED" resultingState="CARD_PAYMENT_CONFIRM"/>
<EVENT name="PRINT_TICKET_ERROR" resultingState="PRINT_TICKET_FAILED"/>
<SCREEN name="SCREEN_WAITFOR"/>
</APP_STATE>
<APP_STATE name="PRINT_TICKET_FAILED">
<ENTRY_TASK name="REQUEST_CC_CANCEL_TRANSACTION"/>
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="CASH_ABORT"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="PRINT_TICKET_FAILED"/>
</APP_STATE>
<APP_STATE name="CARD_PAYMENT_CONFIRM">
<ENTRY_TASK name="REQUEST_CC_CONFIRM_TRANSACTION"/>
<EVENT name="RECEIVED_CARD_CONFIRM_TRANSACTION_SUCCESS" resultingState="GOODBYE_PAYMENT_OK"/>
<EVENT name="RECEIVED_CARD_CONFIRM_TRANSACTION_ERROR" resultingState="CC_PAYMENT_ERROR"/>
</APP_STATE>
<APP_STATE name="PRINT_RECEIPT">
<ENTRY_TASK name="REQUEST_PRINT_RECEIPT"/>
<EVENT name="PRINT_RECEIPT_FINISHED" resultingState="GOODBYE_PAYMENT_OK"/>
<EVENT name="PRINT_RECEIPT_ERROR" resultingState="PRINT_TICKET_FAILED"/>
</APP_STATE>
<APP_STATE name="GOODBYE_PAYMENT_OK">
<ENTRY_TASK name="CASH_COLLECT"/>
<ENTRY_TASK name="REQUEST_ISMAS_TRANSACTION"/>
<ENTRY_TASK name="TIMER" timeout="5000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="GOODBYE_PAYMENT_OK"/>
</APP_STATE>
<APP_STATE name="CC_PAYMENT_ERROR">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="CC_PAYMENT_ERROR"/>
</APP_STATE>
<APP_STATE name="USER_CC_ABORT">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="REQUEST_CC_CANCEL_TRANSACTION"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="USER_ABORT"/>
</APP_STATE>
<!-- ************** ABORT STATES ************** -->
<APP_STATE name="ABORT_NOCONNECTION">
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="ABORT_2"/>
</APP_STATE>
<APP_STATE name="ABORT_NOCARD">
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="ABORT_4"/>
</APP_STATE>
<APP_STATE name="ABORT_CARD_DENIED">
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="ABORT_5"/>
</APP_STATE>
<APP_STATE name="ABORT_NOT_ALLOWED">
<ENTRY_TASK name="REQUEST_ISMAS_FAIL_TRANSACTION"/>
<ENTRY_TASK name="TIMER" timeout="3000"/>
<EVENT name="TIMEOUT" resultingState="IDLE"/>
<SCREEN name="ABORT_6"/>
</APP_STATE>
</ATB_APP_STATES>

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"Project" : "Korneuburg",
"Version" : "1.0.0",
"Project" : "Valser Alm",
"Version" : "0.9.0",
"Info" : "",
"Currency": [
{
@ -11,6 +11,179 @@
"pcu_active": true
}
],
"Interpolation": [
{
"interpol_id": 1,
"interpol_id_comment": "no-interpolation"
},
{
"interpol_id": 2,
"interpol_id_comment": "fixed time values (wall-clock)",
"interpol_static_start": "",
"interpol_static_end": ""
},
{
"interpol_id": 3,
"interpol_id_comment": "static time point and duration",
"interpol_dynamic_start": "",
"interpol_dynamic_start_comment": "time-point (as wall-clock time)",
"interpol_dynamic_duration": 0,
"interpol_dynamic_duration_comment": "duration (in minutes)"
},
{
"interpol_id": 4,
"interpol_id_comment": "dynamic time point",
"interpol_dynamic_start": "",
"interpol_dynamic_start_comment": "time-point provided by user (as wall-clock time)",
"interpol_dynamic_duration": 0,
"interpol_dynamic_duration_comment": "duration (in minutes)"
},
{
"interpol_id": 5,
"interpol_id_comment": "dynamic time point",
"interpol_dynamic_start": "now",
"interpol_dynamic_start_comment": "time-point provided by user (abtract)",
"interpol_dynamic_duration": 0,
"interpol_dynamic_duration_comment": "duration (in minutes)"
},
{
"interpol_id": 6,
"interpol_id_comment": "dynamic time point",
"interpolation_seemless": false,
"interpolation_never" : false,
"interpol_dynamic_start": "now",
"interpol_dynamic_start_comment": "time-point provided by user (abtract)",
"interpol_dynamic_until_price": 0,
"interpol_dynamic_until_price_comment": "interpolate until price is reached",
"interpol_static_end": ""
},
{
"interpol_id": 7,
"interpol_id_comment": "dynamic time point",
"interpol_dynamic_start": "now",
"interpol_dynamic_start_comment": "time-point provided by user (abtract)",
"interpol_dynamic_end": "",
"interpol_dynamic_end_comment": "time-point provided by user (in minutes)"
}
],
"Prepaid": [
{
"prepaid_id": 1,
"prepaid_anytime": true,
"prepaid_never": false
},
{
"prepaid_id": 2,
"prepaid_anytime": false,
"prepaid_never": true
},
{
"prepaid_id": 3,
"prepaid_anytime": false,
"prepaid_never": false,
"prepaid_static_start": "19:00:00",
"prepaid_static_end": "07:00:00"
}
],
"CarryOver": [
{
"carry_over_id" : 1,
"carry_over_week" : [
{
"carry_over_day" : 1,
"carry_over_day_comment" : "Monday",
"carry_over_seemless": false,
"carry_over_never" : false,
"carry_over_duration": 720,
"carry_over_static_start" : "19:00:00",
"carry_over_static_end": "07:00:00"
},
{
"carry_over_day" : 2,
"carry_over_day_comment" : "Tuesday",
"carry_over_seemless": false,
"carry_over_never" : false,
"carry_over_duration": 720,
"carry_over_static_start" : "19:00:00",
"carry_over_static_end": "07:00:00"
},
{
"carry_over_day" : 3,
"carry_over_day_comment" : "Wednesday",
"carry_over_seemless": false,
"carry_over_never" : false,
"carry_over_duration": 720,
"carry_over_static_start" : "19:00:00",
"carry_over_static_end": "07:00:00"
},
{
"carry_over_day" : 4,
"carry_over_day_comment" : "Thursday",
"carry_over_seemless": false,
"carry_over_never" : false,
"carry_over_duration": 720,
"carry_over_static_start" : "19:00:00",
"carry_over_static_end": "07:00:00"
},
{
"carry_over_day" : 5,
"carry_over_day_comment" : "Friday",
"carry_over_seemless": false,
"carry_over_never" : false,
"carry_over_duration": 720,
"carry_over_static_start" : "19:00:00",
"carry_over_static_end": "07:00:00"
},
{
"carry_over_day" : 6,
"carry_over_day_comment" : "Saturday",
"carry_over_seemless": false,
"carry_over_never" : false,
"carry_over_duration": 720,
"carry_over_static_start" : "19:00:00",
"carry_over_static_end": "07:00:00"
},
{
"carry_over_day" : 7,
"carry_over_day_comment" : "Sunday",
"carry_over_seemless": false,
"carry_over_never" : false,
"carry_over_duration": 720,
"carry_over_static_start" : "19:00:00",
"carry_over_static_end": "07:00:00"
}
]
}
],
"TimeRange" : [
{
"time_range_id": 1,
"time_range_from": "19:00:00",
"time_range_to": "07:00:00"
},
{
"time_range_id": 2,
"time_range_from": "07:00:00",
"time_range_to": "19:00:00"
},
{
"time_range_id": 3,
"time_range_from": "00:00:00",
"time_range_to": "07:00:00"
}
],
"TimeStepConfig" : [
{
"tsconfig_id" : 1,
"tsconfig_label" : "static",
"tsconfig_comment" : "read time steps as given in jsonfiles"
},
{
"tsconfig_id" : 2,
"tsconfig_label" : "dynamic",
"tsconfig_comment" : "determine timesteps at runtime"
}
],
"PaymentMethod": [
{
"pme_id": 1,
@ -33,44 +206,105 @@
{
"pop_id": 1049,
"pop_label": "Zone 1",
"pop_payment_method_id": 3,
"pop_payment_method_id": 4,
"pop_day_end_time": "00:00:00",
"pop_day_night_end_time": "00:00:00",
"pop_price_night": 0,
"pop_min_time": 30,
"pop_max_time": 180,
"pop_min_price": 60,
"pop_min_time": 720,
"comment_pop_min_time": "720mins -> 600 cent",
"pop_max_time": 5040,
"comment_pop_max_time": "7days -> 42 euros",
"pop_truncate_last_interpolation_step": false,
"pop_min_price": 600,
"pop_max_price": 4200,
"pop_carry_over": 1,
"pop_daily_card_price": 0
"pop_carry_over_option_id": 1,
"pop_prepaid_option_id" : 3,
"pop_accumulate_prices": true,
"pop_accumulate_durations": true,
"pop_interpolate_up_to_first_carry_over": 1,
"pop_interpolate_up_to_first_carry_over_comment_1": "turn interpolation off if the first carry-over interval has been reached",
"pop_interpolate_up_to_first_carry_over_comment_2": "for instance at 20:00:00",
"pop_carry_over_time_range_id": 1,
"pop_carry_over_start_time_range": 2,
"pop_carry_over_end_time_range": 3,
"pop_business_hours": 163584,
"comment_1": "163584 = 0x27F00 = 10|0011|1111|0000|0000 -> all days with restricted hours",
"pop_time_step_config": 2
}
],
"PaymentRate": [
{
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 1,
"pra_price": 10
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 1,
"pra_price": 600
},
{
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 2,
"pra_price": 120
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 2,
"pra_price": 1200
},
{
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 3,
"pra_price": 1800
},
{
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 4,
"pra_price": 2400
},
{
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 5,
"pra_price": 3000
},
{
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 6,
"pra_price": 3600
},
{
"pra_payment_option_id": 1049,
"pra_payment_unit_id": 7,
"pra_price": 4200
}
],
"Duration": [
{
"pun_id": 1,
"pun_label": "5 min",
"pun_duration": 5
"pun_duration": 720,
"pun_id": 1,
"pun_interpolation_id": 1
},
{
"pun_id": 3,
"pun_label": "15 min",
"pun_duration": 15
"pun_duration": 720,
"pun_id": 2,
"pun_interpolation_id": 1
},
{
"pun_id": 4,
"pun_label": "1 min",
"pun_duration": 1
"pun_duration": 720,
"pun_id": 3,
"pun_interpolation_id": 1
},
{
"pun_duration": 720,
"pun_id": 4,
"pun_interpolation_id": 1
},
{
"pun_duration": 720,
"pun_id": 5,
"pun_interpolation_id": 1
},
{
"pun_duration": 720,
"pun_id": 6,
"pun_interpolation_id": 1
},
{
"pun_duration": 720,
"pun_id": 7,
"pun_interpolation_id": 1
}
],
"WeekDaysWorktime": [
@ -78,412 +312,50 @@
"pwd_id": 621,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 1,
"pwd_time_from": "08:00:00",
"pwd_time_to": "12:00:00"
},
{
"pwd_id": 621,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 1,
"pwd_time_from": "14:00:00",
"pwd_time_to": "18:00:00"
"pwd_time_from": "07:00:00",
"pwd_time_to": "19:00:00"
},
{
"pwd_id": 622,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 2,
"pwd_time_from": "08:00:00",
"pwd_time_to": "12:00:00"
},
{
"pwd_id": 622,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 2,
"pwd_time_from": "14:00:00",
"pwd_time_to": "18:00:00"
"pwd_time_from": "07:00:00",
"pwd_time_to": "19:00:00"
},
{
"pwd_id": 623,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 3,
"pwd_time_from": "08:00:00",
"pwd_time_to": "12:00:00"
},
{
"pwd_id": 623,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 3,
"pwd_time_from": "14:00:00",
"pwd_time_to": "18:00:00"
"pwd_time_from": "07:00:00",
"pwd_time_to": "19:00:00"
},
{
"pwd_id": 624,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 4,
"pwd_time_from": "08:00:00",
"pwd_time_to": "12:00:00"
},
{
"pwd_id": 624,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 4,
"pwd_time_from": "14:00:00",
"pwd_time_to": "18:00:00"
"pwd_time_from": "07:00:00",
"pwd_time_to": "19:00:00"
},
{
"pwd_id": 625,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 5,
"pwd_time_from": "08:00:00",
"pwd_time_to": "12:00:00"
},
{
"pwd_id": 625,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 5,
"pwd_time_from": "14:00:00",
"pwd_time_to": "18:00:00"
"pwd_time_from": "07:00:00",
"pwd_time_to": "19:00:00"
},
{
"pwd_id": 626,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 6,
"pwd_time_from": "08:00:00",
"pwd_time_to": "12:00:00"
}
],
"SpecialDaysWorktime": [
{
"pedwt_id": 2156,
"pedwt_period_exc_day_id": 2024,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
"pwd_time_from": "07:00:00",
"pwd_time_to": "19:00:00"
},
{
"pedwt_id": 2158,
"pedwt_period_exc_day_id": 2025,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2160,
"pedwt_period_exc_day_id": 2026,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2162,
"pedwt_period_exc_day_id": 2027,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2164,
"pedwt_period_exc_day_id": 2028,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2170,
"pedwt_period_exc_day_id": 2030,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2172,
"pedwt_period_exc_day_id": 2032,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2174,
"pedwt_period_exc_day_id": 11,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2175,
"pedwt_period_exc_day_id": 13,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2177,
"pedwt_period_exc_day_id": 2023,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2178,
"pedwt_period_exc_day_id": 2022,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2179,
"pedwt_period_exc_day_id": 14,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2184,
"pedwt_period_exc_day_id": 2021,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2188,
"pedwt_period_exc_day_id": 2031,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2189,
"pedwt_period_exc_day_id": 2029,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2194,
"pedwt_period_exc_day_id": 2034,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2200,
"pedwt_period_exc_day_id": 2037,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2201,
"pedwt_period_exc_day_id": 2039,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2202,
"pedwt_period_exc_day_id": 2038,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2226,
"pedwt_period_exc_day_id": 2016,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2245,
"pedwt_period_exc_day_id": 2035,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2246,
"pedwt_period_exc_day_id": 2036,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2249,
"pedwt_period_exc_day_id": 2050,
"pedwt_time_from": "08:00:00",
"pedwt_time_to": "16:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2250,
"pedwt_period_exc_day_id": 2051,
"pedwt_time_from": "08:00:00",
"pedwt_time_to": "16:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2251,
"pedwt_period_exc_day_id": 2052,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2252,
"pedwt_period_exc_day_id": 2053,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2253,
"pedwt_period_exc_day_id": 2054,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2254,
"pedwt_period_exc_day_id": 2055,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2255,
"pedwt_period_exc_day_id": 2056,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2256,
"pedwt_period_exc_day_id": 2057,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2257,
"pedwt_period_exc_day_id": 2058,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2258,
"pedwt_period_exc_day_id": 2059,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
},
{
"pedwt_id": 2259,
"pedwt_period_exc_day_id": 2060,
"pedwt_time_from": "00:00:00",
"pedwt_time_to": "00:00:00",
"pedwt_price": 0
}
],
"SpecialDays": [
{
"ped_id": 2024,
"ped_label": "Staatsfeiertag",
"ped_date_start": "2024-05-01",
"ped_date_end": "2024-05-01",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
},
{
"ped_id": 2025,
"ped_label": "Christi Himmelfahrt",
"ped_date_start": "2024-05-09",
"ped_date_end": "2024-05-09",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
},
{
"ped_id": 2060,
"ped_label": "Pfingst Sonntag",
"ped_date_start": "2024-05-19",
"ped_date_end": "2024-05-19",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
},
{
"ped_id": 2026,
"ped_label": "Pfingst Montag",
"ped_date_start": "2024-05-20",
"ped_date_end": "2024-05-20",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
},
{
"ped_id": 2027,
"ped_label": "Fronleichnam",
"ped_date_start": "2024-05-30",
"ped_date_end": "2024-05-30",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
},
{
"ped_id": 2028,
"ped_label": "Maria Himmelfahrt",
"ped_date_start": "2024-08-15",
"ped_date_end": "2024-08-15",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
},
{
"ped_id": 2029,
"ped_label": "Nationalfeiertag",
"ped_date_start": "2024-10-26",
"ped_date_end": "2024-10-26",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
},
{
"ped_id": 2030,
"ped_label": "Allerheiligen",
"ped_date_start": "2024-11-01",
"ped_date_end": "2024-11-01",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
},
{
"ped_id": 2031,
"ped_label": "Mariae Empfaengnis",
"ped_date_start": "2024-08-12",
"ped_date_end": "2024-08-12",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
},
{
"ped_id": 2032,
"ped_label": "Christtag",
"ped_date_start": "2024-12-25",
"ped_date_end": "2024-12-25",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
},
{
"ped_id": 2034,
"ped_label": "Stefanitag",
"ped_date_start": "2024-12-26",
"ped_date_end": "2024-12-26",
"ped_period_special_day_id": 1,
"ped_year": 0,
"comment_ped_year": "check year if 0"
"pwd_id": 626,
"pwd_period_week_day_id": 36,
"pwd_period_day_in_week_id": 7,
"pwd_time_from": "07:00:00",
"pwd_time_to": "19:00:00"
}
],
"PeriodYear": [