1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
| 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;
| }
| }
| }
|
|