Configure the trend options

Системная платформа - продукт для комплексной автоматизации процессов предприятия от Wonderware.

Configure the trend options

Сообщение vaako1991 » Пн фев 13, 2017 6:42 pm

Здравствуйте. У меня следующий вопрос :
На мнемосхеме открываю исторический тренд ( исторический тренд осуществлен с помощью aaTrendControl) для какого нибудь аналогового датчика. С помощью синей вертикальной линии я смотрю значение графика в нужный момент времени (значение показывается верхнем левом углу так же синим цветом),но это значение округляется до целых. Чтобы показать значение до сотых я нажимаю на "Configure the trend options" , далее перехожу во вкладку "Miscelaneous" и в настройке "Tag defaults" в выпадающей вкладке "Decimal places" выбираю значение 2. Значение показывается до сотых, но если перегрузить WindowViewer эта настройка слетает, и значения опять округляются до целых. Как сделать так чтобы эта настройка не слетала?
vaako1991
 
Сообщения: 6
Зарегистрирован: Пт янв 27, 2017 12:11 pm

Re: Configure the trend options

Сообщение Генератор зла » Пн фев 13, 2017 7:01 pm

CurrentTagPrecision
The CurrentTagPrecision property is a read-write property that gets or sets the number of decimal places to show for the data value of the currently selected tag. This applies only to _ tags.
Syntax
aaHistClientTrend.CurrentTagPrecision = integer;
Result = aaHistClientTrend.CurrentTagPrecision;
Remarks
To set the tag to use the decimal format, use the DefaultTagFormat property.
The default value is 0.

DecimalPlaces
The DecimalPlaces property is a read-write property that gets or sets the number of decimal places to display for the data value of the currently selected tag. This property is applicable only to the _ tags.
Syntax
aaHistClientTrend.CurrentTrendItem.DecimalPlaces = integer;
Result = aaHistClientTrend.CurrentTrendItem.DecimalPlaces;
Remarks
The default value is 0.

DefaultTagPrecision
The DefaultTagPrecision property is read-write property that gets or sets the number of decimal places of the trend item for presentation to the client.
Syntax
aaHistClientTrend.DefaultTagPrecision = integer;
Result = aaHistClientTrend.DefaultTagPrecision;
Remarks
Precision changes are not applied to trend items already in the chart at the time the precision change is made.
The default value is 0.
Vita est dolor.
Генератор зла
 
Сообщения: 2860
Зарегистрирован: Вс янв 23, 2011 5:08 pm


Вернуться в Wonderware System Platform

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 4