package com.mes.md.service;
|
|
import com.github.yulichang.base.MPJBaseService;
|
import com.mes.md.entity.Machine;
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author yanzhixin
|
* @since 2024-09-13
|
*/
|
public interface MachineService extends MPJBaseService<Machine> {
|
/**
|
* @param machine 修改当前设备状态:【开工/暂停】
|
* @return
|
*/
|
int openOrCloseMachine(Machine machine);
|
/**
|
* @param machine 切换设备模式:(上片:【1定制/2标准】),其他设备暂时没有模式
|
* @return
|
*/
|
int toggleModeMachine(Machine machine);
|
}
|