using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HybirdFrameworkDriver.ModbusTcpMaster
{
///
/// PLC地址
///
public class PlcDate
{
///
/// 写编程使能
///
public ModbusProperty ProgrammingEnable { get; set; } = new(40960);
///
/// 本机modbus地址
///
public ModbusProperty Modbus1Addres { get; set; } = new(40962);
///
/// 波特率
///
public ModbusProperty BaudRate { get; set; } = new(40964);
///
/// 校验位
///
public ModbusProperty CheckBit { get; set; } = new(2566);
///
/// 秒
///
public ModbusProperty Seconds { get; set; } = new(0);
///
/// 分
///
public ModbusProperty Points { get; set; } = new(2);
///
/// 时
///
public ModbusProperty When { get; set; } = new(4);
///
/// 周
///
public ModbusProperty Weeks { get; set; } = new(6);
///
/// 日
///
public ModbusProperty Day { get; set; } = new(8);
///
/// 月
///
public ModbusProperty Month { get; set; } = new(10);
///
/// 年
///
public ModbusProperty Years { get; set; } = new(12);
///
/// 本机modbus地址
///
public ModbusProperty Modbus1Addres2 { get; set; } = new(14);
///
/// 保留
///
public ModbusProperty Reserve { get; set; } = new(16);
///
/// 电压变比
///
public ModbusProperty VoltageRatio { get; set; } = new(18);
///
/// 电流变比
///
public ModbusProperty CurrentRatio { get; set; } = new(20);
///
/// 秒脉冲/无功电能选择
///
public ModbusProperty PulsePerSecond { get; set; } = new(42);
///
/// 电流接线反向
///
public ModbusProperty CurrentReversal { get; set; } = new(48);
///
/// 电表清零
///
public ModbusProperty MeterReset { get; set; } = new(4576);
}
}