Skip to content

Commit 97db004

Browse files
committed
fix
1 parent 97897c3 commit 97db004

File tree

1 file changed

+1
-23
lines changed
  • iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/client

1 file changed

+1
-23
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/client/IoTDBOpcUaClient.java

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -251,29 +251,7 @@ public static ObjectAttributes createFolderAttributes(final String name) {
251251
LocalizedText.english(name),
252252
Unsigned.uint(0), // writeMask
253253
Unsigned.uint(0), // userWriteMask
254-
null // 启用历史记录
255-
);
256-
}
257-
258-
public static ObjectAttributes createFolder1Attributes() {
259-
return new ObjectAttributes(
260-
Unsigned.uint(0xFFFF), // specifiedAttributes
261-
LocalizedText.english("sg"),
262-
LocalizedText.english("反应釜压力传感器"),
263-
Unsigned.uint(0), // writeMask
264-
Unsigned.uint(0), // userWriteMask
265-
null // 启用历史记录
266-
);
267-
}
268-
269-
public static ObjectAttributes createFolder2Attributes() {
270-
return new ObjectAttributes(
271-
Unsigned.uint(0xFFFF), // specifiedAttributes
272-
LocalizedText.english("d1"),
273-
LocalizedText.english("反应釜压力传感器"),
274-
Unsigned.uint(0), // writeMask
275-
Unsigned.uint(0), // userWriteMask
276-
null // 启用历史记录
254+
null // notifier
277255
);
278256
}
279257
}

0 commit comments

Comments
 (0)