using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;
namespace EAS.Distributed
{
///
/// 智能升级服务接口。
///
[ServiceContract(Namespace = "http://www.smarteas.net/")]
public interface IUpdateService
{
///
/// 取得升级配置更新时间。
///
/// 更新时间。
[OperationContract]
DateTime GetSmartUpdateTime();
///
/// 获取需要升级的文件总数。
///
/// 最后升级时间。
/// 文件总数。
[OperationContract]
int GetSmartFileCount(DateTime lastTime);
///
/// 取得智能升级配置文件。
///
///
[OperationContract]
string GetSmartUpdateConfig();
///
/// 下载升级文件。
///
/// 文件名称。
/// 文件数据。
[OperationContract]
byte[] DownloadSmartFile(string smartFileName);
}
}