http://81.68.246.245:5000/swagger/index.html

    1. APICode
    2. {
    3. [Description("成功")]
    4. Success = 0,
    5. [Description("登录失败,未找到记录。请确认用户名和密码")]
    6. LoginFailed = 1,
    7. [Description("数据库操作失败")]
    8. DatabaseOperationFailed = 2,
    9. [Description("失败")]
    10. Failed = 3,
    11. [Description("设置点位置失败")]
    12. SetValueFailed = 4,
    13. }
    1. DatabaseOperationResult
    2. {
    3. Success = 0,
    4. RecordAlreadyExist = 1,
    5. RecordNotExist = 2,
    6. OperationFailed = 3,
    7. }
    1. SetDPValueResult
    2. {
    3. NoAction = 0,
    4. Success = 1,
    5. GwOffline = 2,
    6. SendWithoutReturn = 3,
    7. MqttDisconnected = 4,
    8. Timeout = 5,
    9. ReadOnly = 6,
    10. ValidationFailed = 7,
    11. DatabaseOperationFailed = 8,
    12. DPNotExist = 9,
    13. Failed = 10,
    14. }
    1. {
    2. KNXMqtt = 0,
    3. ModbusTCP = 1,
    4. ModbusRTU = 2,
    5. OPCUA = 3,
    6. OPC = 4,
    7. }
    1. {
    2. ReadOnly = 0,
    3. WriteOnly = 1,
    4. ReadWrite = 2,
    5. }
    1. {
    2. Numeric = 0,
    3. Boolean = 1,
    4. String = 2,
    5. Enum = 3,
    6. }