You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
#region << 版 本 注 释 >>
|
|
|
|
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------------
|
|
|
|
|
|
* 版权所有 (c) 2025 WenJY 保留所有权利。
|
|
|
|
|
|
* CLR版本:4.0.30319.42000
|
|
|
|
|
|
* 机器名称:Mr.Wen's MacBook Pro
|
|
|
|
|
|
* 命名空间:Sln.Iot.CFX
|
|
|
|
|
|
* 唯一标识:F3C2C0B6-F8E7-4869-B396-291233785B23
|
|
|
|
|
|
*
|
|
|
|
|
|
* 创建者:WenJY
|
|
|
|
|
|
* 电子邮箱:
|
|
|
|
|
|
* 创建时间:2025-10-24 15:20:11
|
|
|
|
|
|
* 版本:V1.0.0
|
|
|
|
|
|
* 描述:
|
|
|
|
|
|
*
|
|
|
|
|
|
*--------------------------------------------------------------------
|
|
|
|
|
|
* 修改人:
|
|
|
|
|
|
* 时间:
|
|
|
|
|
|
* 修改说明:
|
|
|
|
|
|
*
|
|
|
|
|
|
* 版本:V1.0.0
|
|
|
|
|
|
*--------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
#endregion << 版 本 注 释 >>
|
|
|
|
|
|
|
|
|
|
|
|
using CFX;
|
|
|
|
|
|
using CFX.ResourcePerformance;
|
|
|
|
|
|
using CFX.Structures;
|
|
|
|
|
|
using Sln.Iot.CFX.RequestReceived;
|
|
|
|
|
|
using Sln.Iot.Serilog;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sln.Iot.CFX.CFXRequestes;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 5.4.4.1.4 - 处理故障请求
|
|
|
|
|
|
/// HandleFaultRequest/Response
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class HandleFaultRequestReceived2 : BaseHandleFaultRequestReceived
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 子类重写处理
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
public override CFXMessage SubHandle(HandleFaultRequest request)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (request.HandleRemote == true)
|
|
|
|
|
|
{
|
|
|
|
|
|
//熄灭报警灯
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
CFXMessage response = new HandleFaultResponse()
|
|
|
|
|
|
{
|
|
|
|
|
|
Result = new RequestResult()
|
|
|
|
|
|
{
|
|
|
|
|
|
Result = StatusResult.Success,
|
|
|
|
|
|
ResultCode = 0,
|
|
|
|
|
|
Message = "",
|
|
|
|
|
|
},
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
return response;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|