|
|
@@ -480,8 +480,10 @@ const Easy = (props, ref) => {
|
|
|
name={"sub_type"}
|
|
|
>
|
|
|
<Radio.Group disabled={alarmId !== -1}>
|
|
|
- <Radio value={14}>限值报警</Radio>
|
|
|
- <Radio value={13}>离散报警</Radio>
|
|
|
+ <Radio value={14}>{TranslateText(["限值报警", "Threshold"])}</Radio>
|
|
|
+ <Radio value={13}>
|
|
|
+ {TranslateText(["离散报警", "Equal-to-Value"])}
|
|
|
+ </Radio>
|
|
|
</Radio.Group>
|
|
|
</Form.Item>
|
|
|
<Form.Item
|
|
|
@@ -593,7 +595,7 @@ const Easy = (props, ref) => {
|
|
|
|
|
|
{subType === 14 && (
|
|
|
<>
|
|
|
- <Form.Item label="阈值">
|
|
|
+ <Form.Item label={TranslateText(["阈值", "Threshold"])}>
|
|
|
<div>
|
|
|
<Space size={8}>
|
|
|
<div className={styles.itemContainer}>
|
|
|
@@ -809,7 +811,7 @@ const Easy = (props, ref) => {
|
|
|
</Select.Option>
|
|
|
</Select>
|
|
|
</Form.Item>
|
|
|
- <Form.Item label="告警开关" name="status">
|
|
|
+ <Form.Item label={TranslateText(["告警开关", "Enable"])} name="status">
|
|
|
<Switch size={"small"} />
|
|
|
</Form.Item>
|
|
|
|
|
|
@@ -823,7 +825,7 @@ const Easy = (props, ref) => {
|
|
|
}}
|
|
|
style={{ marginLeft: -16 }}
|
|
|
>
|
|
|
- 更多
|
|
|
+ {TranslateText(["更多", "More"])}
|
|
|
<DownOutlined></DownOutlined>
|
|
|
</Button>
|
|
|
}
|