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 { /// /// SvgImageHelper /// public class AssetsMainSvgImageHelper { /// /// 水池 /// public static SvgImage Tank { get { if (_tank == null) { _tank = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.tank)); } return _tank; } } private static SvgImage _tank = null; /// /// 连接件 /// public static SvgImage Coupling { get { if (_coupling == null) { _coupling = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.coupling)); } return _coupling; } } private static SvgImage _coupling = null; /// /// 闷头 /// public static SvgImage Blunthead { get { if (_blunthead == null) { _blunthead = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.blunthead)); } return _blunthead; } } private static SvgImage _blunthead = null; /// /// 弯头 /// public static SvgImage Elbow { get { if (_elbow == null) { _elbow = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.elbow)); } return _elbow; } } private static SvgImage _elbow = null; /// /// 三通 /// public static SvgImage Threelink { get { if (_threelink == null) { _threelink = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.threelink)); } return _threelink; } } private static SvgImage _threelink = null; /// /// 四通 /// public static SvgImage Fourlink { get { if (_fourlink == null) { _fourlink = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.fourlink)); } return _fourlink; } } private static SvgImage _fourlink = null; /// /// 扩散器 /// public static SvgImage Emitter { get { if (_emitter == null) { _emitter = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.emitter)); } return _emitter; } } private static SvgImage _emitter = null; /// /// 喷头 /// public static SvgImage Nozzle { get { if (_nozzle == null) { _nozzle = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.nozzle)); } return _nozzle; } } private static SvgImage _nozzle = null; /// /// 消火栓 /// public static SvgImage Hydrant { get { if (_hydrant == null) { _hydrant = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.hydrant)); } return _hydrant; } } private static SvgImage _hydrant = null; /// /// 冷却塔 /// public static SvgImage Cooling { get { if (_cooling == null) { _cooling = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.cooling)); } return _cooling; } } private static SvgImage _cooling = null; /// /// 水表 /// public static SvgImage Meter { get { if (_meter == null) { _meter = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.meter)); } return _meter; } } private static SvgImage _meter = null; /// /// 仪表 /// public static SvgImage Instrument { get { if (_instrument == null) { _instrument = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.instrument)); } return _instrument; } } private static SvgImage _instrument = null; /// /// 流量计 /// public static SvgImage Flowmeter { get { if (_flowmeter == null) { _flowmeter = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.flowmeter)); } return _flowmeter; } } private static SvgImage _flowmeter = null; /// /// 压力表 /// public static SvgImage Pressmeter { get { if (_pressmeter == null) { _pressmeter = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.pressmeter)); } return _pressmeter; } } private static SvgImage _pressmeter = null; /// /// 管道 /// public static SvgImage Pipe { get { if (_pipe == null) { _pipe = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.pipe)); } return _pipe; } } private static SvgImage _pipe = null; /// /// 过渡件 /// public static SvgImage Translation { get { if (_translation == null) { _translation = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.translation)); } return _translation; } } private static SvgImage _translation = null; /// /// 水泵 /// public static SvgImage Pump { get { if (_pump == null) { _pump = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.pump)); } return _pump; } } private static SvgImage _pump = null; /// /// 阀门 /// public static SvgImage Valve { get { if (_valve == null) { _valve = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.valve)); } return _valve; } } private static SvgImage _valve = null; /// /// 阻件 /// public static SvgImage Resistance { get { if (_resistance == null) { _resistance = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.resistance)); } return _resistance; } } private static SvgImage _resistance = null; /// /// 换热器 /// public static SvgImage Exchanger { get { if (_exchanger == null) { _exchanger = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.exchanger)); } return _exchanger; } } private static SvgImage _exchanger = null; /// /// 压缩机 /// public static SvgImage Compressor { get { if (_compressor == null) { _compressor = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Assets.Core.Properties.Resources.compressor)); } return _compressor; } } private static SvgImage _compressor = null; /// /// 系数 /// 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; /// /// 曲线 /// 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; } }