Exemplo n.º 1
0
 /// <summary>
 /// 생성자
 /// </summary>
 /// <param name="PAlmScreenUIController"></param>
 public OrderGroupEditForm(PAlmScreenUIController orderView)
     : this()
 {
     this.orderView = orderView;
     this.provInfo  = this.orderView.ProvInfo;
     this.Init();
 }
Exemplo n.º 2
0
 /// <summary>
 /// 생성자
 /// </summary>
 /// <param name="mainForm">MainForm에서 넘겨주는 참조</param>
 public PDAlmScreenBiz(MainForm mainForm)
     : this()
 {
     this.mainForm = mainForm;
     this.provInfo = this.mainForm.ProvInfo;
     this.TtsDelay = this.mainForm.TtsDelayTime;
 }
Exemplo n.º 3
0
 /// <summary>
 /// 생성자
 /// </summary>
 /// <param name="provInfo"></param>
 public TermDestination(ProvInfo provInfo)
     : this()
 {
     this.provInfo = provInfo;
     this.InitTreeView();
     this.InitListView();
 }
Exemplo n.º 4
0
 /// <summary>
 /// 생성자
 /// </summary>
 /// <param name="main">MainForm에서 넘겨주는 참조</param>
 public DeviceMonitorView(MainForm main)
     : this()
 {
     this.main      = main;
     this.centInfo  = main.CentInfo;
     this.centInfo2 = main.CentInfo2;
     this.provInfo  = main.ProvInfo;
 }
Exemplo n.º 5
0
 /// <summary>
 /// 생성자
 /// </summary>
 /// <param name="mainForm"></param>
 public ReOrderViewForm(MainForm mainForm)
     : this()
 {
     this.mainForm       = mainForm;
     this.provInfo       = mainForm.ProvInfo;
     this.timer          = new Timer();
     this.timer.Interval = 1000;
     this.timer.Tick    += new EventHandler(timer_Tick);
     this.timer.Start();
 }
Exemplo n.º 6
0
        /// <summary>
        /// 생성자
        /// </summary>
        /// <param name="orderview"></param>
        /// <param name="type">1-단말그룹, 2-시군그룹</param>
        public OrderGroupEditForm(OrderView19201080 orderview, byte type, NCasButton button)
            : this()
        {
            if (type == 2)
            {
                this.isTerm = false;
            }

            this.provInfo   = orderview.ProvInfo;
            this.ncasButton = button;
            this.Init();
        }
Exemplo n.º 7
0
        /// <summary>
        /// 서버 로컬IP를 받아 해당하는 MMF파일을 로드한다.
        /// </summary>
        /// <param name="localIpAddr">서버 로컬IP</param>
        private void InitMmfInfo(string localIpAddr)
        {
            this.mmfMng = new NCasMMFMng();
            this.mmfMng.LoadAllMMF();

#if release
            this.provInfo = this.mmfMng.GetProvInfoByNetId(localIpAddr);
#endif

#if debug
            this.provInfo = this.mmfMng.GetProvInfoByNetId("10.112.1.231");
#endif

            if (this.provInfo == null)
            {
                MessageBox.Show("데이터파일을 정상적으로 로드하지 못했습니다.", "데이터파일 로드", MessageBoxButtons.OK, MessageBoxIcon.Error);
                throw new Exception("MainForm.InitMmfInfo(string localIpAddr) Method Error!");
            }
        }
Exemplo n.º 8
0
        public Customer(NewMainWindow owner)
        {
            Owner          = owner;
            this.Hosts     = new List <Host>();
            this.Info      = new ObservableCollection <BindingListItem>();
            this.Employees = new List <Employee>();
            //ContextMenuCreate();
            //CustomerContextMenuCreate();
            Provider      = new ProvInfo();
            Provider.Info = new ObservableCollection <BindingListItem>();
            //LoadPopup();
            ListViewHostsInCustomer             = new ListView();
            ListViewHostsInCustomer.DataContext = this;

            //Binding myBind = new Binding("SelectedIPTest");
            //Binding selIPCust = new Binding("SelectedIPInCustomer");
            //selIPCust.Source = Owner;

            //Binding selIPCust = new Binding("SelectedIPInCustomer");
            //selIPCust.Source = Owner;

            //SetBinding(SelectedIPProperty, selIPCust);

            //Binding commentCust = new Binding("Text");
            //commentCust.Source = Owner.TTPinComment;
            //this.SetBinding(CommentProperty, commentCust);


            //ListViewHostsInCustomer.SetBinding(System.Windows.Controls.ListView.SelectedItemProperty, selIPCust);

            //Binding ipArrayBind = new Binding("IPArray");
            //ipArrayBind.UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged;
            //ipArrayBind.Source = this;
            //ipArrayBind.Source = IPArray;
            //ipArrayBind.Mode = BindingMode.OneWay;
            //ListViewHostsInCustomer.SetBinding(ListView.ItemsSourceProperty, ipArrayBind);

            //FillCustomer();
        }
Exemplo n.º 9
0
 /// <summary>
 /// 생성자
 /// </summary>
 /// <param name="main">MainForm에서 넘겨주는 참조</param>
 public PBrdScreenBiz(MainForm mainForm)
     : this()
 {
     this.mainForm = mainForm;
     this.provInfo = this.mainForm.ProvInfo;
 }
Exemplo n.º 10
0
 /// <summary>
 /// 생성자
 /// </summary>
 /// <param name="main">MainForm에서 넘겨주는 참조</param>
 public OrderResultView(MainForm main)
     : this()
 {
     this.main     = main;
     this.provInfo = main.ProvInfo;
 }
Exemplo n.º 11
0
 public OptionForm(ProvInfo provInfo)
 {
     InitializeComponent();
     this.provInfo = provInfo;
     this.Init();
 }