using Sarand.Core.Base; using Sarand.PatientMgr.Core.App; using System; using System.Collections.Generic; using System.Text; namespace Sarand.PatientMgr.Core.WebService { //======================================================================= public class SpmWebServiceInstanceDefinition { //------------------------------------------------------------------- // Definitions. //------------------------------------------------------------------- // Data members. //------------------------------------------------------------------- // Construction. public SpmWebServiceInstanceDefinition (String caption, String url) { Caption = caption; URL = url; } //------------------------------------------------------------------- // Properties. public String Caption { get; } public String URL { get; } public DateTime LastRequestAt { get; set; } public DateTime LastSuccessfulRequestAt { get; set; } public bool Valid { get { return (!StringUtil.IsEmpty(URL)); } } //------------------------------------------------------------------- } //======================================================================= }