crashanalysercmd/UI/CrashServer/Engine/Files/CACmdLineFileSource.cs
changeset 2 0c91f0baec58
parent 0 818e61de6cd1
equal deleted inserted replaced
1:7a31f7298d8f 2:0c91f0baec58
    18 using System.Text;
    18 using System.Text;
    19 using System.IO;
    19 using System.IO;
    20 using System.Collections.Generic;
    20 using System.Collections.Generic;
    21 using CrashItemLib.Crash.Container;
    21 using CrashItemLib.Crash.Container;
    22 using CrashItemLib.Engine.Sources;
    22 using CrashItemLib.Engine.Sources;
       
    23 using MobileCrashLib.Structures;
       
    24 using MobileCrashLib.Structures.Items;
    23 
    25 
    24 namespace CrashAnalyserServerExe.Engine
    26 namespace CrashAnalyserServerExe.Engine
    25 {
    27 {
    26     internal class CACmdLineFileSource : CACmdLineFSEntity, IEnumerable<CIContainer>
    28     internal class CACmdLineFileSource : CACmdLineFSEntity, IEnumerable<CIContainer>
    27     {
    29     {
   127         public TState State
   129         public TState State
   128         {
   130         {
   129             get { return iState; }
   131             get { return iState; }
   130             set { iState = value; }
   132             set { iState = value; }
   131         }
   133         }
       
   134 
       
   135         public TMobileCrashContentType ContentType
       
   136         {
       
   137             get { return iContentType; }
       
   138             set { iContentType = value; }
       
   139         }
       
   140 
       
   141         public MobileCrashItemUint32 RomId
       
   142         {
       
   143             get { return iRomId; }
       
   144             set { iRomId = value; }
       
   145         }
       
   146 
   132         #endregion
   147         #endregion
   133 
   148 
   134         #region Internal methods
   149         #region Internal methods
   135         #endregion
   150         #endregion
   136 
   151 
   215         #region Data members
   230         #region Data members
   216         private TState iState = TState.EStateUninitialized; 
   231         private TState iState = TState.EStateUninitialized; 
   217         private CIEngineSource iSource = null;
   232         private CIEngineSource iSource = null;
   218         private List<OutputEntry> iOutputs = new List<OutputEntry>();
   233         private List<OutputEntry> iOutputs = new List<OutputEntry>();
   219         private CIContainerCollection iContainers = null;
   234         private CIContainerCollection iContainers = null;
       
   235         private TMobileCrashContentType iContentType = TMobileCrashContentType.EContentTypeUnknown;
       
   236         private MobileCrashItemUint32 iRomId = new MobileCrashItemUint32();
   220         #endregion
   237         #endregion
   221     }
   238     }
   222 
   239 
   223     public enum TOutputStatus
   240     public enum TOutputStatus
   224     {
   241     {