Esempio n. 1
0
 /// <summary>
 /// 从文件获取升级数据
 /// </summary>
 /// <param name="file">文件</param>
 /// <param name="data">获取到的升级数据</param>
 /// <returns>是否获取到了升级数据</returns>
 public static bool FromFile(String file, out UpData data)
 {
     data = new UpData(file);
     return(data.Right);
 }
Esempio n. 2
0
 public ECUUpdateTask(UpData data)
 {
     this.UpdateDate = data;
     this.Step       = ECUUpdateTask.Steps.Bootloader;
 }