Canvas > Using Canvas Controls and Objects > Donut > Donut Methods

Donut Methods

Method icon The Donut supports the following scripting methods.

See Accessing Screen Objects for more information about how to view control objects in script in the Canvas application.

Method Description

AcknowledgeAlarm

The AcknowledgeAlarm method acknowledges an alarm.

Equals

The Equals method determines whether the specified object is equal to the current object.

GetHashCode

The GetHashCode method returns a hash code for the current object.

GetType

The GetType method returns the runtime type of the current instance.

Refresh

The Refresh method refreshes the data in the control from the Current Value Service (CVS).

ResolveRelativeFacility

The ResolveRelativeFacility method returns the resolved relative facility.

SerializeObject

The SerializeObject method stores the object in memory so that it can be recreated when needed.

SetLowerAndUpperValue

The SetLowerAndUpperValue method sets the lower value bound and the upper value bound via script.

SetLowerBoundValue

The SetLowerBoundValue method sets the lower value bound via script.

SetPosition

The SetPosition method sets the position of the control.

SetUpperBoundValue

The SetUpperBoundValue method sets the upper value bound via script.

ToString

The ToString method returns a string that represents the current object.


Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.