old_contents: """
  Device Message Queue defined in Thorlabs Kinesis v1.14.10
  
  The device message queue allows the internal events raised by the device to be 
  monitored by the DLLs owner. 
  
  The device raises many different events, usually associated with a change of state.
  
  These messages are temporarily stored in the DLL and can be accessed using the 
  appropriate message functions.
  
  The message consists of 3 components, a messageType, a messageID and messageData::
  
     WORD messageType
     WORD messageID
     WORD messageData
  
  """
  
  #: MessageTypes
  MessageTypes = {
      0: 'GenericDevice',
      1: 'GenericPiezo',
      2: 'GenericMotor',
      3: 'GenericDCMotor',
      4: 'GenericSimpleMotor',
      5: 'RackDevice',
      6: 'Laser',
      7: 'TECCtlr',
      8: 'Quad',
      9: 'NanoTrak',
      10: 'Specialized',
      11: 'Solenoid',
  }
  
  #: GenericDevice
  GenericDevice = {
      0: 'settingsInitialized',
      1: 'settingsUpdated',
      2: 'error',
      3: 'close',
  }
  
  #: GenericMotor
  GenericMotor = {
      0: 'Homed',
      1: 'Moved',
      2: 'Stopped',
      3: 'LimitUpdated',
  }
  
  #: GenericDCMotor
  GenericDCMotor = {
      0: 'error',
      1: 'status',
  }
  
  #: GenericPiezo
  GenericPiezo = {
      0: 'maxVoltageChanged',
      1: 'controlModeChanged',
      2: 'statusChanged',
      3: 'maxTravelChanged',
      4: 'TSG_Status',
      5: 'TSG_DisplayModeChanged',
  }
  
  #: RackDevice
  RackDevice = {
      0: 'RackCountEstablished',
      1: 'RackBayState',
  }
  
  #: Quad
  Quad = {
      0: 'statusChanged',
  }
  
  #: TECCtlr
  TECCtlr = {
      0: 'statusChanged',
      2: 'displaySettingsChanged',
      3: 'feedbackParamsChanged',
  }
  
  #: Laser
  Laser = {
      0: 'statusChanged',
      1: 'controlSourceChanged',
      2: 'displayModeChanged',
  }
  
  #: Solenoid
  Solenoid = {
      0: 'statusChanged',
  }
  
  #: NanoTrak
  NanoTrak = {
      0: 'statusChanged',
  }
  
  #: Specialized
  Specialized = {}
  
  #: GenericSimpleMotor
  GenericSimpleMotor = {}
  
  #: MessageID
  MessageID = {
      'GenericDevice': GenericDevice,
      'GenericPiezo': GenericPiezo,
      'GenericMotor': GenericMotor,
      'GenericDCMotor': GenericDCMotor,
      'GenericSimpleMotor': GenericSimpleMotor,
      'RackDevice': RackDevice,
      'Laser': Laser,
      'TECCtlr': TECCtlr,
      'Quad': Quad,
      'NanoTrak': NanoTrak,
      'Specialized': Specialized,
      'Solenoid': Solenoid,
  }
  
new_contents: """
  Device Message Queue defined in Thorlabs Kinesis v1.14.18
  
  The device message queue allows the internal events raised by the device to be
  monitored by the DLLs owner.
  
  The device raises many different events, usually associated with a change of state.
  
  These messages are temporarily stored in the DLL and can be accessed using the
  appropriate message functions.
  
  The message consists of 3 components, a messageType, a messageID and messageData::
  
     WORD messageType
     WORD messageID
     WORD messageData
  
  """
  
  #: MessageTypes
  MessageTypes = {
      0: 'GenericDevice',
      1: 'GenericPiezo',
      2: 'GenericMotor',
      3: 'GenericDCMotor',
      4: 'GenericSimpleMotor',
      5: 'RackDevice',
      6: 'Laser',
      7: 'TECCtlr',
      8: 'Quad',
      9: 'NanoTrak',
      10: 'Specialized',
      11: 'Solenoid',
  }
  
  #: GenericDevice
  GenericDevice = {
      0: 'settingsInitialized',
      1: 'settingsUpdated',
      2: 'settingsExtern',
      3: 'error',
      4: 'close',
      5: 'settingsReset',
  }
  
  #: GenericMotor
  GenericMotor = {
      0: 'Homed',
      1: 'Moved',
      2: 'Stopped',
      3: 'LimitUpdated',
  }
  
  #: GenericDCMotor
  GenericDCMotor = {
      0: 'error',
      1: 'status',
  }
  
  #: GenericPiezo
  GenericPiezo = {
      0: 'maxVoltageChanged',
      1: 'controlModeChanged',
      2: 'statusChanged',
      3: 'maxTravelChanged',
      4: 'TSG_Status',
      5: 'TSG_DisplayModeChanged',
  }
  
  #: RackDevice
  RackDevice = {
      0: 'RackCountEstablished',
      1: 'RackBayState',
  }
  
  #: Quad
  Quad = {
      0: 'statusChanged',
  }
  
  #: TECCtlr
  TECCtlr = {
      0: 'statusChanged',
      2: 'displaySettingsChanged',
      3: 'feedbackParamsChanged',
  }
  
  #: Laser
  Laser = {
      0: 'statusChanged',
      1: 'controlSourceChanged',
      2: 'displayModeChanged',
  }
  
  #: Solenoid
  Solenoid = {
      0: 'statusChanged',
  }
  
  #: NanoTrak
  NanoTrak = {
      0: 'statusChanged',
  }
  
  #: Specialized
  Specialized = {}
  
  #: GenericSimpleMotor
  GenericSimpleMotor = {}
  
  #: MessageID
  MessageID = {
      'GenericDevice': GenericDevice,
      'GenericPiezo': GenericPiezo,
      'GenericMotor': GenericMotor,
      'GenericDCMotor': GenericDCMotor,
      'GenericSimpleMotor': GenericSimpleMotor,
      'RackDevice': RackDevice,
      'Laser': Laser,
      'TECCtlr': TECCtlr,
      'Quad': Quad,
      'NanoTrak': NanoTrak,
      'Specialized': Specialized,
      'Solenoid': Solenoid,
  }
  
subject: update dicts in messages.py for Kinesis v1.14.18