|
|
|
@ -4,16 +4,14 @@ import com.zhehekeji.core.pojo.Result;
|
|
|
|
import com.zhehekeji.core.util.Assert;
|
|
|
|
import com.zhehekeji.core.util.Assert;
|
|
|
|
import com.zhehekeji.web.entity.Street;
|
|
|
|
import com.zhehekeji.web.entity.Street;
|
|
|
|
import com.zhehekeji.web.mapper.StreetMapper;
|
|
|
|
import com.zhehekeji.web.mapper.StreetMapper;
|
|
|
|
import com.zhehekeji.web.service.NettyClient;
|
|
|
|
import com.zhehekeji.web.service.*;
|
|
|
|
import com.zhehekeji.web.service.PlcService;
|
|
|
|
|
|
|
|
import com.zhehekeji.web.service.StreetConn;
|
|
|
|
|
|
|
|
import com.zhehekeji.web.service.StreetService;
|
|
|
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
@Api(value = "PLCController",tags = "PLC管理")
|
|
|
|
@Api(value = "PLCController",tags = "PLC管理")
|
|
|
|
@RestController(value = "PLCController")
|
|
|
|
@RestController(value = "PLCController")
|
|
|
|
@ -58,6 +56,12 @@ public class PLCController {
|
|
|
|
return Result.success(plcService.plcStatus());
|
|
|
|
return Result.success(plcService.plcStatus());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/orderAction")
|
|
|
|
|
|
|
|
@ApiOperation(value = "执行的工单情况")
|
|
|
|
|
|
|
|
public Result<Map> orderAction(){
|
|
|
|
|
|
|
|
return Result.success(OrderAction.get());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|