public override void SetPropNames() { base.SetPropNames(); ALCore.SetDisplayNameValue(this, "Height", ALData.GetLSuom(LSID.Height, MeasurementType.Length)); ALCore.SetDisplayNameValue(this, "BottomDiameter", ALData.GetLSuom(LSID.BottomDiameter, MeasurementType.Length)); ALCore.SetDisplayNameValue(this, "TopDiameter", ALData.GetLSuom(LSID.TopDiameter, MeasurementType.Length)); }
public override void SetPropNames() { base.SetPropNames(); ALCore.SetDisplayNameValue(this, "Length", ALData.GetLSuom(LSID.Length, MeasurementType.Length)); ALCore.SetDisplayNameValue(this, "Width", ALData.GetLSuom(LSID.Width, MeasurementType.Length)); ALCore.SetDisplayNameValue(this, "Height", ALData.GetLSuom(LSID.Height, MeasurementType.Length)); }
public override void SetLocale() { Text = Localizer.LS(LSID.Aquarium); btnAccept.Text = Localizer.LS(LSID.Accept); btnCancel.Text = Localizer.LS(LSID.Cancel); tabCommon.Text = Localizer.LS(LSID.Common); tabTank.Text = Localizer.LS(LSID.Tank); lblName.Text = Localizer.LS(LSID.Name); lblDesc.Text = Localizer.LS(LSID.Description); // deprecated //lblStartDate.Text = Localizer.LS(LSID.StartDate); //lblStopDate.Text = Localizer.LS(LSID.StopDate); lblShape.Text = Localizer.LS(LSID.Shape); lblWaterType.Text = Localizer.LS(LSID.WaterType); lblVolume.Text = ALData.GetLSuom(LSID.TankVolume, MeasurementType.Volume); lblWaterVolume.Text = ALData.GetLSuom(LSID.WaterVolume, MeasurementType.Volume); btnTank.Text = Localizer.LS(LSID.Tank) + "..."; lblUnderfillHeight.Text = ALData.GetLSuom(LSID.UnderfillHeight, MeasurementType.Length); lblSoilHeight.Text = ALData.GetLSuom(LSID.SoilHeight, MeasurementType.Length); lblSoilVolume.Text = ALData.GetLSuom(LSID.SoilVolume, MeasurementType.Volume); lblSoilMass.Text = ALData.GetLSuom(LSID.SoilMass, MeasurementType.Mass); lblBrand.Text = Localizer.LS(LSID.Brand); }
public override void SetLocale() { Text = Localizer.LS(LSID.Measure); btnAccept.Text = Localizer.LS(LSID.Accept); btnCancel.Text = Localizer.LS(LSID.Cancel); lblAquarium.Text = Localizer.LS(LSID.Aquarium); lblTimestamp.Text = Localizer.LS(LSID.Timestamp); lblTemperature.Text = ALData.GetLSuom(LSID.Temperature, MeasurementType.Temperature); }
} // kg/l public override void SetPropNames() { ALCore.SetDisplayNameValue(this, "Density", ALData.GetLSuom(LSID.Density, MeasurementType.Density)); }
public override void SetPropNames() { ALCore.SetDisplayNameValue(this, "Size", ALData.GetLSuom(LSID.Size, MeasurementType.Length)); ALCore.SetDisplayNameValue(this, "Weight", ALData.GetLSuom(LSID.Weight, MeasurementType.Mass)); }
public virtual void SetPropNames() { ALCore.SetDisplayNameValue(this, "GlassThickness", ALData.GetLSuom(LSID.GlassThickness, MeasurementType.Length)); }
public override void SetPropNames() { base.SetPropNames(); ALCore.SetDisplayNameValue(this, "EdgeSize", ALData.GetLSuom(LSID.EdgeSize, MeasurementType.Length)); }
} // UoM: l public override void SetPropNames() { base.SetPropNames(); ALCore.SetDisplayNameValue(this, "Volume", ALData.GetLSuom(LSID.Volume, MeasurementType.Volume)); }
} // Photosynthetically Active Radiation, UoM: W/m2 public override void SetPropNames() { ALCore.SetDisplayNameValue(this, "LightTemperature", ALData.GetLSuom(LSID.LightTemperature, MeasurementType.LightTemperature)); ALCore.SetDisplayNameValue(this, "LuminousFlux", ALData.GetLSuom(LSID.LuminousFlux, MeasurementType.LuminousFlux)); ALCore.SetDisplayNameValue(this, "PAR", ALData.GetLSuom(LSID.PhotosyntheticallyActiveRadiation, MeasurementType.PhotosyntheticallyActiveRadiation)); }