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

23 lines
665 B

using System;
using System.ComponentModel;
using System.Windows;
namespace HMIControl
{
public class SparyTube : HMIControlBase
{
static SparyTube()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(SparyTube), new FrameworkPropertyMetadata(typeof(SparyTube)));
}
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
var MagnetValue1 = base.GetTemplateChild("MagnetValue1") as MagnetValve;
var MagnetValue2 = base.GetTemplateChild("MagnetValue2") as MagnetValve;
children = new ITagLink[] { MagnetValue1, MagnetValue2 };
}
}
}