Ejemplo n.º 1
0
            public override void Parse()
            {
                EWBFData ewbfData = GetResultsSection(LastLog);

                if (ewbfData.Parse(new EWBFReaderResultParser(LastLog, ReReadGpuNames)))
                {
                    MinerResult = ewbfData.MinerDataResult;
                }
                ReReadGpuNames = false;
            }
Ejemplo n.º 2
0
 EWBFData GetResultsSection(string innerText)
 {
     try
     {
         EWBFData minerResult = (EWBFData) new JavaScriptSerializer().Deserialize(innerText, typeof(EWBFData));
         return(minerResult);
     }
     catch (Exception e)
     {
     }
     return(null);
 }
Ejemplo n.º 3
0
                public bool Parse(object obj)
                {
                    Succeeded = false;

                    m_EwbfData = obj as EWBFData;
                    try
                    {
                        if (m_EwbfData == null)
                        {
                            return(false);
                        }

                        ComputeGPUData();
                        return(true);
                    }
                    catch (Exception e)
                    {
                        Succeeded = false;
                    }
                    return(false);
                }