|
@@ -180,6 +180,14 @@ namespace Hotline.Share.Dtos.TrCallCenter
|
|
|
public DateTime StartTime { get; set; }
|
|
|
|
|
|
public bool? IsRest { get; set; }
|
|
|
+
|
|
|
+ public int Second => CalcSecond();
|
|
|
+
|
|
|
+
|
|
|
+ public int CalcSecond()
|
|
|
+ {
|
|
|
+ return (int)(DateTime.Now - StartTime).TotalSeconds;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|