# 1005 Restaurant queuing service dynamics

# Content_json definition

parameter Is it compulsory? type Introductions Format requirements
cur_status yes int32 Current status id
wxa_path_query yes string Card click the jump path and query
queue_number Reference status requirements string User queuing number A combination of numbers, letters and symbols is verified.
current_number Reference status requirements string Current call number A combination of numbers, letters and symbols is verified.
min_wait_time Reference status requirements uint32 The lower expected waiting time limit. For display rules, refer to the "Display instructions for expected awaited time" section below In units of seconds
max_wait_time Reference status requirements uint32 The maximum expected waiting time is for display rules to refer to the "Display instructions for expected sitting time" section below In units of seconds
table_type Reference status requirements string The queuing table style Up to two visible characters, such as "large table" and "small table"

Combined numbers, letters, and symbols verification

  1. Up to 32 visible characters
  2. All characters need to hit [A-Z] [a-z] [0-9] "_~ - /."

Examples: A101, 1234, a101, A-101

Estimated Wait Time Show Instructions

  1. If min_wait_time = max_wait_time: Estimated wait {max_wait_time / 60} minutes
  2. If max_wait_time = 0, the expected wait > {min_wait_time / 60} minutes
  3. If min_wait_time = 0, expect to wait < {max_wait_time / 60} minutes
  4. If min_wait_time = 0 & max_wait_time = 0, the expected waiting time cannot be given.No expected waiting time is shown to the user

# Cur_status passes in the meaning of the state id, and the field under the different state id requires

id Is it possible for this state to be activated? Can be changed from previous state * Status Description Required fields under this state Select fields in this state Content_json example
1 yes 1 I'm in the line. queue_number

current_number

min_wait_time

max_wait_time

wxa_path_query
table_type "{\"cur_status\":1,\"queue_number\": \"A121\",\"current_number\": \"A101\",\"min_wait_time\": 600,\"max_wait_time\": 900,\"table_type\": \"Large table\,\ "wxa_path_query\":\ "pages / index / index\"} "
2 yes 1, 2 I'm about to call a number. queue_number

current_number

wxa_path_query
table_type "{\"cur_status\":2,\"queue_number\": \"A121\",\"current_number\": \"A118\",\"table_type\": \"Large table\,\ "wxa_path_query\":\ "pages / index / index\"} "
3 no 1, 2 We're calling a number. queue_number

wxa_path_query
table_type "{\"Cur_status\ ": 3,\" queue_number\ ":\" A121\, "\" table_type\ ":\" large table\ ",\" wxa_path_query\ ":\" pages / index / index\ "}"
4 no 3 We have already eaten. queue_number

wxa_path_query
table_type "{\"Cur_status\ ": 4,\" queue_number\ ":\" A121\, "\" table_type\ ":\" large table\ ",\" wxa_path_query\ ":\" pages / index / index\ "}"
5 no 3 The number is over. queue_number

wxa_path_query
table_type "{\"Cur_status\ ": 5,\" queue_number\ ":\" A121\, "\" table_type\ ":\" large table\ ",\" wxa_path_query\ ":\" pages / index / index\ "}"
6 no 1, 2, 3 The queues have been cancelled. wxa_path_query "{\"cur_status\":6,\"wxa_path_query\":\"pages/index/index\"}"

"Can be changed from previous state" specification

  1. The numbers in this column indicate that the current state can only be changed by these states (this is not required when activating)
  2. Note that changing the current state to the current state also requires the state ID to be in this column: If the current state is 1, the state is allowed to be passed to 1 at the next update only if 1 is also in this column
  3. A state id that does not exist in this column, meaning the end state, and the service state is no longer updatable