Ejemplo n.º 1
0
 public EtdzOneKey(EagleString.Structs.ETDZONEKEY onekey,EagleProtocal.MyTcpIpClient socket,EagleString.CommandPool cmdpool)
 {
     InitializeComponent();
     m_onekey = onekey;
     m_socket = socket;
     m_cmdpool = cmdpool;
 }
Ejemplo n.º 2
0
 private void menu_event_operation_etdz_one_key(string pnr)
 {
     if (!loginInfo.b2b.lr.AuthorityOfCommand("etdz"))
     {
         AppendBlackWindow("无权使用\r\n>");
         return;
     }
     m_etdzonekey = new Structs.ETDZONEKEY("", "", loginInfo);
     ToCommand.EtdzOneKey dlg = new global::EagleForms.ToCommand.EtdzOneKey(m_etdzonekey, socket, commandPool);
     dlg.PNR = pnr;
     //非模式对话框:引用m_etdzonekey,commandPool,socket
     dlg.Show();
 }
Ejemplo n.º 3
0
 private void menu_event_operation_etdz_one_key()
 {
     if (!loginInfo.b2b.lr.AuthorityOfCommand("etdz"))
     {
         AppendBlackWindow("无权使用\r\n>");
         return;
     }
     m_etdzonekey = new Structs.ETDZONEKEY("", "", loginInfo);
     ToCommand.EtdzOneKey dlg = new global::EagleForms.ToCommand.EtdzOneKey(m_etdzonekey, socket, commandPool);
     //非模式对话框:引用m_etdzonekey,commandPool,socket
     dlg.Show();
     //if (dlg.ShowDialog() == DialogResult.OK)
     //{
     //    m_etdzonekey = new Structs.ETDZONEKEY(dlg.PNR, dlg.PAT);
     //    string cmd = commandPool.HandleCommand("rt" + m_etdzonekey.pnr);
     //    commandPool.SetType(ETERM_COMMAND_TYPE.ETDZ_ONEKEY_RT);
     //    socket.SendCommand(cmd, 3);
     //}
 }