using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Mesnac.Controls.Feeding
{
///
/// 组合管道
///
[ToolboxBitmap(typeof(CombinedStraightTube), "ICONS.StraightTube.bmp")]//新添加的代码
public partial class CombinedStraightTube : FeedingControl
{
public CombinedStraightTube()
{
InitializeComponent();
}
private void CombinedStraightTube_Resize(object sender, EventArgs e)
{
this.Width = 59;
this.Height = 93;
}
///
/// 顶左横管动画属性
///
public string TopLeftTubeStatusName
{
get { return this.straightTubeH1.StatusName; }
set { this.straightTubeH1.StatusName = value; }
}
///
/// 顶左横管状态
///
public StraightTubeH.Statuses TopLeftTubeStatus
{
get { return this.straightTubeH1.Status; }
set { this.straightTubeH1.Status = value; }
}
///
/// 顶右横管动画属性
///
public string TopRightTubeStatusName
{
get { return this.straightTubeH2.StatusName; }
set { this.straightTubeH2.StatusName = value; }
}
///
/// 顶右横管状态
///
public StraightTubeH.Statuses TopRightTubeStatus
{
get { return this.straightTubeH2.Status; }
set { this.straightTubeH2.Status = value; }
}
///
/// 上左竖管动画属性
///
public string UpLeftTubeStatusName
{
get { return this.straightTubeV3.StatusName; }
set { this.straightTubeV3.StatusName = value; }
}
///
/// 上左竖管状态
///
public StraightTubeV.Statuses UpLeftTubeStatus
{
get { return this.straightTubeV3.Status; }
set { this.straightTubeV3.Status = value; }
}
///
/// 上右竖管动画属性
///
public string UpRightTubeStatusName
{
get { return this.straightTubeV4.StatusName; }
set { this.straightTubeV4.StatusName = value; }
}
///
/// 上右竖管状态
///
public StraightTubeV.Statuses UpRightTubeStatus
{
get { return this.straightTubeV4.Status; }
set { this.straightTubeV4.Status = value; }
}
///
/// 左通断阀动画属性
///
public string LeftOnoffStatusName
{
get { return this.onoffValve1.StatusName; }
set { this.onoffValve1.StatusName = value; }
}
///
/// 左通断阀状态
///
public OnoffValve.Statuses LeftOnoffStatus
{
get { return this.onoffValve1.Status; }
set { this.onoffValve1.Status = value; }
}
///
/// 右通断阀动画属性
///
public string RightOnoffStatusName
{
get { return this.onoffValve2.StatusName; }
set { this.onoffValve2.StatusName = value; }
}
///
/// 右通断阀状态
///
public OnoffValve.Statuses RightOnoffStatus
{
get { return this.onoffValve2.Status; }
set { this.onoffValve2.Status = value; }
}
///
/// 下左竖管动画属性
///
public string DownLeftTubeStatusName
{
get { return this.straightTubeV5.StatusName; }
set { this.straightTubeV5.StatusName = value; }
}
///
/// 下左竖管状态
///
public StraightTubeV.Statuses DownLeftTubeStatus
{
get { return this.straightTubeV5.Status; }
set { this.straightTubeV5.Status = value; }
}
///
/// 下右竖管动画属性
///
public string DownRightTubeStatusName
{
get { return this.straightTubeV6.StatusName; }
set { this.straightTubeV6.StatusName = value; }
}
///
/// 下右竖管状态
///
public StraightTubeV.Statuses DownRightTubeStatus
{
get { return this.straightTubeV6.Status; }
set { this.straightTubeV6.Status = value; }
}
///
/// 底左横管动画属性
///
public string BottomLeftTubeStatusName
{
get { return this.straightTubeH3.StatusName; }
set { this.straightTubeH3.StatusName = value; }
}
///
/// 底左横管状态
///
public StraightTubeH.Statuses BottomLeftTubeStatus
{
get { return this.straightTubeH3.Status; }
set { this.straightTubeH3.Status = value; }
}
///
/// 底右横管动画属性
///
public string BottomRightTubeStatusName
{
get { return this.straightTubeH4.StatusName; }
set { this.straightTubeH4.StatusName = value; }
}
///
/// 底右横管状态
///
public StraightTubeH.Statuses BottomRightTubeStatus
{
get { return this.straightTubeH4.Status; }
set { this.straightTubeH4.Status = value; }
}
}
}