Commit a067a6ec authored by 潘栩锋's avatar 潘栩锋 🚴

添加 报警模块添加 Add(ERRNO errno),Remove(ERRNO errno)

parent aaddf320
...@@ -84,7 +84,14 @@ namespace FLY.OBJComponents.Server ...@@ -84,7 +84,14 @@ namespace FLY.OBJComponents.Server
canReset:canReset); canReset:canReset);
} }
public void Add(ERRNO errno,bool canReset = true)
{
Add(errno.Code, errno.Descrption,canReset:canReset);
}
public void Remove(ERRNO errno)
{
Remove(errno.Code);
}
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment