天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

115 lines
3.1 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using QMAPP.FJC.Entity.Basic;
using QMAPP.FJC.Entity;
namespace OpcHost.Concrete
{
/// <summary>
/// 设备加工操作类工厂
/// 作者:闫永刚
/// 日期:2015-6-12
/// </summary>
public class OperateFactory
{
public EquipOperate GetConcreteOperateClass(MachineInfo pm)
{
EquipOperate operate;
switch (pm.PROCESSTYPE)
{
//搪塑
case "0":
operate = new SlushEquipOperate();
break;
//骨架注塑
//case "1":
// operate = new InjectionEquipOperate();
// break;
////气囊支架注塑
//case "2":
// operate = new InjectionEquipOperate();
// break;
////风道注塑
//case "3":
// operate = new InjectionEquipOperate();
// break;
////开关支架注塑
//case "4":
// operate = new InjectionEquipOperate();
// break;
////HUD风道注塑
//case "5":
// operate = new InjectionEquipOperate();
// break;
////冷刀弱化
//case "6":
// operate = new BurnEquipOpereate();
// break;
////火焰加工
//case "7":
// operate = new FlameEquipOperate();
// break;
////预热
//case "8":
// operate = new PreHeatEquipOperate();
// break;
////浇注
//case "9":
// operate = new CastingEquipOperate();
// break;
////红外扫描
//case "10":
// operate = new HotScanEquipOperate();
// break;
////冲切
//case "11":
// operate = new PunchEquipOperate();
// break;
////铣削
//case "12":
// operate = new MilingEquipOperate();
// break;
////铆接
//case "13":
// operate = new RivetingEquipOperate();
// break;
////超时波焊接
//case "14":
// operate = new UltrasEquipOperate();
// break;
////红外焊接
//case "15":
// operate = new HotWeldEquipOperate();
// break;
//总成焊接
default:
operate = new SlushEquipOperate();
break;
}
operate.machineInfo = pm;
return operate;
}
}
}