69 lines
2.3 KiB
C#
69 lines
2.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Navigation;
|
|
using System.Windows.Shapes;
|
|
using VisionCommon;
|
|
|
|
namespace VisionUI.Layout {
|
|
/// <summary>
|
|
/// Interaction logic for CoordSysSettingView.xaml
|
|
/// </summary>
|
|
public partial class CoordSysSettingView : UserControl {
|
|
private static Type _classType = typeof(CoordSysSettingView);
|
|
/// <summary>
|
|
/// 좌표계 시스템 이름 DepedencyProperty
|
|
/// </summary>
|
|
public static readonly DependencyProperty CoordSysNameProperty
|
|
= DependencyProperty.Register(
|
|
nameof(CoordSysName),
|
|
typeof(string),
|
|
_classType,
|
|
new FrameworkPropertyMetadata(
|
|
string.Empty,
|
|
FrameworkPropertyMetadataOptions.BindsTwoWayByDefault
|
|
));
|
|
/// <summary>
|
|
/// 좌표계 시스템 이름
|
|
/// </summary>
|
|
public string CoordSysName {
|
|
get { return (string)GetValue(CoordSysNameProperty); }
|
|
set { SetValue(CoordSysNameProperty, value); }
|
|
}
|
|
/// <summary>
|
|
/// 좌표계 시스템 타입 DepedencyProperty
|
|
/// </summary>
|
|
public static readonly DependencyProperty CoordSysTypeProperty
|
|
= DependencyProperty.Register(
|
|
nameof(CoordSysType),
|
|
typeof(eCoordSysType),
|
|
_classType,
|
|
new FrameworkPropertyMetadata(
|
|
eCoordSysType.RotX_0,
|
|
FrameworkPropertyMetadataOptions.BindsTwoWayByDefault
|
|
));
|
|
/// <summary>
|
|
/// 좌표계 시스템 타입
|
|
/// </summary>
|
|
public eCoordSysType CoordSysType {
|
|
get { return (eCoordSysType)GetValue(CoordSysTypeProperty); }
|
|
set { SetValue(CoordSysTypeProperty, value); }
|
|
}
|
|
/// <summary>
|
|
/// 생성자
|
|
/// </summary>
|
|
public CoordSysSettingView() {
|
|
InitializeComponent();
|
|
}
|
|
}
|
|
}
|