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); } }
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); }