Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

SetAFUnitOfMeasure.ReferenceFactor Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFUnitOfMeasure.ReferenceFactor Property

Reference factor for the AF Unit of Measure to set

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	ParameterSetName = "FactorOffset", HelpMessage = "Unit of Measure Reference Factor")]
[ValidateNotNullOrEmptyAttribute]
public double ReferenceFactor { get; set; }
<ParameterAttribute(Position := 3, Mandatory := false, ValueFromPipeline := false, 
	ParameterSetName := "FactorOffset", HelpMessage := "Unit of Measure Reference Factor")>
<ValidateNotNullOrEmptyAttribute>
Public Property ReferenceFactor As Double
	Get
	Set

Dim instance As SetAFUnitOfMeasure
Dim value As Double

value = instance.ReferenceFactor

instance.ReferenceFactor = value
public:
[ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	ParameterSetName = L"FactorOffset", HelpMessage = L"Unit of Measure Reference Factor")]
[ValidateNotNullOrEmptyAttribute]
property double ReferenceFactor {
	double get ();
	void set (double value);
}
[<ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	ParameterSetName = "FactorOffset", HelpMessage = "Unit of Measure Reference Factor")>]
[<ValidateNotNullOrEmptyAttribute>]
member ReferenceFactor : float with get, set

Property Value

Type: Double

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in