コード例 #1
0
 public override void ApplyChanges <T>(T model)
 {
     if (model is MemoryModel memory)
     {
         Assign1.ApplyChanges(memory.Assign1);
         Assign2.ApplyChanges(memory.Assign2);
         Assign3.ApplyChanges(memory.Assign3);
         Assign4.ApplyChanges(memory.Assign4);
         Assign5.ApplyChanges(memory.Assign5);
         Assign6.ApplyChanges(memory.Assign6);
         Assign7.ApplyChanges(memory.Assign7);
         Assign8.ApplyChanges(memory.Assign8);
         Assign9.ApplyChanges(memory.Assign9);
         Assign10.ApplyChanges(memory.Assign10);
         Assign11.ApplyChanges(memory.Assign11);
         Assign12.ApplyChanges(memory.Assign12);
         Assign13.ApplyChanges(memory.Assign13);
         Assign14.ApplyChanges(memory.Assign14);
         Assign15.ApplyChanges(memory.Assign15);
         Assign16.ApplyChanges(memory.Assign16);
     }
     else
     {
         throw new ArgumentException("Model must be of type MemoryModel.");
     }
 }
コード例 #2
0
        public override void ApplyPropertyValues()
        {
            Setup.ApplyPropertyValues();
            InputOutput.ApplyPropertyValues();
            USB.ApplyPropertyValues();
            MIDI.ApplyPropertyValues();

            #region DefaultMemory
            Track1.ApplyPropertyValues();
            Track2.ApplyPropertyValues();
            Track3.ApplyPropertyValues();
            Track4.ApplyPropertyValues();
            Track5.ApplyPropertyValues();

            Rhythm.ApplyPropertyValues();
            //Name.ApplyPropertyValues();
            Master.ApplyPropertyValues();
            RecOption.ApplyPropertyValues();
            PlayOption.ApplyPropertyValues();

            Assign1.ApplyPropertyValues();
            Assign2.ApplyPropertyValues();
            Assign3.ApplyPropertyValues();
            Assign4.ApplyPropertyValues();
            Assign5.ApplyPropertyValues();
            Assign6.ApplyPropertyValues();
            Assign7.ApplyPropertyValues();
            Assign8.ApplyPropertyValues();
            Assign9.ApplyPropertyValues();
            Assign10.ApplyPropertyValues();
            Assign11.ApplyPropertyValues();
            Assign12.ApplyPropertyValues();
            Assign13.ApplyPropertyValues();
            Assign14.ApplyPropertyValues();
            Assign15.ApplyPropertyValues();
            Assign16.ApplyPropertyValues();

            InputFx.ApplyPropertyValues();
            TrackFx.ApplyPropertyValues();

            BeatFxA.ApplyPropertyValues();
            BeatFxB.ApplyPropertyValues();
            BeatFxC.ApplyPropertyValues();

            InputFxA.ApplyPropertyValues();
            InputFxB.ApplyPropertyValues();
            InputFxC.ApplyPropertyValues();

            TrackFxA.ApplyPropertyValues();
            TrackFxB.ApplyPropertyValues();
            TrackFxC.ApplyPropertyValues();
            #endregion DefaultMemory
        }
コード例 #3
0
        public override void ApplyPropertyValues()
        {
            Track1.ApplyPropertyValues();
            Track2.ApplyPropertyValues();
            Track3.ApplyPropertyValues();
            Track4.ApplyPropertyValues();
            Track5.ApplyPropertyValues();

            Rhythm.ApplyPropertyValues();
            //Name.ApplyPropertyValues();
            Master.ApplyPropertyValues();
            RecOption.ApplyPropertyValues();
            PlayOption.ApplyPropertyValues();

            Assign1.ApplyPropertyValues();
            Assign2.ApplyPropertyValues();
            Assign3.ApplyPropertyValues();
            Assign4.ApplyPropertyValues();
            Assign5.ApplyPropertyValues();
            Assign6.ApplyPropertyValues();
            Assign7.ApplyPropertyValues();
            Assign8.ApplyPropertyValues();
            Assign9.ApplyPropertyValues();
            Assign10.ApplyPropertyValues();
            Assign11.ApplyPropertyValues();
            Assign12.ApplyPropertyValues();
            Assign13.ApplyPropertyValues();
            Assign14.ApplyPropertyValues();
            Assign15.ApplyPropertyValues();
            Assign16.ApplyPropertyValues();

            InputFx.ApplyPropertyValues();
            TrackFx.ApplyPropertyValues();

            BeatFxA.ApplyPropertyValues();
            BeatFxB.ApplyPropertyValues();
            BeatFxC.ApplyPropertyValues();

            InputFxA.ApplyPropertyValues();
            InputFxB.ApplyPropertyValues();
            InputFxC.ApplyPropertyValues();

            TrackFxA.ApplyPropertyValues();
            TrackFxB.ApplyPropertyValues();
            TrackFxC.ApplyPropertyValues();
        }
コード例 #4
0
 public override void RevertChanges()
 {
     Assign1.RevertChanges();
     Assign2.RevertChanges();
     Assign3.RevertChanges();
     Assign4.RevertChanges();
     Assign5.RevertChanges();
     Assign6.RevertChanges();
     Assign7.RevertChanges();
     Assign8.RevertChanges();
     Assign9.RevertChanges();
     Assign10.RevertChanges();
     Assign11.RevertChanges();
     Assign12.RevertChanges();
     Assign13.RevertChanges();
     Assign14.RevertChanges();
     Assign15.RevertChanges();
     Assign16.RevertChanges();
 }