12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- using System;
- using System.Collections.Generic;
- using Vinno.vCloud.Common.FIS.Remedicals;
- namespace Vinno.vCloud.Common.FIS.vStation
- {
- public interface IvStation
- {
- /// <summary>
- /// IP Address
- /// </summary>
- string IpAddress { get; set; }
- /// <summary>
- /// Port
- /// </summary>
- string Port { get; set; }
- /// <summary>
- /// Time Out
- /// </summary>
- int TimeOut { get; set; }
- /// <summary>
- /// Test whether the network is ok or not.
- /// </summary>
- /// <returns></returns>
- bool TestConnection();
- /// <summary>
- /// Connect, Upload Files, Disconnect
- /// </summary>
- /// <param name="vidData"></param>
- void UploadFiles(IEnumerable<vStationVidData> vidData);
- /// <summary>
- /// Create vStationVidData
- /// </summary>
- /// <param name="filePath">Vid File Path</param>
- /// <param name="status">Upload Status</param>
- /// <returns></returns>
- vStationVidData CreatevStationVidData(string filePath, UploadStatus status);
- /// <summary>
- /// Load all vStationVidDatas;
- /// </summary>
- void LoadvStationVidData();
- /// <summary>
- /// Get all vStationVidDatas
- /// </summary>
- /// <returns></returns>
- IEnumerable<vStationVidData> GetvStationVidDatas();
- /// <summary>
- /// Event of vStationVidData Changed
- /// </summary>
- event EventHandler<vStationVidDataChangedEventArgs> vStationVidDataChanged;
- void Dispose();
- }
- }
|