using HybirdFrameworkCore.Autofac.Attribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HybirdFrameworkServices.Plc
{
public class PlcReadAndWrite2
{
///
/// 秒
///
[Property(2, 2, PropertyReadConstant.Byte)]
public byte Seconds { get; set; }
///
/// 分
///
[Property(2, 2, PropertyReadConstant.Byte)]
public byte Points { get; set; }
///
/// 时
///
[Property(2, 2, PropertyReadConstant.Byte)]
public byte When { get; set; }
///
/// 周
///
[Property(2, 2, PropertyReadConstant.Byte)]
public byte Weeks { get; set; }
///
/// 日
///
[Property(2, 2, PropertyReadConstant.Byte)]
public byte Day { get; set; }
///
/// 月
///
[Property(2, 2, PropertyReadConstant.Byte)]
public byte Month { get; set; }
///
/// 年
///
[Property(2, 2, PropertyReadConstant.Byte)]
public byte Years { get; set; }
///
/// 本机modbus地址
///
[Property(2, 2, PropertyReadConstant.Byte)]
public ushort Modbus1Addres2 { get; set; }
///
/// 保留
///
[Property(2, 2, PropertyReadConstant.Byte)]
public ushort Reserve { get; set; }
///
/// 电压变比
///
[Property(2, 2, PropertyReadConstant.Byte)]
public ushort VoltageRatio { get; set; }
///
/// 电流变比
///
[Property(2, 2, PropertyReadConstant.Byte)]
public ushort CurrentRatio { get; set; }
}
}