Ejemplo n.º 1
0
        public bool Init(string PipeName, string BinFolderPath, string AssemblyName)
        {
            DebugData = new DebugDataReader();
            DebugData.ReadDataFiles(BinFolderPath, AssemblyName);
            try
            {
                DebugData.ReadLibraryInfo(BinFolderPath, AssemblyName);
            }
            catch (Exception ex)
            {
            }

            MsgSerial              = new Serial();
            NotifSerial            = new Serial();
            MsgSerial.OnConnected += MsgSerial_OnConnected;
            return(MsgSerial.Init(PipeName + "_Msg") && NotifSerial.Init(PipeName + "_Notif"));
        }
Ejemplo n.º 2
0
        public bool Init(string PipeName, string BinFolderPath, string AssemblyName)
        {
            DebugData = new DebugDataReader();
            DebugData.ReadDataFiles(BinFolderPath, AssemblyName);
            try
            {
                DebugData.ReadLibraryInfo(BinFolderPath, AssemblyName);
            }
            catch (Exception ex)
            {
            }

            MsgSerial = new Serial();
            NotifSerial = new Serial();
            MsgSerial.OnConnected += MsgSerial_OnConnected;
            return MsgSerial.Init(PipeName + "_Msg") && NotifSerial.Init(PipeName + "_Notif");
        }