Commit da5f6d56 authored by Claes Sjofors's avatar Claes Sjofors

Trend, template values set in rt_trend (refs #43)

parent a3a7b635
...@@ -322,6 +322,12 @@ static pwr_tStatus InitTrendList( trend_tCtx ctx) ...@@ -322,6 +322,12 @@ static pwr_tStatus InitTrendList( trend_tCtx ctx)
} }
o = ep->o; o = ep->o;
/* Set init values */
o->BufferStatus[0] = 1;
o->BufferStatus[1] = 1;
o->NoOfBuffers = 2;
o->NoOfBufElement = 239;
/* Initiate DsTrend object, sampled attribute must be on local node */ /* Initiate DsTrend object, sampled attribute must be on local node */
sts = gdh_DLRefObjectInfoAttrref((pwr_sAttrRef *)&o->DataName, sts = gdh_DLRefObjectInfoAttrref((pwr_sAttrRef *)&o->DataName,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment