IPlcManager Interface
Interface used by HES to call PLC manager methods.
Namespace: OddPrg.Communication.PlcAssembly: OddPrg.Communication.Plc (in OddPrg.Communication.Plc.dll) Version: 1.0.0.0 (1.0.0.0)
public interface IPlcManager : IDisposable
- Implements
- IDisposable
DataRequest |
Sends data to PLC.
|
Get432Address |
Returns current 432 address of meter with specified serial number.
|
GetHoursWithoutDataIndication |
Returns number of hours elapsed without DataIndication call. It can indicate that PLC driver is irresponsive and should be restarted.
|
GetMeters |
Returns connected meters.
|
GetRequestsWithoutResponse |
Returns count of requests without any response. This number may indicate that PLC driver is irresponsive and should be restarted.
|
GetSerialNo |
Returns PRIME serial number usding 432 address.
|
Start |
Starts PLC manager. This method should block until all manager threads are successfully started. This method shoud not log any information or error,
it should throw an exception. Debug log can be used.
|
Stop |
Stops PLC manager. This method should block until all manager threads are successfully aborted. This method shoud not log any information or error,
it should throw an exception. Debug log can be used.
|