From a8495af12add5103cffa06ea00af8afc82248bfe Mon Sep 17 00:00:00 2001
From: tangxu <tangxu76880903>
Date: 星期三, 03 七月 2024 13:14:28 +0800
Subject: [PATCH] 优化接口

---
 Calc/IStation.Calc.Model/TimeRange.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Calc/IStation.Calc.Model/TimeRange.cs b/Calc/IStation.Calc.Model/TimeRange.cs
index 27b76ef..e5cf926 100644
--- a/Calc/IStation.Calc.Model/TimeRange.cs
+++ b/Calc/IStation.Calc.Model/TimeRange.cs
@@ -8,6 +8,8 @@
 {
     public class TimeRange
     {
+        public TimeRange() { }
+        public TimeRange(TimeRange tr) { this.Start = tr.Start;this.End = tr.End; }
         public DateTime Start {  get; set; }
         public DateTime End { get; set; }  
     }

--
Gitblit v1.9.3