1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace EasyModbusClient.util
- {
- public class Constants
- {
- public static int RET_FAILURE_CODE = 0;
- public static int RET_SUCCESS_CODE = 1;
- public static int RET_CONDITUIN_CHECK_SUCCESS_CODE = 2;
- public static int RET_CONDITUIN_CHECK_FAILURE_CODE = 3;
-
- public static string OPERATE_SUCCESS_MSG = "操作成功";
- public static string OPERATE_FAILURE_MSG = "操作失败";
- public static string PARA_ERROR_MSG = "请求参数错误";
- public static string SELECT_PROGRAME_FAILURE_MSG = "程序选择成功";
- public static string SELECT_PROGRAME_SUCCESS_MSG = "程序选择失败";
- public static string DEL_PROGRAME_FAILURE_MSG = "程序删除成功";
- public static string DEL_PROGRAME_SUCCESS_MSG = "程序删除失败";
- public static string CONDITUIN_CHECK_SUCCESS_MSG = "执行条件满足";
- public static string CONDITUIN_CHECK_FAILURE_MSG = "执行条件不满足";
- }
- }
|