1234567891011121314151617181920212223242526272829 |
- using System;
- using System.Collections.Generic;
- using Vinno.vCloud.Protocol.Infrastructures;
- using Vinno.vCloud.Protocol.Messages.Terminal.Remedical.TerminialLog;
- namespace Vinno.vCloud.Common.FIS.Log
- {
- public interface ILog : IFeature, IDisposable
- {
- /// <summary>
- /// Raised when the Upload Log Rule Changed;
- /// </summary>
- event EventHandler<UploadLogRule> UploadLogRuleChanged;
- /// <summary>
- /// Get Upload Log Rule
- /// </summary>
- /// <returns>Upload Log Rule</returns>
- UploadLogRule GetUploadLogRule();
- /// <summary>
- /// Upload Device Logs To Server
- /// </summary>
- /// <param name="deviceLogPlatform"></param>
- /// <param name="deviceLogs">Device logs</param>
- /// <returns>True:Upload Success/False:Upload Failed</returns>
- bool UploadDeviceLogs(LogChannel deviceLogPlatform, IEnumerable<TerminalDeviceLogMessage> deviceLogs);
- }
- }
|