1
|
import type { CategoryConfigType, NodeItemConfigType } from '../../types/node';
|
1
|
import type { CategoryConfigType, NodeItemConfigType } from '../../types/node';
|
2
|
import { RuleNodeTypeEnum } from '../index.type';
|
2
|
import { RuleNodeTypeEnum } from '../index.type';
|
3
|
import { CreateAlarmConfig } from './CreateAlarm';
|
3
|
import { CreateAlarmConfig } from './CreateAlarm';
|
4
|
-// import { PushToEdgeConfig } from './PushToEdge';
|
4
|
+import { PushToEdgeConfig } from './PushToEdge';
|
5
|
import { GeneratorConfig } from './Generator';
|
5
|
import { GeneratorConfig } from './Generator';
|
6
|
import { AssignToCustomerConfig } from './AssignToCustomer';
|
6
|
import { AssignToCustomerConfig } from './AssignToCustomer';
|
7
|
import { UnassignFromCustomerConfig } from './UnassignFromCustomer';
|
7
|
import { UnassignFromCustomerConfig } from './UnassignFromCustomer';
|
|
@@ -9,19 +9,19 @@ import { SaveTimeseriesConfig } from './SaveTimeseries'; |
|
@@ -9,19 +9,19 @@ import { SaveTimeseriesConfig } from './SaveTimeseries'; |
9
|
import { GpsGeofencingEventsConfig } from './GpsGeofencingEvents';
|
9
|
import { GpsGeofencingEventsConfig } from './GpsGeofencingEvents';
|
10
|
import { DeviceProfileConfig } from './DeviceProfile';
|
10
|
import { DeviceProfileConfig } from './DeviceProfile';
|
11
|
import { RpcCallReplyConfig } from './RpcCallReply';
|
11
|
import { RpcCallReplyConfig } from './RpcCallReply';
|
12
|
-// import { CopyToViewConfig } from './CopyToView';
|
12
|
+import { CopyToViewConfig } from './CopyToView';
|
13
|
import { LogConfig } from './Log';
|
13
|
import { LogConfig } from './Log';
|
14
|
import { SaveToCustomTableConfig } from './SaveToCustomTable';
|
14
|
import { SaveToCustomTableConfig } from './SaveToCustomTable';
|
15
|
import { ClearAlarmConfig } from './ClearAlarm';
|
15
|
import { ClearAlarmConfig } from './ClearAlarm';
|
16
|
-// import { DeleteRelationConfig } from './DeleteRelation';
|
16
|
+import { DeleteRelationConfig } from './DeleteRelation';
|
17
|
import { DelayDeprecatedConfig } from './DelayDeprecated';
|
17
|
import { DelayDeprecatedConfig } from './DelayDeprecated';
|
18
|
import { MessageCountConfig } from './MessageCount';
|
18
|
import { MessageCountConfig } from './MessageCount';
|
19
|
import { SaveEventConfig } from './SaveEvent';
|
19
|
import { SaveEventConfig } from './SaveEvent';
|
20
|
import { RpcCallRequestConfig } from './RpcCallRequest';
|
20
|
import { RpcCallRequestConfig } from './RpcCallRequest';
|
21
|
import { SynchronizationStartConfig } from './SynchronizationStart';
|
21
|
import { SynchronizationStartConfig } from './SynchronizationStart';
|
22
|
import { SynchronizationEndConfig } from './SynchronizationEnd';
|
22
|
import { SynchronizationEndConfig } from './SynchronizationEnd';
|
23
|
-// import { SaveAttributesConfig } from './SaveAttributes';
|
|
|
24
|
-// import { CreateRelationConfig } from './CreateRelation';
|
23
|
+import { SaveAttributesConfig } from './SaveAttributes';
|
|
|
24
|
+import { CreateRelationConfig } from './CreateRelation';
|
25
|
import { useI18n } from '/@/hooks/web/useI18n';
|
25
|
import { useI18n } from '/@/hooks/web/useI18n';
|
26
|
|
26
|
|
27
|
const { t } = useI18n(); // 加载国际化
|
27
|
const { t } = useI18n(); // 加载国际化
|
|
@@ -36,20 +36,20 @@ export const ActionCategoryConfig: CategoryConfigType = { |
|
@@ -36,20 +36,20 @@ export const ActionCategoryConfig: CategoryConfigType = { |
36
|
export const ActionComponents: NodeItemConfigType[] = [
|
36
|
export const ActionComponents: NodeItemConfigType[] = [
|
37
|
AssignToCustomerConfig,
|
37
|
AssignToCustomerConfig,
|
38
|
ClearAlarmConfig,
|
38
|
ClearAlarmConfig,
|
39
|
- // CopyToViewConfig,
|
39
|
+ CopyToViewConfig,
|
40
|
CreateAlarmConfig,
|
40
|
CreateAlarmConfig,
|
41
|
- // CreateRelationConfig,
|
|
|
42
|
- // DeleteRelationConfig,
|
41
|
+ CreateRelationConfig,
|
|
|
42
|
+ DeleteRelationConfig,
|
43
|
DelayDeprecatedConfig,
|
43
|
DelayDeprecatedConfig,
|
44
|
DeviceProfileConfig,
|
44
|
DeviceProfileConfig,
|
45
|
GeneratorConfig,
|
45
|
GeneratorConfig,
|
46
|
GpsGeofencingEventsConfig,
|
46
|
GpsGeofencingEventsConfig,
|
47
|
LogConfig,
|
47
|
LogConfig,
|
48
|
MessageCountConfig,
|
48
|
MessageCountConfig,
|
49
|
- // PushToEdgeConfig,
|
49
|
+ PushToEdgeConfig,
|
50
|
RpcCallReplyConfig,
|
50
|
RpcCallReplyConfig,
|
51
|
RpcCallRequestConfig,
|
51
|
RpcCallRequestConfig,
|
52
|
- // SaveAttributesConfig,
|
52
|
+ SaveAttributesConfig,
|
53
|
SaveEventConfig,
|
53
|
SaveEventConfig,
|
54
|
SaveTimeseriesConfig,
|
54
|
SaveTimeseriesConfig,
|
55
|
SaveToCustomTableConfig,
|
55
|
SaveToCustomTableConfig,
|