终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
754 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmart.VariableManager
  8. {
  9. public class FileConfigModel
  10. {
  11. public static string ConstPath = string.Empty;
  12. public static string GetPath
  13. {
  14. get
  15. {
  16. string ReturnValue = null;
  17. if (Directory.Exists(ConstPath))
  18. {
  19. string path = $"{ConstPath}\\AccessFile\\JSON";
  20. Directory.CreateDirectory(path);
  21. ReturnValue = $"{ConstPath}\\AccessFile\\JSON\\CommunicationPar.json";
  22. }
  23. return ReturnValue;
  24. }
  25. }
  26. }
  27. }