Exemple #1
0
        public void AssignFusionAsset(FusionController fusionInstance, FusionAssetBase asset)
        {
            if (asset is FusionStaticAsset)
            {
                this.FusionAsset = asset as FusionStaticAsset;

                fusionInstance.FusionRoom.OnlineStatusChange     += new Crestron.SimplSharpPro.OnlineStatusChangeEventHandler(FusionRoom_OnlineStatusChange);
                fusionInstance.FusionRoom.FusionAssetStateChange += new FusionAssetStateEventHandler(FusionRoom_FusionAssetStateChange);

                this.FusionAsset.AddSig(Crestron.SimplSharpPro.eSigType.String, 1, "Input", Crestron.SimplSharpPro.eSigIoMask.InputSigOnly);
            }
        }
Exemple #2
0
        public virtual void AssignFusionAsset(FusionController fusionInstance, FusionAssetBase asset)
        {
            if (!(asset is FusionStaticAsset))
            {
                return;
            }
            FusionAsset = asset as FusionStaticAsset;

            fusionInstance.FusionRoom.OnlineStatusChange += FusionRoom_OnlineStatusChange;

            FusionAsset.AddSig(eSigType.String, 1, "Device Info", eSigIoMask.InputSigOnly);
        }