package com.ximai.mes.constant;

/**
 * 报工 SAP 推送状态
 */
public final class FeedbackSapPushConst {

    /** 未推送 */
    public static final String NOT_PUSHED = "0";
    /** 已推送 */
    public static final String PUSHED = "1";

    /** 生产转移单（已废弃，保留兼容） */
    public static final String TYPE_TRANSFER = "TRANSFER";
    /** 工序报工单 */
    public static final String TYPE_REPORT = "REPORT";
    /** 生产入库 */
    public static final String TYPE_STOCK_IN = "STOCK_IN";

    private FeedbackSapPushConst() {
    }

    public static boolean isPushed(String sapPushStatus) {
        return PUSHED.equals(sapPushStatus);
    }
}
