This commit is contained in:
@ -28,14 +28,14 @@ namespace Epost.DPS.Controllers
|
|||||||
string state = string.Empty;
|
string state = string.Empty;
|
||||||
if (data.method == "start")
|
if (data.method == "start")
|
||||||
{
|
{
|
||||||
state = "1";//任务开始启动
|
state = "2";//任务开始启动
|
||||||
}
|
}
|
||||||
else if (data.method == "outbin") {
|
else if (data.method == "outbin") {
|
||||||
state = "2";//走出储位
|
state = "3";//走出储位
|
||||||
}
|
}
|
||||||
else if (data.method == "end")
|
else if (data.method == "end")
|
||||||
{
|
{
|
||||||
state = "3";
|
state = "4";
|
||||||
//更新任务已完成
|
//更新任务已完成
|
||||||
}
|
}
|
||||||
else if (data.method == "cancel") {
|
else if (data.method == "cancel") {
|
||||||
|
Reference in New Issue
Block a user