using System; namespace EC.AutoWeightServer.Model.EventArgsEx { public class PlateEventArgs : EventArgs { private string plate; private string plateColor; private string fileName; //事件参数重载 public PlateEventArgs(string plate, string plateColor, string fileName = "")//当输入内容为字符 { this.plate = plate; this.plateColor = plateColor; this.fileName = fileName; } /// /// 车牌 /// public string Plate { get { return plate; } } /// /// 车牌颜色 /// public string PlateColor { get { return plateColor; } } public string FileName { get { return fileName; } } } }