public HomeOS.Hub.Platform.Contracts.IPortInfo GetPortInfo(string moduleFacingName, HomeOS.Hub.Platform.Contracts.IModule module) { return(PortInfoAdapter.V2C(_view.GetPortInfo(moduleFacingName, ModuleAdapter.C2V(module)))); }
/// <summary> /// Obtains the portinfo object from the platform /// </summary> /// <param name="moduleFacingName">The local name of the port</param> /// <returns>The portinfo object</returns> protected VPortInfo GetPortInfoFromPlatform(string moduleFacingName) { return(platform.GetPortInfo(moduleFacingName, this)); }