package com.iamberry.rst.util; /** * 用于获取 产品,工序,节点编号 * Created by wangxiaoming on 2017/9/1. */ public class ProduceNoUtil { private final static String[] number = {"0","1","2","3","4"}; /** * 获取产品编号 * @return */ public static String getProduceNo(){ String num = "A"; return num; } /** * 获取工序编号 * @return */ // public static String getProcess(Integer produceId,Integer i){ // return number[i]; // } /** * 获取工序编号 * @return */ public static String getProcessNo(Integer i){ return number[i]; } /** * 获取节点操作 * @return */ public static String getNodeNo(Integer i){ return number[i]; } }