/// <summary> /// Device Type Information -> Name /// </summary> /// <returns> /// The <see cref="string"/>. /// </returns> public string Name() { string result; Element element = new MainViewElements().DeviceTypeInformationName; if (element == null) { result = "The Device Type Information-> Name is not accessible"; } else { result = element.GetAttributeValueText("Text"); } return(result); }
/// <summary> /// DTM Information -> Version /// </summary> /// <returns> /// The <see cref="string"/>. /// </returns> public string Version() { string result; Element element = new MainViewElements().DtmInformationVersion; if (element == null) { result = "The DTM Information-> Version is not accessible"; } else { result = element.GetAttributeValueText("Text"); } return(result); }
/// <summary> /// Setup Information -> Manufacturer /// </summary> /// <returns> /// The <see cref="string"/>. /// </returns> public string Manufacturer() { string result; Element element = new MainViewElements().SetupInformationManufacturer; if (element == null) { result = "The Setup Information-> Manufacturer is not accessible"; } else { result = element.GetAttributeValueText("Text"); } return(result); }