You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
namespace SparkClient.Model.Common |
|
{ |
|
/// <summary> |
|
/// 存储状态码及其描述信息的常量类。 |
|
/// </summary> |
|
public static class StatusCodes |
|
{ |
|
// 成功 |
|
public const string Success = "S000"; |
|
|
|
// 采图正在进行中 |
|
public const string InProgress = "S001"; |
|
|
|
// 缓存图片被清理(读取不够及时) |
|
public const string CacheCleared = "S002"; |
|
|
|
// 无法向单片机发送指令 |
|
public const string CannotSendCommand = "S003"; |
|
|
|
// 单片机访问超时 |
|
public const string MicrocontrollerTimeout = "S004"; |
|
|
|
// 单片机返回错误码 |
|
public const string MicrocontrollerError = "S005"; |
|
|
|
// 摄像头未连接 |
|
public const string CameraNotConnected = "S006"; |
|
|
|
// 未找到切工仪 |
|
public const string DeviceNotFound = "P001"; |
|
|
|
// 算法调用失败 |
|
public const string AlgorithmFailed = "P002"; |
|
|
|
// 图片文件读取失败 |
|
public const string ImageFileReadFailure = "P003"; |
|
|
|
// JSON解析失败 |
|
public const string JsonParseFailure = "P004"; |
|
} |
|
} |