1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- namespace HKCarPlateRecognize_App
- {
- public class EtcCarPlateCatched
- {
- private int color;
- private static Dictionary<int, string> colorDic = new Dictionary<int, string> { { 0, "蓝色" }, { 1, "绿色" }, { 2, "黑色" }, { 3, "黄色" }, { 4, " 其他" } };
-
- public string carNumber { get; set; }
-
- public string appId { get; set; }
-
- public string carColor
- {
- get { return colorDic[color]; }
- set { color = int.Parse(value); }
- }
-
- public string timeStamp { get; set; }
-
- public string gasGun { get; set; }
- }
- }
|