12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using PTMIBase.Entity.Interfaces.Common;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection;
- using System.Text;
- using System.Threading.Tasks;
- using System.IO;
- namespace PTMedicalInsurance.Demo.Entity.Structs
- {
- struct CurrentEnvironment : ICurrentEnvironment
- {
- private string _path;
- public string Path
- {
- get
- {
-
- if (string.IsNullOrEmpty(_path))
- {
- return System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
- }
- else
- {
- return _path;
- }
- }
- set
- {
-
- _path = value;
- }
- }
- public string Mac { get; set; }
- public string Ip { get; set; }
- public string SignNo { get; set; }
- public string MsgId { get; set; }
- public string URL { get; set; }
- }
- }
|