Exemplo n.º 1
0
        protected virtual void OnCurrentSceneChange(YamahaDesk desk, int scenenumber)
        {
            var handler = CurrentSceneChange;

            if (handler != null)
            {
                handler(desk, scenenumber);
            }
        }
Exemplo n.º 2
0
 internal SceneCollection(YamahaDesk desk, SnapshotCollection collection)
 {
     _desk = desk;
     collection.SnapshotUpdated += OnSnapshotUpdated;
     foreach (var item in collection)
     {
         _scenes[item.Index] = new Scene(item);
     }
 }
Exemplo n.º 3
0
 internal SnapshotCollection(YamahaDesk desk, string address)
 {
     _desk    = desk;
     _address = address;
 }