From c020f31a67fc5aa5644511bddff075f7ecc85234 Mon Sep 17 00:00:00 2001 From: qinchulong <qinchulong@hnkhzn.com> Date: 星期二, 27 五月 2025 15:35:27 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/HuaYiZhongHeng/ZhongHeLiTiKu --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Core/Attributes/AnalysisRuleAttribute.cs | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Core/Attributes/AnalysisRuleAttribute.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Core/Attributes/AnalysisRuleAttribute.cs" new file mode 100644 index 0000000..dfea286 --- /dev/null +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Core/Attributes/AnalysisRuleAttribute.cs" @@ -0,0 +1,33 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Enums; + +namespace WIDESEA_Core.Attributes +{ + [AttributeUsage(AttributeTargets.Property)] + public class AnalysisItemRuleAttribute : Attribute + { + public AnalysisFormatType AnalysisFormaType { get; set; } + + public int Length { get; set; } + + public AnalysisItemRuleAttribute(AnalysisFormatType analysisFormaType) + { + AnalysisFormaType = analysisFormaType; + } + } + + [AttributeUsage(AttributeTargets.Class)] + public class AnalysisRuleAttribute : Attribute + { + public AnalysisRule AnalysisRule { get; set; } = AnalysisRule.Split; + + public AnalysisRuleAttribute() + { + + } + } +} -- Gitblit v1.9.3