优化机器人任务界面,增加根据区域下发任务,增加规则配置界面

This commit is contained in:
mmc
2026-10-26 19:30:23 +08:00
parent fb363882ac
commit 08736d6d3f
12 changed files with 1821 additions and 544 deletions

View File

@@ -960,6 +960,28 @@
repeatNone: 'Repeat None',
repeatTypeLabel: 'Repeat Type Label',
repeatWeekly: 'Repeat Weekly',
taskDispatch: 'Task Dispatch',
dispatchSource: 'Dispatch Source',
dispatchByRoute: 'By Route',
dispatchByRegion: 'By Region',
noRouteInRegion: 'No routes bound to this region',
taskSelectRegion: 'Select Task Region',
taskDispatchMode: 'Dispatch Mode',
taskModeImmediate: 'Immediate',
taskModeScheduled: 'Scheduled',
taskModeImmediateTip: 'Execute immediately after dispatch',
taskModeScheduledTip: 'Execute automatically by the configured schedule',
taskConfig: 'Task Configuration',
taskSelectRoute: 'Select Routes',
taskSelectRegionTip: 'Please select task regions first — bound routes will be linked automatically',
taskSelectRobot: 'Execute Robot',
taskScheduleSetting: 'Scheduled Task Settings',
taskExecuteNow: 'Dispatch',
taskSaveSchedule: 'Save Schedule',
taskSelectRegionFirst: 'Please select task region first',
taskSelectRouteFirst: 'The selected region has no bound routes',
taskSelectRobotFirst: 'Please select an execute robot',
taskDispatchResult: 'Dispatched. Success {success}, Failed {fail}',
requestControlPermission: 'Request Control Permission',
controlRequesting: 'Requesting...',
controlGranted: 'Control Granted',
@@ -2582,6 +2604,42 @@
workOrderCompletionRate: 'Work Order Completion Rate',
},
systemSetting: {
ruleConfig: 'Rule Config',
ruleName: 'Rule Name',
ruleType: 'Rule Type',
ruleTypeLowBatteryReturn: 'Low Battery Return',
deviceScope: 'Device Scope',
deviceScopeAll: 'All Devices',
deviceScopeGroup: 'Device Group',
deviceScopeSome: 'Specific Devices',
triggerKey: 'Trigger Field',
triggerKeyBattery: 'Battery',
triggerKeyTemperature: 'Temperature',
triggerKeyOfflineDuration: 'Offline Duration',
triggerKeyVoltage: 'Voltage',
triggerValue: 'Threshold',
actionType: 'Action Type',
actionTypeAutoTask: 'Auto Task',
actionTypeSendCommand: 'Send Command',
actionTypeAlarm: 'Alarm',
actionTypeWorkOrder: 'Work Order',
actionArgs: 'Action Args',
enabledLabel: 'Enabled',
forceExecute: 'Force Execute',
pleaseInputRuleName: 'Please input rule name',
pleaseSelectRuleType: 'Please select rule type',
pleaseSelectDeviceScope: 'Please select device scope',
pleaseSelectTriggerKey: 'Please select trigger field',
pleaseSelectOperator: 'Please select operator',
pleaseInputTriggerValue: 'Please input threshold',
pleaseSelectActionType: 'Please select action type',
ruleList: 'Rule List',
addRule: 'Add Rule',
editRule: 'Edit Rule',
viewRule: 'View Rule',
operator: 'Operator',
invalidJson: 'Invalid action args JSON',
confirmDeleteRule: 'Are you sure to delete rule "{{name}}"?',
flvPlaybackError: 'FLV playback error',
flvNetworkError: 'Network error while loading the stream',
mediaDecodeError: 'Media decode error',