public InformationData InformationInquiry() { var info = new InformationData() { Fabricante = "TS SHARA (Fake)", Modelo = "UPS 700", Versao = "2.32", Success = true }; return(info); }
public InformationData InformationInquiry() { var info = new InformationData(); string[] result = ExecutaI().Replace('(', ' ').Replace("\r", " ").Replace(".", ",").Split(new char[] { ' ' }); if (result.Count <string>() == 5) { info.Fabricante = result[1]; info.Modelo = result[2]; info.Versao = result[3]; info.Success = true; } return(info); }