2024-02-28 17:21:09 +01:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ATB_APP_STATES version="1.1">
|
|
|
|
|
<APP_STATE name="IDLE">
|
|
|
|
|
<EVENT name="BUTTON_START" resultingState="PRODUCT_SELECTION"/>
|
|
|
|
|
<EVENT name="SELL_DISABLE" resultingState="FREE_PARK"/>
|
|
|
|
|
<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="PRODUCT_SELECTION">
|
|
|
|
|
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
|
|
|
|
|
<!-- no coin payment -->
|
2024-02-28 18:33:33 +01:00
|
|
|
|
<EVENT name="BUTTON_VEHICLE_1" resultingState="ENTER_EMP_NR" setPaymentType="CARD" setProduct="FOOD_STAMP:3"/>
|
|
|
|
|
<EVENT name="BUTTON_VEHICLE_2" resultingState="ENTER_EMP_NR" setPaymentType="CARD" setProduct="FOOD_STAMP:5"/>
|
|
|
|
|
<EVENT name="BUTTON_VEHICLE_3" resultingState="ENTER_EMP_NR" setPaymentType="CARD" setProduct="FOOD_STAMP:10"/>
|
2024-02-28 17:21:09 +01:00
|
|
|
|
<SCREEN name="PRODUCT_SELECTION"/>
|
|
|
|
|
</APP_STATE>
|
|
|
|
|
|
2024-02-28 18:33:33 +01:00
|
|
|
|
<APP_STATE name="ENTER_EMP_NR">
|
2024-03-08 11:04:17 +01:00
|
|
|
|
<ENTRY_TASK name="REQUEST_INITIAL_PRICE"/>
|
2024-02-28 18:33:33 +01:00
|
|
|
|
<EVENT name="BUTTON_CANCEL" resultingState="IDLE"/>
|
|
|
|
|
<EVENT name="NEW_PIN" resultingState="CARD_PAYMENT"/>
|
|
|
|
|
<SCREEN name="RESIDENT"/>
|
|
|
|
|
</APP_STATE>
|
|
|
|
|
|
2024-02-28 17:21:09 +01:00
|
|
|
|
<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="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>
|