CAN 读取更改
This commit is contained in:
@@ -831,8 +831,9 @@ namespace CapMachine.Wpf.CanDrive
|
|||||||
//有配置的名称的,认为是有用的,则需要读取数据
|
//有配置的名称的,认为是有用的,则需要读取数据
|
||||||
//if (!string.IsNullOrEmpty(item.Name))
|
//if (!string.IsNullOrEmpty(item.Name))
|
||||||
//{
|
//{
|
||||||
CAN_DBCParser.DBC_GetSignalValueStr(DBCHandle, new StringBuilder(item.MsgName), new StringBuilder(item.SignalName), ValueSb);
|
CAN_DBCParser.DBC_GetSignalValue(DBCHandle, new StringBuilder(item.MsgName), new StringBuilder(item.SignalName), ValueDouble);
|
||||||
item.SignalRtValueSb = ValueSb;
|
//item.SignalRtValueSb = ValueSb;
|
||||||
|
item.SignalRtValue = ValueDouble[0].ToString();
|
||||||
//Console.Write(ValueSb.ToString());
|
//Console.Write(ValueSb.ToString());
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user