package cn.estsh.i3plus.ext.mes.pcn.api.busi;

import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentVariable;
import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentVariableCfg;
import cn.estsh.i3plus.pojo.mes.model.MesEquipVariableRwModel;
import cn.estsh.i3plus.pojo.mes.model.MesEquipVariableRwResult;
import io.swagger.annotations.ApiOperation;

public interface IMesEquipVariableRwExtService {

    @ApiOperation(value = "读写访问地址")
    MesEquipVariableRwModel getRwRequestUrl(MesEquipVariableRwModel equipVariableRwModel);

    @ApiOperation(value = "写值")
    MesEquipVariableRwResult writeVariable(MesEquipVariableRwModel equipVariableRwModel);

    @ApiOperation(value = "读取")
    MesEquipVariableRwResult readVariable(MesEquipVariableRwModel equipVariableRwModel);

    @ApiOperation(value = "写值")
    MesEquipVariableRwResult writeVariable(MesEquipmentVariableCfg equipmentVariableCfg, MesEquipmentVariable equipmentVariable, String kepwareFlag);

    @ApiOperation(value = "写值")
    MesEquipVariableRwResult writeVariable(String value, MesEquipmentVariable equipmentVariable, String kepwareFlag);
}
