6fede1e4创建于 9 天前历史提交
{
    "bmc.dev.Fans": {
        "properties": {
            "WorkInStandby": {
                "baseType": "U8",
                "readOnly": false,
                "options": {
                    "emitsChangedSignal": "true"
                },
                "description": "是否在待机状态工作 (0: 正常模式, 1: 待机模式)"
            },
            "SpeedDeviationThresholdPercent": {
                "baseType": "U8",
                "readOnly": false,
                "minimum": 10,
                "maximum": 100,
                "default": 25,
                "options": {
                    "emitsChangedSignal": "true"
                },
                "description": "风扇转速偏差阈值,取值为100时表示告警关闭"
            }
        },
        "methods": {
            "SetPWM": {
                "description": "设置所有风扇转速",
                "req": {
                    "PWM": {
                        "baseType": "Double[]",
                        "description": "风扇转速占空比数组",
                        "example": [40, 40, 30, 30],
                        "constraint": "数组长度需与风扇数量相同,且按风扇ID从小到大一一对应"
                    }
                },
                "rsp": {
                    "Result": {
                        "baseType": "U8",
                        "description": "返回结果,0:设置成功;1:设置失败"
                    }
                }
            }
        }
    }
}