.UpdateCount 点域
- Last UpdatedMar 21, 2018
- 1 minute read
每次历史趋势更新时,.UpdateCount 点域将计数值递增一次。.UpdateCount 点域可以用作其它函数的触发器。
类别
历史。
用法
HistTrendTag.UpdateCount
参数
HistTrendTag
指定了趋势的名称的“历史趋势”标记。
数据类型
整型(只读)。
有效值
任何正整数。
示例
本例使用 HTGetValueAtScooter() 函数来检索右指示器当前位置上 Pen1 的值。对任何函数参数所作的更改都会导致对该函数进行重新求值。完成更新时,.UpdateCount 的值会递增,此语句将重新求值。
MyRealTag=HTGetValueAtScooter( MyHistTrendTag,MyHistTrendTag.UpdateCount, 2, MyHistTrendTag.ScooterPosRight, 1, "PenValue");
另请参阅
.UpdateInProgress, .UpdateTrend