Class DoseValueDisplayConfig
Configure the settings related to the dose value display for the application. Defaults to the same settings as Eclipse.
Inheritance
System.Object
DoseValueDisplayConfig
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: VMS.TPS.Common.Model.Types
Assembly: VMS.TPS.Common.Model.Types.dll
Syntax
public class DoseValueDisplayConfig
Constructors
DoseValueDisplayConfig()
Declaration
public DoseValueDisplayConfig()
Properties
DisplaySettings
Get and set current dosevalue display settings. Set settings controller to null reverts to default display settings.
Declaration
public static IDoseValueDisplaySettings DisplaySettings { get; set; }
Property Value
Type | Description |
---|---|
IDoseValueDisplaySettings |
Methods
Decimals(DoseValue.DoseUnit)
Get number of decimals to user for dosevalue of the defined dose unit
Declaration
public static int Decimals(DoseValue.DoseUnit unit)
Parameters
Type | Name | Description |
---|---|---|
DoseValue.DoseUnit | unit | DoseUnit for which the number of decimals is requested. |
Returns
Type | Description |
---|---|
System.Int32 | Configured number of decimals to use. |