Remote property binding programmatically
Hi,
We can create and set remote binding programmatically. But how can we set property attributes such as "Start Type", "Cache Method" and other parameters related to remote property.
I have attached the image for better understanding.
Also, I have shared the code which I tried.
With regards
Yedukrishnan
var aspects = {
"industrialDataType": "Short",
"tagAddress": "Channel1.Device1.tag3",
"scanRate": 1000,
"tagType": "Static",
"readOnly": "true"
};
var params = {
propertyName: "PropertyTag" /* STRING */,
pushThreshold: 0 /* NUMBER */,
aspects: aspects /* JSON */,
foldType: undefined /* STRING */,
sourcePropertyName: undefined /* STRING */,
timeout: 0 /* INTEGER */,
pushType: "VALUE" /* STRING */,
cacheTime: undefined /* INTEGER */
};
// no return
me.SetRemotePropertyBinding(params);
With regards
Yedukrishnan

