CAN的数据UI更新更改

This commit is contained in:
2025-01-07 10:09:42 +08:00
parent 7181643cb8
commit 152c25912c
5 changed files with 59 additions and 20 deletions

View File

@@ -17,10 +17,7 @@ namespace CapMachine.Wpf.Services
/// </summary>
public class CanDriveService : BindableBase
{
/// <summary>
/// 当前选中的CanLinConfigPro 程序
/// </summary>
public CanLinConfigPro SelectedCanLinConfigPro { get; set; }
public HighSpeedDataService HighSpeedDataService { get; }
/// <summary>
@@ -35,6 +32,12 @@ namespace CapMachine.Wpf.Services
//ToomossCanDrive.StartCanDrive();
}
/// <summary>
/// 当前选中的CanLinConfigPro 程序
/// </summary>
public CanLinConfigPro SelectedCanLinConfigPro { get; set; }
/// <summary>
/// 图莫斯 CAN Drive
/// ToomossCanDrive

View File

@@ -181,6 +181,9 @@ namespace CapMachine.Wpf.Services
//TagManger.AddTag(new Tag<short>("通讯PTC模块温度", "通讯PTC模块温度[℃]", "ComPTCMdTemp", "程序", "VW15082", 100, 0, 10, "℃", new ShortTagValue(), false) { DecimalPoint = 1 });
//【SongZhi】
#region SongZhi
TagManger.AddTag(new Tag<short>(new ShortTagValue())
{
Name = "转速[rpm]",//名称带单位
@@ -762,6 +765,8 @@ namespace CapMachine.Wpf.Services
Index = "",
});
#region
//TagManger.AddTag(new Tag<short>("OCR", "OCR[%]", "OCR", "程序", "VW15014", 100, 0, 10, "%", new ShortTagValue(), true) { DecimalPoint = 1 });
//TagManger.AddTag(new Tag<short>("HV[V]", "HV[V]", "HV", "程序", "VW15016", 100, 0, 10, "V", new ShortTagValue(), true) { DecimalPoint = 1 });
//TagManger.AddTag(new Tag<short>("HV[A]", "HV[A]", "HVCur", "程序", "VW15018", 100, 0, 1, "A", new ShortTagValue(), false) { DecimalPoint = 1 });