修改数据源目录

master
mzhifa 2 years ago
parent b52e31dd24
commit 33253a52ae

@ -11,10 +11,10 @@ namespace mseedChart.Core
{
public const string ContentRegion = "ContentRegion";
public static string MseedFilePath="D:\\EwsCache\\Mseed";
public static string MseedFilePath= AppDomain.CurrentDomain.BaseDirectory + "EwsCache\\Mseed";
public static string TxtFilePath = "D:\\EwsCache\\Txt";
public static string TxtFilePath = AppDomain.CurrentDomain.BaseDirectory + "EwsCache\\Txt";
public static string DataTypeString = "A";

@ -283,7 +283,7 @@ namespace mseedChart.MainModule.ViewModels
{
Directory.CreateDirectory(Path.GetDirectoryName(asciiSavePath));
}
if (!File.Exists(dataFilePath + dataFileName + mseedStr))
//if (!File.Exists(dataFilePath + dataFileName + mseedStr))
{
//TaskData taskData = new TaskData();
@ -309,7 +309,7 @@ namespace mseedChart.MainModule.ViewModels
//};
//TaskQueue.Instance.AddTaskAndRuning(taskData);
}
else
// else
{
if (!File.Exists(asciiSavePath))
{

@ -54,18 +54,12 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\Arction\LightningChart .NET SDK v.10\LibNET4\Arction.Wpf.ChartingMVVM.LightningChart.dll</HintPath>
</Reference>
<Reference Include="DryIoc, Version=4.7.7.0, Culture=neutral, PublicKeyToken=dfbf2bd50fcf7768, processorArchitecture=MSIL">
<HintPath>..\packages\DryIoc.dll.4.7.7\lib\net45\DryIoc.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Xaml.Behaviors.Wpf.1.1.39\lib\net45\Microsoft.Xaml.Behaviors.dll</HintPath>
</Reference>
<Reference Include="Prism, Version=8.0.0.1909, Culture=neutral, PublicKeyToken=40ee6c3a2184dc59, processorArchitecture=MSIL">
<HintPath>..\packages\Prism.Core.8.0.0.1909\lib\net47\Prism.dll</HintPath>
</Reference>
<Reference Include="Prism.DryIoc.Wpf, Version=8.0.0.1909, Culture=neutral, PublicKeyToken=40ee6c3a2184dc59, processorArchitecture=MSIL">
<HintPath>..\packages\Prism.DryIoc.8.0.0.1909\lib\net47\Prism.DryIoc.Wpf.dll</HintPath>
</Reference>
<Reference Include="Prism.Wpf, Version=8.0.0.1909, Culture=neutral, PublicKeyToken=40ee6c3a2184dc59, processorArchitecture=MSIL">
<HintPath>..\packages\Prism.Wpf.8.0.0.1909\lib\net47\Prism.Wpf.dll</HintPath>
</Reference>

@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Xaml.Behaviors.Wpf" version="1.1.39" targetFramework="net47" />
<package id="Prism.Core" version="8.0.0.1909" targetFramework="net47" />
<package id="Prism.Wpf" version="8.0.0.1909" targetFramework="net47" />
</packages>

@ -13,6 +13,15 @@
<ProjectReference Include="..\mseedChart.MainModule\mseedChart.MainModule.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="EwsCache\Txt\20230329\HA.20230329T061222.01A.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="EwsCache\Txt\20230329\HA.20230329T063242.01A.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="EwsCache\Txt\20230329\HA.20230329T064121.01A.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="resources\N3102_staion_20230312.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>

Loading…
Cancel
Save