Properties: Proficy_DWN.Downtime Control

Action1ColumnVisible

Purpose

Show/hide the Action 1 column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property Action1ColumnVisible As Boolean

Action2ColumnVisible

Purpose

Show/hide the Action 2 column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property Action2ColumnVisible As Boolean

Action3ColumnVisible

Purpose

Show/hide the Action 3 column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property Action3ColumnVisible As Boolean

Action4ColumnVisible

Purpose

Show/hide the Action 4 column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property Action4ColumnVisible As Boolean

CommandDescription

Purpose

Return a string that tells what a specified command has done.

 

 

Read-only

 

Syntax

Property CommandDescription(CommandName) As String

CommentColumnVisible

Purpose

Show/hide the Comment column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property CommentColumnVisible As Boolean

CurrentAction1

Purpose

Set or retrieve the first action for the selected Downtime detail row.

  • The selected action must be chosen from the Current Action1 list.

  • Action 1 becomes the first action in a tree. Once the Current Action 1 is set other actions that were included in the Current Action 1 list are now included in a Current Action 2 list.

 

 

Read/Write

 

Syntax

Property CurrentAction1 As String

CurrentAction1List

Purpose

Returns a list of available actions from which one can be selected and set as Current Action 1.

 

 

Read-only

 

Syntax

Property CurrentAction1List As Variant

CurrentAction2

Purpose

Set or retrieve the second action for the selected Downtime detail row.

  • Action 1 must be set before an Action 2 can be selected.

  • The selected action must be chosen from the Current Action 2 list.

  • Action 2 becomes the second action in a tree. Once the Current Action 2 is set other actions that were included in the Current Action 2 list are now included in a Current Action 3 list.

 

 

Read/Write

 

Syntax

Property CurrentAction2 As String

CurrentAction2List

Purpose

Returns a list of available actions from which one can be selected and set as Current Action 2.

 

 

Read-only

 

Syntax

Property CurrentAction2List As Variant

CurrentAction3

Purpose

Set or retrieve the third action for the selected Downtime detail row.

  • Action 2 must be set before an Action 3 can be selected.

  • The selected action must be chosen from the Current Action 3 list.

  • Action 3 becomes the third action in a tree. Once the Current Action 3 is set other actions that were included in the Current Action 3 list are now included in a Current Action 4 list.

 

 

Read/Write

 

Syntax

Property CurrentAction3 As String

CurrentAction3List

Purpose

Returns a list of available actions from which one can be selected and set as Current Action 3.

 

 

Read-only

 

Syntax

Property CurrentAction3List As Variant

CurrentAction4

Purpose

Set or retrieve the fourth action for the selected Downtime detail row.

  • Action 3 must be set before an Action 4 can be selected.

  • The selected action must be chosen from the Current Action 4 list.

  • Action 4 becomes the fourth action in a tree.

 

 

Read/Write

 

Syntax

Property CurrentAction4 As String

CurrentAction4List

Purpose

Returns a list of available actions from which one can be selected and set as Current Action 4.

 

 

Read-only

 

Syntax

Property CurrentAction4List As Variant

CurrentComment

Purpose

Returns a comment for the current row.

 

 

Read-only

 

Syntax

Property CurrentComment As String

CurrentDuration

Purpose

Set the duration of the current row.

 

 

Read/Write

 

Syntax

Property CurrentDuration As Single

CurrentFault

Purpose

Set the fault in a current row.

 

 

Read/Write

 

Syntax

Property CurrentFault As String

CurrentFaultList

Purpose

Returns a list of valid fault values

 

 

Read-only

 

Syntax

Property CurrentFaultList As Variant

CurrentItemRow

Purpose

Set the row number of current item.

 

 

Read/Write

 

Syntax

Property CurrentItemRow As Long

CurrentItemTime

Purpose

Returns the start time of the current downtime row.

 

 

Read-only

 

Syntax

Property CurrentItemTime As Date

CurrentLocation

Purpose

Set the location of the current row; the location must be selected from the Current Location list.

 

 

Read/Write

 

Syntax

Property CurrentLocation As String

CurrentLocationList

Purpose

Returns a list of available locations from which one can be selected and set as the Current Location.

 

 

Read-only

 

Syntax

Property CurrentLocationList As Variant

CurrentReason1

Purpose

Set or retrieve the first reason for the selected Downtime detail row.

  • The selected reason must be chosen from the Current Reason 1 list.

  • Reason 1 becomes the first reason in a tree. Once the Current Reason 1 is set other reasons that were included in the Current Reason 1 list are now included in a Current Reason 2 list.

 

 

Read/Write

 

Syntax

Property CurrentReason1 As String

CurrentReason1List

Purpose

Returns a list of available reasons from which one can be selected and set as Current Reason 1.

 

 

Read-only

 

Syntax

Property CurrentReason1List As Variant

CurrentReason2

Purpose

Set or retrieve the second reason for the selected Downtime detail row.

  • Reason 1 must be set before a Reason 2 can be selected.

  • The selected reason must be chosen from the Current Reason 2 list.

  • Reason 2 becomes the second reason in a tree. Once the Current Reason 2 is set other reasons that were included in the Current Reason 2 list are now included in a Current Reason 3 list.

 

 

Read/Write

 

Syntax

Property CurrentReason2 As String

CurrentReason2List

Purpose

Returns a list of available reasons from which one can be selected and set as Current Reason 2.

 

 

Read-only

 

Syntax

Property CurrentReason2List As Variant

CurrentReason3

Purpose

Set or retrieve the third reason for the selected Downtime detail row.

  • Reason 2 must be set before a Reason 3 can be selected.

  • The selected reason must be chosen from the Current Reason 3 list.

  • Reason 3 becomes the third reason in a tree. Once the Current Reason 3 is set other reasons that were included in the Current Reason 3 list are now included in a Current Reason 4 list.

 

 

Read/Write

 

Syntax

Property CurrentReason3 As String

CurrentReason3List

Purpose

Returns a list of available reasons from which one can be selected and set as Current Reason 3.

 

 

Read-only

 

Syntax

Property CurrentReason3List As Variant

CurrentReason4

Purpose

Set or retrieve the fourth reason for the selected Downtime detail row.

  • Reason 3 must be set before a Reason 4 can be selected.

  • The selected reason must be chosen from the Current Reason 4 list.

  • Reason 4 becomes the fourth reason in a tree.

 

 

Read/Write

 

Syntax

Property CurrentReason4 As String

CurrentReason4List

Purpose

Returns a list of available reasons from which one can be selected and set as Current Reason 4.

 

 

Read-only

 

Syntax

Property CurrentReason4List As Variant

CurrentStatus

Purpose

Set the status of the current row; the status must be selected from the Current Status list.

 

 

Read/Write

 

Syntax

Property CurrentStatus As String

CurrentStatusList

Purpose

Returns a list of available statuses from which one can be selected and set as the Current Status.

 

 

Read-only

 

Syntax

Property CurrentStatusList As Variant

DateTimeFormat

Purpose

Set the format for the date and time.

 

 

Read/Write

 

Syntax

Property DateTimeFormat(FType As Byte) As String

DetailDateFormat

Purpose

Set the format for the date.

 

 

Read/Write

 

Syntax

Property DetailDateFormat As String

DetailsOnly

Purpose

Expand all of the summary rows to show all the detail data at once for the display's current time range.

 

 

Read/Write

 

Syntax

Property DetailsOnly As Boolean

DisplayOption

Purpose

Set any of the following display options.

Note: Widths are in pixels.

 

 

Read/Write

 

Syntax

Property DisplayOption(OptionName As String, [DontDraw As Boolean])

 

 

Where

[DontDraw As True]  = Do not refresh the screen until all of the options that should be set are set.

[DontDraw As False] = Refresh the screen after each option is set.

 

 

Display Option

Description

 

 

Action1Visible

Show/hide the Action 1 column.

 

 

Action2Visible

Show/hide the Action 2 column.

 

 

Action3Visible

Show/hide the Action 3 column.

 

 

Action4Visible

Show/hide the Action 4 column.

 

 

Action1Width

Set the Action 1 column width.

 

 

Action2Width

Set the Action 2 column width.

 

 

Action3Width

Set the Action 3 column width.

 

 

Action4Width

Set the Action 4 column width.

 

 

CommentSplitterRatio

The Comment window size as a percentage of the Display window.

 

 

CommentsVisible

Display/do not display the displays' comments.

 

 

CommentVisible

Display/do not display the Comment column.

 

 

CommentWidth

Set the Comment column width..

 

 

DetailDate

Set the format for the date.

 

 

DetailsOnly

Display event details only, no summary.

 

 

DetailTime

Set the format for the time.

 

 

DisplayHyperLinks

Show/hide the Hyperlinks menu at startup.

 

 

DurationVisible

Show/hide the Duration column.

 

 

DurationWidth

Set the Duration column width..

 

 

EndDateVisible

Display/do not display the EndDate column

 

 

EndTimeVisible

Display/do not display the EndTime column

 

 

EndDateWidth

Set the EndDate column width.

 

 

EndTimeWidth

Set the EndTime column width.

 

 

EventFilterDuration

Filter a downtime event by duration in minutes, e.g. to show only downtime events that are less than or equal to 10 minutes, set the  value to 10.

Important:: To enable EventFilterDuration, FilterEventsByDuration must be set to True.

 

 

Expanded

Expand/compress the current row.

 

 

ExpandAll

Expand/compress all rows in the display.

 

 

FaultVisible

Display/do not display the Fault column.

 

 

FaultWidth

Set the Fault column width.

 

 

FilterEventsByDuration

Enable/disable EventFilterDuration

 

 

FontSize

Set the size of the fonts used in the display.

 

 

FrozenColumns

Number of columns to fix in place when scrolling the cursor to the right.

 

 

LocationVisible

Display/do not display the Location column.

 

 

LocationWidth

Set the Location column width..

 

 

NonConfirmedOnly

Display only event details that still require reasons to be selected.

 

 

ProductVisible

Show/hide the Product column.

 

 

ProductWidth

Set the Product column width..

 

 

Reason1Visible

Show/hide the Reason 1 column.

 

 

Reason2Visible

Show/hide the Reason 2 column.

 

 

Reason3Visible

Show/hide the Reason 3 column.

 

 

Reason4Visible

Show/hide the Reason4 column.

 

 

Reason1Width

Set the Reason 1 column width.

 

 

Reason2Width

Set the Reason 2 column width.

 

 

Reason3Width

Set the Reason 3 column width.

 

 

Reason4Width

Set the Reason 4 column width.

 

 

StartDateVisible

Show/hide the Start Date column.

 

 

StartTimeVisible

Show/hide the Start Time column.

 

 

StartDateWidth

Set the Start Date column width.

 

 

StartTimeWidth

Set the Start Time column width.

 

 

StatusVisible

Show/hide the Status column.

 

 

StatusWidth

Set the Status column width.

 

 

SummaryDate

Set the format of the summary date, e.g. mm/dd/yy.

 

 

SummaryTime

Set the format for the summary time, e.g. hh:mm:ss.

 

 

TreeSplitterWidth

(If the Tree is displayed) width of the frame that holds the tree.

 

 

TreeStatistic

Set which statistic should be displayed for the tree when the display is in Line Downtime mode.

The statistic can be any of the following.

  • Action1

  • Action2

  • Action3

  • Action4

  • Reason1

  • Reason2

  • Reason3

  • Reason4

 

 

TreeVisible

Show/hide the Tree display.

 

 

UptimeVisible

Show/hide the Uptime column.

 

 

UptimeWidth

Set the Uptime column width.

DisplayOptionDescription

Purpose

Description of each display option by name.

 

 

Read-only

 

Syntax

Property DisplayOptionDescription(CommandName) As String

DurationColumnVisible

Purpose

Show/hide the Duration column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property DurationColumnVisible As Boolean

EndDateColumnVisible

Purpose

Show/hide the End Date column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property EndDateColumnVisible As Boolean

EndTime

Purpose

Returns the end time of the current row.

 

 

Read-only

 

Syntax

Property EndTime As Date

EndTimeColumnVisible

Purpose

Show/hide the End Time column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property EndTimeColumnVisible As Boolean

EventFilterDuration

Purpose

Filter a downtime event by duration in minutes, e.g. to show only downtime events that are less than or equal to 10 minutes, set the  value to 10.

Important: To enable EventFilterDuration, the property FilterEventsByDuration must be set to True.

 

 

Read/Write

 

Syntax

Property EventFilterDuration As Single

FaultColumnVisible

Purpose

Show/hide the Fault column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property FaultColumnVisible As Boolean

FilterEventsByDuration

Purpose

Enable/disable the property EventFilterDuration.

 

Value

Enable

True

 

 

Disable

False

 

 

Read/Write

 

Syntax

Property FilterEventsByDuration As Boolean

FrozenColumns

Purpose

Keep selected columns "frozen" to the left side.

 

 

Read/Write

 

Syntax

Property FrozenColumns As Integer

GridFontSize

Purpose

Set the size of the fonts used in the display.

 

 

Read/Write

 

Syntax

Property GridFontSize As Integer

HyperLinkMenuVisible

Purpose

Show/hide the Hyperlink menu to the right of the control.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property HyperLinkMenuVisible As Boolean

LastError

Purpose

Display an error message describing the last error.

 

 

Read/Write

 

Syntax

Property LastError As String

LocationColumnVisible

Purpose

Show/hide the Location column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property LocationColumnVisible As Boolean

NonConfirmedOnly

Purpose

Display only unconfirmed downtime.

 

Value

Display unconfirmed

True

 

 

Display all

False

 

 

Read/Write

 

Syntax

Property NonConfirmedOnly As Boolean

Password

Purpose

Set the password used to startup the control.

 

 

Read/Write

 

Syntax

Property Password As String

ProductColumnVisible

Purpose

Show/hide the Product column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property ProductColumnVisible As Boolean

Reason1ColumnVisible

Purpose

Show/hide the Reason 1 column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property Reason1ColumnVisible As Boolean

Reason2ColumnVisible

Purpose

Show/hide the Reason 2 column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property Reason2ColumnVisible As Boolean

Reason3ColumnVisible

Purpose

Show/hide the Reason 3 column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property Reason3ColumnVisible As Boolean

Reason4ColumnVisible

Purpose

Show/hide the Reason 4 column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property Reason4ColumnVisible As Boolean

ServerName

Purpose

Set the Server name.

 

 

Read/Write

 

Syntax

Property ServerName As String

SheetName

Purpose

Set the name of the display that the control will display.

 

 

Read/Write

 

Syntax

Property SheetName As String

StartDateColumnVisible

Purpose

Show/hide the Start Date column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property StartDateColumnVisible As Boolean

StartTime

Purpose

Shows when the control started for the current session.

 

 

Read-only

 

Syntax

Property StartTime As Date

StartTimeColumnVisible

Purpose

Show/hide the Start Time column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property StartTimeColumnVisible As Boolean

StatusColumnVisible

Purpose

Show/hide the Status column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property StatusColumnVisible As Boolean

SummaryTimeFormat

Purpose

Set the format for the time.

 

 

Read/Write

 

Syntax

Property SummaryTimeFormat As String

TreeVisibility

Purpose

Show/hide the tree display.

Note: TreeVisibility is used only when a Downtime line displays.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property TreeVisibility As Boolean

UptimeColumnVisible

Purpose

Show/hide the Uptime column.

 

Value

Show

True

 

 

Hide

False

 

 

Read/Write

 

Syntax

Property UptimeColumnVisible As Boolean

UserName

Purpose

Set the user name to startup the control.

 

 

Read/Write

 

Syntax

Property UserName As String

VisibleColumns

Purpose

OBSOLETE

Use specific column visibility properties.

 

 

Read/Write

 

Syntax

Property VisibleColumns As Long

Top