初始化 shenyuxiang 分支
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
// MCU通信错误码
|
||||
|
||||
namespace MCUSerialBridgeCLR
|
||||
{
|
||||
@@ -47,6 +47,7 @@ namespace MCUSerialBridgeCLR
|
||||
|
||||
public static class MCUSerialBridgeErrorExtensions
|
||||
{
|
||||
// M层MCU适配:把串口桥错误码转换为便于诊断的说明。
|
||||
public static string ToDescription(this MCUSerialBridgeError err)
|
||||
{
|
||||
return err switch
|
||||
|
||||
Reference in New Issue
Block a user