/// <summary> /// Gets the height of the spherical tank. /// </summary> /// <returns>Text value.</returns> public string GetSphericalTankHeight() { string result; Element element = new TankTabElements().SphericalTankStandardEditFieldHeight; if (element == null) { result = string.Empty; Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "SphericalTankStandardEditFieldHeight is null"); } else { result = new EditParameter().GetParameterValue(element); } return(result); }
/// <summary> /// Gets the horizontal cylindrical tank empty. /// </summary> /// <returns>Text value.</returns> public string GetHorizontalCylindricalTankEmpty() { string result; Element element = new TankTabElements().HorizontalCylindricalTankStandardEditFieldEmpty; if (element == null) { result = string.Empty; Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "HorizontalCylindricalTankStandardEditFieldEmpty is null"); } else { result = new EditParameter().GetParameterValue(element); } return(result); }
/// <summary> /// Gets the modular tank view. /// </summary> /// <returns>Text value.</returns> public string GetModularTankView() { string result; Element element = new TankTabElements().ModularTankStandardComboBoxView; if (element == null) { result = string.Empty; Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "ModularTankStandardComboBoxView is null"); } else { result = new EditParameter().GetParameterValue(element); } return(result); }
/// <summary> /// Gets the height of the modular tank circular. /// </summary> /// <returns>Text value.</returns> public string GetModularTankCircularHeight() { string result; Element element = new TankTabElements().ModularTankCircularEditFieldHeight; if (element == null) { result = string.Empty; Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "ModularTankCircularEditFieldHeight is null"); } else { result = new EditParameter().GetParameterValue(element); } return(result); }
/// <summary> /// Sets the type of the horizontal cylindrical tank standing bottom. /// </summary> /// <param name="value"> /// The value. /// </param> /// <returns> /// <c>true</c> if set, <c>false</c> otherwise. /// </returns> public bool SetHorizontalCylindricalTankStandingBottomType(string value) { bool result; Element element = new TankTabElements().HorizontalCylindricalTankStandingComboBoxBottomType; if (element == null) { result = false; Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "HorizontalCylindricalTankStandingComboBoxBottomType is null"); } else { Log.Info(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "HorizontalCylindricalTankStandingBottomType will be set to: " + value); result = new EditParameter().SetParameterValue(element, value); } return(result); }
/// <summary> /// Sets the height of the horizontal cylindrical tank. /// </summary> /// <param name="value"> /// The value. /// </param> /// <returns> /// <c>true</c> if set, <c>false</c> otherwise. /// </returns> public bool SetHorizontalCylindricalTankHeight(string value) { bool result; Element element = new TankTabElements().HorizontalCylindricalTankStandardEditFieldHeight; if (element == null) { result = false; Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "HorizontalCylindricalTankStandardEditFieldDiameter is null"); } else { Log.Info(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "HorizontalCylindricalTankHeight will be set to: " + value); result = new EditParameter().SetParameterValue(element, value); } return(result); }
/// <summary> /// Sets the modular tank view. /// </summary> /// <param name="value"> /// The value. /// </param> /// <returns> /// <c>true</c> if set, <c>false</c> otherwise. /// </returns> public bool SetModularTankView(string value) { bool result; Element element = new TankTabElements().ModularTankStandardComboBoxView; if (element == null) { result = false; Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "ModularTankStandardComboBoxView is null"); } else { Log.Info(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "ModularTankView will be set to: " + value); result = new EditParameter().SetParameterValue(element, value); } return(result); }
/// <summary> /// Sets the height of the modular tank circular. /// </summary> /// <param name="value"> /// The value. /// </param> /// <returns> /// <c>true</c> if set, <c>false</c> otherwise. /// </returns> public bool SetModularTankCircularHeight(string value) { bool result; Element element = new TankTabElements().ModularTankCircularEditFieldHeight; if (element == null) { result = false; Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "ModularTankCircularEditFieldHeight is null"); } else { Log.Info(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "ModularTankCircularHeight will be set to: " + value); result = new EditParameter().SetParameterValue(element, value); } return(result); }