const service = require('./service.js')
const viewModel = require('./view-model.js')
const manualRtuService = require('./manual-rtu.js')

module.exports = {
  manualRtuService,
  decorateLogs: viewModel.decorateLogs,
  getLogModeToggleText: viewModel.getLogModeToggleText,
  getManualStatePayload: viewModel.getManualStatePayload,
  getNextLogMode: viewModel.getNextLogMode,
  getNextSerialMode: viewModel.getNextSerialMode,
  getProtocolModeState: viewModel.getProtocolModeState,
  getStorageAccessAreaOptions: viewModel.getStorageAccessAreaOptions,
  normalizeSerialState: viewModel.normalizeSerialState,
  normalizeStorageAccessSpecialState: viewModel.normalizeStorageAccessSpecialState,
  normalizeStorageAccessState: viewModel.normalizeStorageAccessState,
  executeStorageAccessProtocol: service.executeStorageAccessProtocol,
  executeStorageAccessSpecialCommand: service.executeStorageAccessSpecialCommand,
  sendSerialFrame: service.sendSerialFrame
}
