25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using System.Collections.Generic;
- using System.Text;
-
- namespace JT808.Gateway.Dtos
- {
- public class JT808ResultDto<T>
- {
- public JT808ResultDto()
- {
- Code = JT808ResultCode.Ok;
- }
-
- public string Message { get; set; }
-
- public int Code { get; set; }
-
- public T Data { get; set; }
- }
-
- public class JT808ResultCode
- {
- public const int Ok = 200;
- public const int Empty = 201;
- public const int NotFound = 404;
- public const int Fail = 400;
- public const int Error = 500;
- }
- }
|