27 lines
923 B
C#
27 lines
923 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FAtoPA
|
|
{
|
|
class MappingData
|
|
{
|
|
// key is SIID
|
|
public String SIID { get; set; }
|
|
// if enable, will trigger with Modbus Register
|
|
public Boolean enableModbus { get; set; }
|
|
// if SIID active, link with which Modbus Register
|
|
public UInt16 ModbusRegister { get; set; }
|
|
// if SIID active, modify which bit from Modbus Register
|
|
public UInt16 ModbusBit { get; set; }
|
|
// if enable, will trigger with Virtual Contact
|
|
public Boolean enableVirtualContactInput { get; set; }
|
|
// if SIID active, Link with Virtual Contact Input from which Frame ID
|
|
public Byte VXFrame { get; set; }
|
|
// if SIID active, trigger which Virtual Contact Input from Frame ID
|
|
public Byte VXCin { get; set; }
|
|
}
|
|
}
|