Exemple #1
0
 public void CancelAllSubscriptions(HomeOS.Hub.Platform.Contracts.IModule module, HomeOS.Hub.Platform.Contracts.IPort controlPort, HomeOS.Hub.Platform.Contracts.ICapability controlportcap)
 {
     _view.CancelAllSubscriptions(ModuleAdapter.C2V(module), PortAdapter.C2V(controlPort), CapabilityAdapter.C2V(controlportcap));
 }
Exemple #2
0
        //***

        public int InstallCapability(HomeOS.Hub.Platform.Contracts.ICapability capability, HomeOS.Hub.Platform.Contracts.IPort targetPort)
        {
            return(_view.InstallCapability(CapabilityAdapter.C2V(capability), PortAdapter.C2V(targetPort)));
        }