using iWare_SCADA_Model; namespace iWare_SCADA_BusinessLogical { public class PLCFactory { public static PLCService GetOPCService(PLCServiceTypeEnum _OPCServiceTypeEnum, HslCommunicationParam hslcpParam) { PLCService plcService = null; switch (_OPCServiceTypeEnum) { case PLCServiceTypeEnum.Siemens_HslCommunicationService: plcService = new Siemens_HslCommunicationService(hslcpParam); break; } return plcService; } } }