Class Ats400Module
Represents a LisRT module for an ATS400 high voltage tester of ETL.
Inheritance
Caliburn.Micro.PropertyChangedBase
Ats400Module
Implements
Caliburn.Micro.INotifyPropertyChangedEx
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Caliburn.Micro.PropertyChangedBase.Refresh()
Caliburn.Micro.PropertyChangedBase.NotifyOfPropertyChange(System.String)
Caliburn.Micro.PropertyChangedBase.NotifyOfPropertyChange<TProperty>(System.Linq.Expressions.Expression<System.Func<TProperty>>)
Caliburn.Micro.PropertyChangedBase.OnUIThread(System.Action)
Caliburn.Micro.PropertyChangedBase.Set<T>(T, T, System.String)
Caliburn.Micro.PropertyChangedBase.IsNotifying
Caliburn.Micro.PropertyChangedBase.PropertyChanged
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()
Namespace: Loehnert.Lisrt.HighVoltageTester.Etl
Assembly: Loehnert.Lisrt.HighVoltageTester.Etl.dll
Syntax
public class Ats400Module : InitializableCompositeModule, ICompositeModule, ILisrtModule, IInitializable, INotifyPropertyChangedEx, INotifyPropertyChanged, IHasServiceView, IHasDeviceLabel
Constructors
Ats400Module(String)
Initializes a new instance of the Ats400Module class.
Declaration
public Ats400Module(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of the module. |
Ats400Module(String, Double)
Initializes a new instance of the Ats400Module class.
Declaration
public Ats400Module(string name, double maximumVoltage)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of the module. |
Double | maximumVoltage | The maximum allowed voltage in volt. |
Properties
Address
Gets or sets the IP address or host name.
Declaration
[Configuration("192.168.100.100", Description = "IP address or host name of the device")]
public string Address { get; set; }
Property Value
Type | Description |
---|---|
String |
CheckSafetyCircuitBeforeHighVoltageTest
Gets or sets a value indicating whether the safety circuit should be checked when a high voltage test is run.
Declaration
[Configuration(true)]
public bool CheckSafetyCircuitBeforeHighVoltageTest { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
DeviceLabel
Declaration
[Configuration("")]
public string DeviceLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
HighVoltageTest
Gets the high voltage test.
Declaration
public HighVoltageTest HighVoltageTest { get; }
Property Value
Type | Description |
---|---|
HighVoltageTest |
InstanceID
Declaration
public int InstanceID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LogDirectory
Gets or sets the log directory.
Declaration
[Configuration("", Description = "Log directory or empty for disabling logging")]
public string LogDirectory { get; set; }
Property Value
Type | Description |
---|---|
String | Log directory or empty for disabling logging. |
Port
Gets or sets the port.
Declaration
[Configuration(5000U)]
public uint Port { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
ProtectiveEarthTest
Gets the high voltage test.
Declaration
public ProtectiveEarthTest ProtectiveEarthTest { get; }
Property Value
Type | Description |
---|---|
ProtectiveEarthTest |
Methods
Exit()
Declaration
public override void Exit()
Overrides
Initialize()
Declaration
public override void Initialize()
Overrides
ShowServiceView()
Declaration
public void ShowServiceView()
Implements
Caliburn.Micro.INotifyPropertyChangedEx
System.ComponentModel.INotifyPropertyChanged