22 lines
581 B
C#
22 lines
581 B
C#
using System;
|
|
using System.IO.Ports;
|
|
using Xylem.Common.Hardware.Interfaces.Ports.PortCore;
|
|
|
|
namespace Xylem.Common.Hardware.WaterMeter.WaterMeterCore
|
|
{
|
|
/// <summary>
|
|
/// holds port connection information
|
|
/// is used for all <see cref="IPort"/>
|
|
/// </summary>
|
|
public class PortConfig
|
|
{
|
|
/// <summary>
|
|
/// using dotNets <see cref="SerialPort"/> for connection
|
|
/// </summary>
|
|
public SerialPort SerialPort;
|
|
/// <summary>
|
|
/// Command Separator
|
|
/// </summary>
|
|
public Type SerialPortType;
|
|
}
|
|
} |