package market.Api.Mes.impl;

import java.util.List;

import market.Com.vo.ComBaseInfo;


/**
 * 工序代码
 * @author bin.pan
 */
/**
 * @author bin.pan
 *
 */
public class ProcessPoint {
	
	/**
	 * 分条
	 */
	public String slitting_code; 
	
	/**
	 * 开平
	 */
	public String cross_cutting_code; 
	
	/**
	 * 罩退
	 */
	public String anneal_code; 
	
	
	/**
	 * 平整
	 */
	public String smooth_code;
	
	/**
	 * 轧制
	 */
	public String rolling_code;
	
	/**
	 * 酸洗
	 */
	public String pickle_code;
	
	public ProcessPoint (List<ComBaseInfo> info ){
		for (ComBaseInfo comBaseInfo : info) {
			switch (comBaseInfo.getBase_code()) {
			case "200201":
				slitting_code = comBaseInfo.getMemo();
				break;
			case "200202":
				cross_cutting_code = comBaseInfo.getMemo();
				break;
			case "200203":
				anneal_code = comBaseInfo.getMemo();
				break;
			case "200204":
				smooth_code = comBaseInfo.getMemo();
				break;
			case "200205":
				rolling_code = comBaseInfo.getMemo();
				break;
			case "200206":
				pickle_code = comBaseInfo.getMemo();
				break;

			default:
				break; 
			}
		}
	}

}
