task.ts 3.22 KB
export default {
  centerListName: 'Task list',
  createTask: '@:common.createText task',

  action: {
    CREATE: 'Create task',
    READ: 'Task detail',
    UPDATE: 'Update task',
    DELETE: 'Delete task',
  },

  search: {
    targetType: 'Target type',
    state: 'State',
  },
  card: {
    runTask: 'Run task',
    lastTime: 'Last Run Time', //
    recentlyExecuted: 'Recently executed', //
    allowDevice: 'Allow this device', //
    //
    settingTooltip:
      'Set whether to allow the current device to schedule task execution. This option does not affect manual task execution.',
    enabled: 'ENABLED',
    notEnabled: 'Not enabled',
    settingMessage: 'Set successfully',
    updateStatusOk: 'Update status successful', //
  },
  detail: {
    taskDetail: 'Task detail',
    taskname: 'Task name',
    targetType: '@:taskCenter.task.search.targetType',
    state: 'Task state',
    taskType: 'Task type',
    timeingMethod: 'Timing method',
    intervalTime: 'Interval time',
    commandContent: 'Command content',
    createTime: 'Creation time',
    editTime: 'Modification time',
  },

  form: {
    name: 'Task name',
    targetType: '@:taskCenter.task.search.targetType',
    targetMessage:
      'The target device for executing a task can be multiple specified devices or all devices under a single device type', //
    product: '@:business.productText',
    productMessage:
      'Tasks can be executed on the target product according to a predetermined time strategy.',
    device: '@:business.deviceText',
    deviceMessage:
      'Tasks can be executed on the target device according to a preset time strategy.',
    pushWay: 'Push method',
    customFlow: 'Custom Data Flow',
    instruct: '@:enum.taskType.MODBUS_RTU instruct',
    taskTimeSetting: 'Task timing settings',
    cycle: 'Cycle',
    monthly: 'Monthly',
    monthlyPlace: '@:common.inputText month',
    weekly: 'Weekly',
    time: 'Time',
    timeUnit: 'Time Unit',
    intervalTime: 'Interval time',
  },

  modbus: {
    modalTitle: 'Configuration Operations',
    decimalism: 'decimalism',
    hexadecimal: 'hexadecimal',
    registerCode: 'Register Address Code',
    preview: 'Generate Preview',
    modbusPerview: 'Command Preview',
    slaveAddress: 'Slave address',
    functionCode: 'Function code',
    registerAddress: 'Starting register address',
    registerNumber: 'Number of registers',
    coilsNumber: 'Number of coils',
    coilsValue: 'Coil value',
    registerValue: 'Register value',
    coilsStatusValue: 'Coil status value',
    setStart: 'Set offset from start address',
    setswitchState: 'The switch state of the coil position.',
    openOrClose: 'Fully open or fully closed',
    totalMessage:
      'Set all the switch states of the following coils to 1 or 0 to achieve one click full on or full off. closed',
    dataCheck: 'Data check',
    dataMethod: 'Data verification method',
  },

  runTask: {
    title: 'Run Task',
    selectTargetType: 'Select target type',
    typeMessage:
      'You can perform tasks in bulk on all devices associated with the task, or specify one or more associated devices to perform the task.',
    targetDevice: 'Specify target device',
    allDevice: 'All target devices',
    runSuccess: 'Run success',
    runError: 'Run error',
  },
};