Loading src/astri/tcs/TCSHardwareDeviceImpl/baciHelper.java +5 −2 Original line number Diff line number Diff line Loading @@ -109,6 +109,7 @@ import astri.cta.acs.opcua.da.UaDataSupport.extensions.UaDataSupportInt16; import cta.acs.opcua.da.UaClientPool; import cta.acs.opcua.da.UaDataSupport; import cta.acs.opcua.da.UaSubscriptionListener; import cta.acs.opcua.da.extension.UaDataSupportShort2Int; import cta.acs.opcua.da.extension.UaDataSupportUInt16; import cta.acs.opcua.da.extension.UaDataSupportUInt32; Loading Loading @@ -437,7 +438,8 @@ public class baciHelper { } public ROlong createROlongProp(String name, String Node, String flag) throws PropertyInitializationFailed, IOException, OnChangeNotSupportedException { if (flag=="INT16") dataAccess.put(name, new UaDataSupportInt16(opc_url,Node)); //dataAccess.put(name, new UaDataSupportInt16(opc_url,Node)); dataAccess.put(name, new UaDataSupportShort2Int(opc_url,Node)); else if(flag=="UINT16") dataAccess.put(name, new UaDataSupportUInt16(opc_url,Node)); else if(flag=="UINT32") Loading Loading @@ -502,7 +504,8 @@ public class baciHelper { } public RWlong createRWlongProp(String name, String Node, String flag) throws PropertyInitializationFailed { if (flag=="INT16") dataAccess.put(name, new UaDataSupportInt16(opc_url,Node)); //dataAccess.put(name, new UaDataSupportInt16(opc_url,Node)); dataAccess.put(name, new UaDataSupportShort2Int(opc_url,Node)); else if(flag=="UINT16") dataAccess.put(name, new UaDataSupportUInt16(opc_url,Node)); else if(flag=="UINT32") Loading Loading
src/astri/tcs/TCSHardwareDeviceImpl/baciHelper.java +5 −2 Original line number Diff line number Diff line Loading @@ -109,6 +109,7 @@ import astri.cta.acs.opcua.da.UaDataSupport.extensions.UaDataSupportInt16; import cta.acs.opcua.da.UaClientPool; import cta.acs.opcua.da.UaDataSupport; import cta.acs.opcua.da.UaSubscriptionListener; import cta.acs.opcua.da.extension.UaDataSupportShort2Int; import cta.acs.opcua.da.extension.UaDataSupportUInt16; import cta.acs.opcua.da.extension.UaDataSupportUInt32; Loading Loading @@ -437,7 +438,8 @@ public class baciHelper { } public ROlong createROlongProp(String name, String Node, String flag) throws PropertyInitializationFailed, IOException, OnChangeNotSupportedException { if (flag=="INT16") dataAccess.put(name, new UaDataSupportInt16(opc_url,Node)); //dataAccess.put(name, new UaDataSupportInt16(opc_url,Node)); dataAccess.put(name, new UaDataSupportShort2Int(opc_url,Node)); else if(flag=="UINT16") dataAccess.put(name, new UaDataSupportUInt16(opc_url,Node)); else if(flag=="UINT32") Loading Loading @@ -502,7 +504,8 @@ public class baciHelper { } public RWlong createRWlongProp(String name, String Node, String flag) throws PropertyInitializationFailed { if (flag=="INT16") dataAccess.put(name, new UaDataSupportInt16(opc_url,Node)); //dataAccess.put(name, new UaDataSupportInt16(opc_url,Node)); dataAccess.put(name, new UaDataSupportShort2Int(opc_url,Node)); else if(flag=="UINT16") dataAccess.put(name, new UaDataSupportUInt16(opc_url,Node)); else if(flag=="UINT32") Loading