You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

192 lines
5.8 KiB
C#

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
{
/// <summary>
/// 组合管道
/// </summary>
[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;
}
/// <summary>
/// 顶左横管动画属性
/// </summary>
public string TopLeftTubeStatusName
{
get { return this.straightTubeH1.StatusName; }
set { this.straightTubeH1.StatusName = value; }
}
/// <summary>
/// 顶左横管状态
/// </summary>
public StraightTubeH.Statuses TopLeftTubeStatus
{
get { return this.straightTubeH1.Status; }
set { this.straightTubeH1.Status = value; }
}
/// <summary>
/// 顶右横管动画属性
/// </summary>
public string TopRightTubeStatusName
{
get { return this.straightTubeH2.StatusName; }
set { this.straightTubeH2.StatusName = value; }
}
/// <summary>
/// 顶右横管状态
/// </summary>
public StraightTubeH.Statuses TopRightTubeStatus
{
get { return this.straightTubeH2.Status; }
set { this.straightTubeH2.Status = value; }
}
/// <summary>
/// 上左竖管动画属性
/// </summary>
public string UpLeftTubeStatusName
{
get { return this.straightTubeV3.StatusName; }
set { this.straightTubeV3.StatusName = value; }
}
/// <summary>
/// 上左竖管状态
/// </summary>
public StraightTubeV.Statuses UpLeftTubeStatus
{
get { return this.straightTubeV3.Status; }
set { this.straightTubeV3.Status = value; }
}
/// <summary>
/// 上右竖管动画属性
/// </summary>
public string UpRightTubeStatusName
{
get { return this.straightTubeV4.StatusName; }
set { this.straightTubeV4.StatusName = value; }
}
/// <summary>
/// 上右竖管状态
/// </summary>
public StraightTubeV.Statuses UpRightTubeStatus
{
get { return this.straightTubeV4.Status; }
set { this.straightTubeV4.Status = value; }
}
/// <summary>
/// 左通断阀动画属性
/// </summary>
public string LeftOnoffStatusName
{
get { return this.onoffValve1.StatusName; }
set { this.onoffValve1.StatusName = value; }
}
/// <summary>
/// 左通断阀状态
/// </summary>
public OnoffValve.Statuses LeftOnoffStatus
{
get { return this.onoffValve1.Status; }
set { this.onoffValve1.Status = value; }
}
/// <summary>
/// 右通断阀动画属性
/// </summary>
public string RightOnoffStatusName
{
get { return this.onoffValve2.StatusName; }
set { this.onoffValve2.StatusName = value; }
}
/// <summary>
/// 右通断阀状态
/// </summary>
public OnoffValve.Statuses RightOnoffStatus
{
get { return this.onoffValve2.Status; }
set { this.onoffValve2.Status = value; }
}
/// <summary>
/// 下左竖管动画属性
/// </summary>
public string DownLeftTubeStatusName
{
get { return this.straightTubeV5.StatusName; }
set { this.straightTubeV5.StatusName = value; }
}
/// <summary>
/// 下左竖管状态
/// </summary>
public StraightTubeV.Statuses DownLeftTubeStatus
{
get { return this.straightTubeV5.Status; }
set { this.straightTubeV5.Status = value; }
}
/// <summary>
/// 下右竖管动画属性
/// </summary>
public string DownRightTubeStatusName
{
get { return this.straightTubeV6.StatusName; }
set { this.straightTubeV6.StatusName = value; }
}
/// <summary>
/// 下右竖管状态
/// </summary>
public StraightTubeV.Statuses DownRightTubeStatus
{
get { return this.straightTubeV6.Status; }
set { this.straightTubeV6.Status = value; }
}
/// <summary>
/// 底左横管动画属性
/// </summary>
public string BottomLeftTubeStatusName
{
get { return this.straightTubeH3.StatusName; }
set { this.straightTubeH3.StatusName = value; }
}
/// <summary>
/// 底左横管状态
/// </summary>
public StraightTubeH.Statuses BottomLeftTubeStatus
{
get { return this.straightTubeH3.Status; }
set { this.straightTubeH3.Status = value; }
}
/// <summary>
/// 底右横管动画属性
/// </summary>
public string BottomRightTubeStatusName
{
get { return this.straightTubeH4.StatusName; }
set { this.straightTubeH4.StatusName = value; }
}
/// <summary>
/// 底右横管状态
/// </summary>
public StraightTubeH.Statuses BottomRightTubeStatus
{
get { return this.straightTubeH4.Status; }
set { this.straightTubeH4.Status = value; }
}
}
}