state 用于定义流程中的各个阶段:比如:待处理、已生成、已调度、待发货、已验收。
status 用于描述一个项目的结果:比如:成功、失败 (success/fail)
参考注释如下:
A system is in a certain “state” at a point in time when the system meets a pre-defined set of criterion, i.e. on shopping website, a user’s shopping cart enters a different state when the customer adds an item to it.
当系统满足一组预先定义的标准时,即在购物网站上,当用户向其添加商品时,用户的购物车进入不同的state,则系统处于某个“状态”。
A “status”, in the context of states of a system, describes the transition into a state. For example, the user of our online shop may attempt to add an item to their cart. The transition into the state that describes the item being in the cart may be blocked if the status of the transition signals an error (i.e. the item is out of stock).
在系统state的上下文中,“status”描述了向state的转换。例如,我们在线商店的用户可能会尝试将商品添加到他们的购物车中。如果转换state指示错误(即,该商品缺货&#