import mitt from "mitt";

const emitter = mitt();

enum EventsNames {
  APPOINT_OUT = "APPOINT_OUT",
  //获取当前工序状态 实现叫料按钮的disabled实时效果
  PROCESS_STEPOBJ = "PROCESS_STEPOBJ",
  PROCESS_STEPINDEX = "PROCESS_STEPINDEX",
  //通知procee界面重新加载数据
  PROCESS_REDER = "PROCESS_REDER",
}

export { emitter, EventsNames };
