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); }
public PLCMsgConnectorProxy(PLCMsgConnector connector) { PLCMsgConnector = connector; }