2021-12-12 06:55:48 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace PluginInterface
|
|
|
|
|
{
|
|
|
|
|
public class DriverAddressIoArgModel
|
|
|
|
|
{
|
|
|
|
|
public Guid ID { get; set; }
|
|
|
|
|
public string Address { get; set; }
|
2022-04-13 09:01:24 +00:00
|
|
|
|
public object Value { get; set; }
|
2021-12-12 06:55:48 +00:00
|
|
|
|
public DataTypeEnum ValueType { get; set; }
|
2022-12-06 08:01:32 +00:00
|
|
|
|
|
2022-12-06 14:39:28 +00:00
|
|
|
|
public EndianEnum EndianType { get; set; }
|
2022-04-13 09:01:24 +00:00
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
2022-12-06 14:39:28 +00:00
|
|
|
|
return $"变量ID:{ID},Address:{Address},Value:{Value},ValueType:{ValueType},Endian:{EndianType}";
|
2022-04-13 09:01:24 +00:00
|
|
|
|
}
|
2021-12-12 06:55:48 +00:00
|
|
|
|
}
|
|
|
|
|
}
|