4 changed files with 90 additions and 10 deletions
-
32src/main/java/com/iflytop/gd/app/controller/CraftsController.java
-
3src/main/java/com/iflytop/gd/app/model/dto/StartCraftsDTO.java
-
27src/main/java/com/iflytop/gd/app/model/vo/CraftStatusVO.java
-
38src/main/java/com/iflytop/gd/app/service/CraftsService.java
@ -0,0 +1,27 @@ |
|||
package com.iflytop.gd.app.model.vo; |
|||
|
|||
import com.iflytop.gd.app.common.enums.CraftStates; |
|||
import com.iflytop.gd.app.model.bo.CraftsStep; |
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 工艺执行状态视图对象 |
|||
*/ |
|||
@Data |
|||
public class CraftStatusVO { |
|||
|
|||
@Schema(description = "加热区 ID") |
|||
private String heatId; |
|||
|
|||
@Schema(description = "当前状态") |
|||
private CraftStates state; |
|||
|
|||
@Schema(description = "当前执行到的步骤索引") |
|||
private int currentIndex; |
|||
|
|||
@Schema(description = "工艺所有步骤") |
|||
private List<CraftsStep> steps; |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue