Files
CapMachine/CapMachine.Wpf/Models/PlcLoadConfigCell.cs
Tyrone CT 1caa2fdd9f 补全其他参数的下载参数
运行 停止  暂停的防呆操作
2025-03-01 11:26:35 +08:00

56 lines
1.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Wpf.Models
{
/// <summary>
/// PLC加载配置单元
/// 下载PLC数据用整型的数据下载但是我们这边可能是浮点数需要格式的转换精度的转换
/// </summary>
public class PlcLoadConfigCell
{
/// <summary>
/// 配置字段 名称
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 地址
/// </summary>
public string? SvAddress { get; set; }
/// <summary>
/// 地址信息 Pid_P
/// </summary>
public string? Pid_PAddress { get; set; }
/// <summary>
/// 地址信息 Pid_I
/// </summary>
public string? Pid_IAddress { get; set; }
/// <summary>
/// 地址信息 Pid_D
/// </summary>
public string? Pid_DAddress { get; set; }
/// <summary>
/// 地址信息 Limit_Up
/// </summary>
public string? Limit_UpAddress { get; set; }
/// <summary>
/// 地址信息 Limit_Down
/// </summary>
public string? Limit_DownAddress { get; set; }
/// <summary>
/// 精度 1,10,100,1000
/// </summary>
public int Precision { get; set; }
}
}