public static GetFsuInfoAckPackage GetFsuInfo(string uri, GetFsuInfoPackage package, int timeout = 5000) { var service = new LSCServiceService() { Url = uri, Timeout = timeout }; var xmlData = service.invoke(package.ToXml()); return(new GetFsuInfoAckPackage(xmlData)); }
public GetThresholdAckPackage GetThreshold(string uri, GetThresholdPackage package) { var service = new LSCServiceService() { Url = uri, Timeout = 10000 }; var xmlData = service.invoke(package.ToXml()); return(new GetThresholdAckPackage(xmlData)); }
public SetFsuRebootAckPackage SetFsuReboot(string uri, SetFsuRebootPackage package) { var service = new LSCServiceService() { Url = uri, Timeout = 15000 }; var xmlData = service.invoke(package.ToXml()); return(new SetFsuRebootAckPackage(xmlData)); }
public GetFsuLoginAckPackage GetFsuLogin(string uri, GetFsuLoginPackage package) { var service = new LSCServiceService() { Url = uri, Timeout = 15000 }; var xmlData = service.invoke(package.ToXml()); return(new GetFsuLoginAckPackage(xmlData)); }