管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2023-01-01 208143942a6d81e4fb2a2e6abdd8ee807007fc39
1.1.2
已重命名3个文件
已添加2个文件
已修改4个文件
121 ■■■■■ 文件已修改
DataLoader/CS/Importor.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DataLoader/DataLoader.csproj 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DataLoader/LoginWin.xaml.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
DataLoader/MainWindow.xaml.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DataLoader/Model/Main.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
DataLoader/Model/NtstWeb.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
DataLoader/Model/SysMeta.cs 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DataLoader/Model/SysMetaFile.cs 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DataLoader/Model/ViewData.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
DataLoader/CS/Importor.cs
@@ -1,4 +1,5 @@
锘縰sing System;
锘縰sing DataLoader.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
@@ -9,6 +10,10 @@
{
    public class Importor
    {
        private static readonly string insertMeta = "insert into lf.sys_meta(name, dirid, depid, verid, type, sizes, cs, scale, resolution, gather, batch, descr, create_user) values  @name, @dirid, @depid, @verid, @type, @sizes, @cs, @scale, @resolution, @gather, @batch, @descr, @create_user)";
        private static readonly string insertMetaFile = "insert into lf.sys_meta_file(name, metaid, fileid, guid, path, sizes, create_user) values (@name, @metaid, @fileid, @guid, @path, @sizes, @create_user)";
        public static void Import(ObservableCollection<ViewData> viewDatas, string source, string target)
        {
DataLoader/DataLoader.csproj
@@ -88,11 +88,12 @@
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="CS\Importor.cs" />
    <Compile Include="CS\Main.cs" />
    <Compile Include="Model\Main.cs" />
    <Compile Include="CS\ModelHandler.cs" />
    <Compile Include="CS\NtstWeb.cs" />
    <Compile Include="Model\NtstWeb.cs" />
    <Compile Include="CS\PostgreHelper.cs" />
    <Compile Include="CS\ViewData.cs" />
    <Compile Include="Model\SysMetaFile.cs" />
    <Compile Include="Model\ViewData.cs" />
    <Compile Include="LoginWin.xaml.cs">
      <DependentUpon>LoginWin.xaml</DependentUpon>
    </Compile>
@@ -102,6 +103,7 @@
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Model\SysMeta.cs" />
    <Compile Include="Properties\AssemblyInfo.cs">
      <SubType>Code</SubType>
    </Compile>
DataLoader/LoginWin.xaml.cs
@@ -1,5 +1,5 @@
锘縰sing CefSharp;
using DataLoader.CS;
using DataLoader.Model;
using System;
using System.Collections.Generic;
using System.Linq;
DataLoader/MainWindow.xaml.cs
@@ -1,4 +1,5 @@
锘縰sing DataLoader.CS;
using DataLoader.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
DataLoader/Model/Main.cs
文件名从 DataLoader/CS/Main.cs 修改
@@ -5,7 +5,7 @@
using System.Threading.Tasks;
using System.Windows;
namespace DataLoader.CS
namespace DataLoader.Model
{
    public class Main
    {
DataLoader/Model/NtstWeb.cs
文件名从 DataLoader/CS/NtstWeb.cs 修改
@@ -5,7 +5,7 @@
using System.Threading.Tasks;
using System.Windows;
namespace DataLoader.CS
namespace DataLoader.Model
{
    public class NtstWeb
    {
DataLoader/Model/SysMeta.cs
对比新文件
@@ -0,0 +1,58 @@
锘縰sing System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.ComTypes;
using System.Security.Cryptography;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using static Mono.Security.X509.X520;
using System.Windows.Controls;
namespace DataLoader.Model
{
    public class SysMeta
    {
        public int id { set; get; }
        public string name { set; get; }
        public int dirid { set; get; }
        public int depid { set; get; }
        public int verid { set; get; }
        public string type { set; get; }
        public double sizes { set; get; }
        public string cs { set; get; }
        public string scale { set; get; }
        public string resolution { set; get; }
        public DateTime gather { set; get; }
        public string batch { set; get; }
        public string descr { set; get; }
        public int create_user { set; get; }
        public DateTime create_time { set; get; }
        public int update_user { set; get; }
        public DateTime update_time { set; get; }
        public string geom { set; get; }
        public string tab { set; get; }
        public int rows { set; get; }
        public SysMeta() { }
    }
}
DataLoader/Model/SysMetaFile.cs
对比新文件
@@ -0,0 +1,39 @@
锘縰sing System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.ComTypes;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using static Mono.Security.X509.X520;
using System.Windows.Controls;
namespace DataLoader.Model
{
    public class SysMetaFile
    {
        public int id { get; set; }
        public string name { get; set; }
        public int metaid { get; set; }
        public int fileid { get; set; }
        public string guid { get; set; }
        public string path { get; set; }
        public double sizes { get; set; }
        public int create_user { get; set; }
        public DateTime create_time { get; set; }
        public int update_user { get; set; }
        public DateTime update_time { get; set; }
        public SysMetaFile() { }
    }
}
DataLoader/Model/ViewData.cs
文件名从 DataLoader/CS/ViewData.cs 修改
@@ -5,7 +5,7 @@
using System.Text;
using System.Threading.Tasks;
namespace DataLoader.CS
namespace DataLoader.Model
{
    public class ViewData : INotifyPropertyChanged
    {