Is it possible to have a method to retrieve the string PLC address of a DataItem.
You can create a DataItem based on a string PLC address.
There is an internal function to transform a DataItem to object DataItemAddress to have the PLC adress.
A ToString() function for the class would be great.
internal static DataItemAddress GetDataItemAddress(DataItem dataItem)
This is still an internal function, so implementing the ToString() function of some public method in the DataItem class can use this internal GetDatItemAddress method.
Hi
Is it possible to have a method to retrieve the string PLC address of a DataItem. You can create a DataItem based on a string PLC address.
There is an internal function to transform a DataItem to object DataItemAddress to have the PLC adress. A
ToString()
function for the class would be great.internal static DataItemAddress GetDataItemAddress(DataItem dataItem)
This is still an internal function, so implementing theToString()
function of some public method in the DataItem class can use this internalGetDatItemAddress
method.