| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEA_Core.CodeConfigEnum; | 
| using WIDESEA_Core.Enums; | 
|   | 
| namespace WIDESEA_Core.Attributes | 
| { | 
|     [AttributeUsage(AttributeTargets.Property)] | 
|     public class AnalysisItemRuleAttribute : Attribute | 
|     { | 
|         public AnalysisFormatTypeEnum AnalysisFormaType { get; set; } | 
|   | 
|         public int Length { get; set; } | 
|   | 
|         public AnalysisItemRuleAttribute(AnalysisFormatTypeEnum analysisFormaType) | 
|         { | 
|             AnalysisFormaType = analysisFormaType; | 
|         } | 
|     } | 
|   | 
|     [AttributeUsage(AttributeTargets.Class)] | 
|     public class AnalysisRuleAttribute : Attribute | 
|     { | 
|         public AnalysisRuleEnum AnalysisRule { get; set; } = AnalysisRuleEnum.Split; | 
|   | 
|         public AnalysisRuleAttribute() | 
|         { | 
|   | 
|         } | 
|     } | 
| } |