我正在尝试在 java 扩展中读取事物的属性值,我总是收到异常“未授权 PSIM_AlarmManagementServices_Thing 中 ss 上的 PropertyRead”
我的代码是
Thing AlarmManagementServices_Thing = (Thing) EntityUtilities.findEntityDirect("PSIM_AlarmManagementServices_Thing",
ThingworxRelationshipTypes.Thing);
String ss = AlarmManagementServices_Thing.GetStringPropertyValue("ss");