public static IOnlineBlockService GetOnlineBlockService(this ICoreObject coreObject) { IDlc idlc = (IDlc)coreObject.Context; IDlcManager idlcManager = idlc.WorkingContext.DlcManager; IOnlineBlockService IOnlineBlockService = idlcManager.Load("PlcLanguages.BlockLogic.OnlineBlockService") as IOnlineBlockService; return(IOnlineBlockService); }
public OnlineBlockServiceProxy(IOnlineBlockService IOnlineBlockService) { OnlineBlockService = IOnlineBlockService as OnlineBlockService; }