public static PLCMsgConnector GetPLCMsgConnector(this ICoreObject coreObject)
        {
            IDlc            idlc            = (IDlc)coreObject.Context;
            var             idlcManager     = idlc.WorkingContext.DlcManager;
            PLCMsgConnector PLCMsgConnector = idlcManager.Load("Siemens.Simatic.PLCMessaging.PLCMsgConnector")
                                              as PLCMsgConnector;

            return(PLCMsgConnector);
        }
Beispiel #2
0
 public PLCMsgConnectorProxy(PLCMsgConnector connector)
 {
     PLCMsgConnector = connector;
 }