예제 #1
0
        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));
        }
예제 #2
0
        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));
        }
예제 #3
0
        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));
        }
예제 #4
0
        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));
        }