Пример #1
0
 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));
 }
Пример #2
0
 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));
 }
Пример #3
0
        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);
        }
Пример #4
0
        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);
        }
Пример #5
0
        }                                  // kg/l


        public override void SetPropNames()
        {
            ALCore.SetDisplayNameValue(this, "Density", ALData.GetLSuom(LSID.Density, MeasurementType.Density));
        }
Пример #6
0
 public override void SetPropNames()
 {
     ALCore.SetDisplayNameValue(this, "Size", ALData.GetLSuom(LSID.Size, MeasurementType.Length));
     ALCore.SetDisplayNameValue(this, "Weight", ALData.GetLSuom(LSID.Weight, MeasurementType.Mass));
 }
Пример #7
0
 public virtual void SetPropNames()
 {
     ALCore.SetDisplayNameValue(this, "GlassThickness", ALData.GetLSuom(LSID.GlassThickness, MeasurementType.Length));
 }
Пример #8
0
 public override void SetPropNames()
 {
     base.SetPropNames();
     ALCore.SetDisplayNameValue(this, "EdgeSize", ALData.GetLSuom(LSID.EdgeSize, MeasurementType.Length));
 }
Пример #9
0
        }                                 // UoM: l


        public override void SetPropNames()
        {
            base.SetPropNames();
            ALCore.SetDisplayNameValue(this, "Volume", ALData.GetLSuom(LSID.Volume, MeasurementType.Volume));
        }
Пример #10
0
        }                              // 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));
        }