示例#1
0
 public MappingModel(int id, string midiNote, string traktorCommand, TargetType targetType, string comment, MappingTargetDeck deck, MappingType type,
                     MappingControllerType controllerType, MappingInteractionMode interactionMode, bool autoRepeat, bool invert, bool softTakeOver, float rotarySensitivity,
                     float rotaryAcceleration, int ledInvert, MappingResolution resolution)
 {
     this.id                 = id;
     this.midiNote           = midiNote;
     this.traktorCommand     = traktorCommand;
     this.targetType         = targetType;
     this.comment            = comment;
     this.deck               = deck;
     this.type               = type;
     this.controllerType     = controllerType;
     this.interactionMode    = interactionMode;
     this.autoRepeat         = autoRepeat;
     this.invert             = invert;
     this.softTakeOver       = softTakeOver;
     this.rotarySensitivity  = rotarySensitivity;
     this.rotaryAcceleration = rotaryAcceleration;
     this.ledInvert          = ledInvert;
     this.resolution         = resolution;
 }
示例#2
0
 public MappingModel(int id, string midiNote, string traktorCommand, TargetType targetType, string comment, MappingTargetDeck deck, MappingType type,
     MappingControllerType controllerType, MappingInteractionMode interactionMode, bool autoRepeat, bool invert, bool softTakeOver, float rotarySensitivity,
     float rotaryAcceleration, int ledInvert, MappingResolution resolution)
 {
     this.id = id;
     this.midiNote = midiNote;
     this.traktorCommand = traktorCommand;
     this.targetType = targetType;
     this.comment = comment;
     this.deck = deck;
     this.type = type;
     this.controllerType = controllerType;
     this.interactionMode = interactionMode;
     this.autoRepeat = autoRepeat;
     this.invert = invert;
     this.softTakeOver = softTakeOver;
     this.rotarySensitivity = rotarySensitivity;
     this.rotaryAcceleration = rotaryAcceleration;
     this.ledInvert = ledInvert;
     this.resolution = resolution;
 }