task.ts 3.36 KB
export default {
  centerListName: '任务列表',
  createTask: '@:taskCenter.task.action.CREATE',
  action: {
    CREATE: '创建任务',
    READ: '任务详情',
    UPDATE: '更新任务',
    DELETE: '删除任务',
  },

  search: {
    targetType: '目标类型',
    state: '状态',
  },
  card: {
    runTask: '运行任务',
    lastTime: '最后运行时间',
    recentlyExecuted: '最近执行',
    allowDevice: '允许该设备',

    settingTooltip: '设置是否允许当前设备定时执行任务。该选项不影响手动执行任务。',
    enabled: '已启用',
    notEnabled: '未启用',
    settingMessage: '设置成功',
    updateStatusOk: '更新状态成功',
  },
  detail: {
    taskDetail: '任务详情',
    taskname: '任务名',
    targetType: '@:taskCenter.task.search.targetType',
    state: '任务状态',
    taskType: '任务类型',
    timeingMethod: '定时方式', //Timing method
    intervalTime: '间隔时间', //Interval time
    commandContent: '命令内容', //Command content
    createTime: '创建时间', //Creation time
    editTime: '创建时间', //Modification time
  },
  form: {
    name: '任务名称',
    targetType: '@:taskCenter.task.search.targetType',
    targetMessage: '执行任务的目标设备,可以是多个指定的设备,也可以是一个设备类型下的所有设备.',
    product: '@:business.productText',
    productMessage: '任务可以对目标产品按预设的时间策略执行任务。',
    device: '@:business.deviceText',
    deviceMessage: '任务可以对目标设备按预设的时间策略执行任务。',
    pushWay: '推送方式',
    customFlow: '自定义数据流',
    instruct: '@:enum.taskType.MODBUS_RTU 指令',
    taskTimeSetting: '任务定时设置',
    cycle: '周期',
    monthly: '每月',
    monthlyPlace: '@:common.inputText 月份',
    weekly: '每周',
    time: '时间',
    timeUnit: '时间单位',
    intervalTime: '间隔时间',
  },
  modbus: {
    modalTitle: '配置操作',
    decimalism: '十进制', //decimalism
    hexadecimal: '十六进制', //hexadecimal
    registerCode: '寄存器地址码', //Register Address Code
    preview: '生成预览',
    modbusPerview: '指令预览',
    slaveAddress: '从机地址',
    functionCode: '功能码',
    registerAddress: '起始寄存器地址',
    registerNumber: '寄存器个数',
    coilsNumber: '线圈个数',
    coilsValue: '线圈值',
    registerValue: '寄存器值',
    coilsStatusValue: '线圈状态值',
    setStart: '设置从起始地址偏移',
    setswitchState: '位的线圈开关量状态。',
    openOrClose: '全开或全关',
    totalMessage: '将以下所有线圈的开关量状态全部置为 1 或 0,实现一键全开或全关.',
    dataCheck: '数据校验',
    dataMethod: '数据校验方式',
  },
  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: '所有目标设备',
    runSuccess: '运行成功',
    runError: '运行失败',
  },
};