Scripting > CxFms > FmsDevice Object > FmsDevice Properties

FmsDevice Properties

The FmsDevice object contains the following properties. Each property is supported for the FMS device type(s) indicated by a Check in the Device Type column(s).

Property SubType Read Only Description Device Type

Gas

Liquid

AlternateSourceNodeName

String

No

When UseAlternateSource is set to True, the Node name used as the alternate source of gas quality or gas analysis data for the device. This name must match an existing Node name in FMS.

Check N/A

BeginActiveDate

Date

No

The date the record starts being active, in Contract time (C). To specify an indefinite date, set this property to zero (0) when creating an FmsDevice.

Check Check

CollectionMethod

Integer

No

The collection method of the device. This property can be one of the following values.

  • 0 — FMS Polling Engine
  • 1 — Device Import
  • 2 — Other
  • 3 — FMS Legacy Polling Engine
  • 4 — Associated Site/Service*

*Note: Although "Associated Site/Service" is not an actual data collection method, it provides a facility association applicable to an Accessory Node (available primarily for scheduling jobs in conjunction with CygNet Dispatch).

Check Check*

ContractHour

Integer

No

The contract hour of the device.

Check Check

DaysOfData

Integer

No

The number of days for which the source device associated with the Node will retain data. Value cannot be 0.

Check Check

Description

String

No

The description of the device.

Check Check

DeviceInstallDate

Date

No

The install date of the device, in Device time (D).

Check Check

EndActiveDate

Date

No

The date the record stops being active, in Contract time (C). To specify an indefinite date, set this property to zero when creating an FmsDevice.

Check Check

FacilityId

String

No

The facility ID of the device.

Check Check
GmrUnitSetId Integer No

The (optional override) unit set for the system to apply to data exported from GMR.

Note: GmrUnitSetId is optional. It provides the ability to override units in cases where GMR data coming into FMS may contain values in units other than the expected GMR units. In such cases, use this parameter to define the unit set to use instead, and the FMS system will apply the specified unit set to the incoming GMR data.

See GMR Data Items Units for more information.

Check Check

HasAlarms

Boolean

No

The alarms status of the device. If this property is set to True, the device has alarm history.

Check Check

HasBatchHistory

Boolean

No

The batch status of the device. If this property is set to True, the device has batch history data.

N/A Check

HasConfig

Boolean

No

The configuration status of the device. If this property is set to True, the device has a configuration.

Check Check

HasEvents

Boolean

No

The events status of the device. If this property is set to True, the device has event history.

Check Check

HasPMHistory

Boolean

No

The periodic metering status of the device. If this property is set to True, the device has periodic metering history.

Check Check*

HasPQHistory

Boolean

No

The periodic quality status of the device. If this property is set to True, the device has periodic quality history.

Check N/A

HasProduct

Boolean

No

The liquid product status of the device. If this property is set to True, the device has liquid product data.

N/A Check

HasTicketHistory

Boolean

No

The ticket status of the device. If this property is set to True, the device has ticket history data.

N/A Check

IsActive

Boolean

No

The active status of the device. If this property is set to True, the device is active.

Check Check
JobScheduleStartDate

Date

No

The first possible date, in Device time (D), that can be used for scheduling job occurrences associated with the Node, when automatically scheduling jobs via the Schedule Jobs command.

If no date is provided, default value used is the DeviceInstallDate.

Check Check

Name

String

No

The name of the device.

Check Check

NodeId

Integer

No

The associated Node ID of the device.

Note: This property is not used with the CreateDevice method.

Check Check

PMRecordSpan

Integer

No

The periodic metering record span(in minutes). This property can be one of the following values.

  • 60 - Hourly
  • 1440 - Daily

Note: For gas devices, PMRecordSpan and PQRecordSpan must be configured to be the same value. If they are not the same value, the PMRecordSpan value is applied to both.

Check Check

(Applies only to liquid devices with
Periodic history)

PollingFacilityId

String

No

The polling facility ID of the device’s data source, if the CollectionMethod is Polling Device (0).

Check Check

PollingSiteService

String

No

The polling UIS of the device’s data source, if the CollectionMethod is Polling Device (0).

Check Check

PQRecordSpan

Integer

No

The periodic quality record span (in minutes). This property can be one of the following values.

  • 60 - Hourly
  • 1440 - Daily

Note: For gas devices, PMRecordSpan and PQRecordSpan must be configured to be the same value. If they are not the same value, the PMRecordSpan value is applied to both.

Check N/A

SecurityApp

String

No

The security application of the device.

Check Check

SiteService

String

No

The associated reporting Site.Service of the device.

Check Check

SortPriority

Integer

No

The sort priority of the device. The priority number assigned places it within a manually sortable list. Higher numbers place a Node higher up on a list.

Check Check

StationContribution

Integer

No

The contribution of the meter (if the meter is a station). This property can be one of the following values.

  • 0 — Receipt (+)
  • 1 — Delivery (-)
Check N/A

StationType

Integer

No

The station type of the meter (if the meter is a station). This property can be one of the following values.

  • 0 — Custody
  • 1 — Check
  • 2 — Interconnect
  • 3 — Line Pack
  • 4 — Gas Loss
  • 5 — Other
Check N/A

StationValidationNodeId

Integer

No

The Node ID of the linked station of the meter (if the meter is a station). This ID must match an existing station Node ID in FMS.

Check N/A

StationValidationNodeName

String

No

The Node name of the linked station of the meter (if the meter is a station). This name must match an existing station Node name in FMS.

Note: This property is not used with the CreateDevice method.

Check N/A

TimezoneDst

Boolean

No

The daylight saving time status of the device. If this property is True, daylight saving time is enabled for the device.

Check Check

TimezoneKey

Integer

No

The internal CygNet identifier for the time zone. Each time zone is assigned a unique numerical key in the CygNetTimeZones.xml file, located in the CygNet\Services\ARS folder on your host server.

See CygNetTimeZones.xml File for more information.

A list of available time zones for FMS is found on the Time page of property sheets for the following device Node types.

  • Gas meter (or Station meter)
  • Chromatograph
  • Liquid device
Check Check

UseAlternateSource

Boolean

No

Determines if the device uses another Node as the source for its gas quality or gas analysis data. If this property is set to True, the device will use the Node defined by the AlternateSourceNodeName property as its gas quality/analysis data source, instead of what is configured on the corresponding EFM device.

Check N/A
Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.