cloudflight
2025-01-13 02c14c9c57dbde72d9c771bd8b0fab1cd023047d
WinFrmUI/HStation.WinFrmUI.Assets.Core/00-core/AssetsMainSvgImageHelper.cs
@@ -1,10 +1,5 @@
using DevExpress.Utils.Svg;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HStation.WinFrmUI
{
@@ -270,7 +265,7 @@
        private static SvgImage _translation = null;
        /// <summary>
        /// Pump
        /// 水泵
        /// </summary>
        public static SvgImage Pump
        {
@@ -349,5 +344,37 @@
        }
        private static SvgImage _compressor = null;
        /// <summary>
        /// 系数
        /// </summary>
        public static SvgImage Factor
        {
            get
            {
                if (_factor == null)
                {
                    _factor = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.factor));
                }
                return _factor;
            }
        }
        private static SvgImage _factor = null;
        /// <summary>
        /// 曲线
        /// </summary>
        public static SvgImage Curve
        {
            get
            {
                if (_curve == null)
                {
                    _curve = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.curve));
                }
                return _curve;
            }
        }
        private static SvgImage _curve = null;
    }
}