Procházet zdrojové kódy

提交映射字段显示数据类型

master
DESKTOP-58BB7H3\ZJH před 4 měsíci
rodič
revize
b4bda939b1
16 změnil soubory, kde provedl 11443 přidání a 45 odebrání
  1. binární
      .vs/CNAS_DBSync/v15/.suo
  2. binární
      .vs/CNAS_DBSync/v15/Server/sqlite3/storage.ide-wal
  3. +1
    -0
      CNAS_DBSync/ActivationForm.cs
  4. +53
    -43
      CNAS_DBSync/frmSyncParams.Designer.cs
  5. +1
    -1
      CNAS_DBSync/frmSyncParams.cs
  6. +3
    -0
      CNAS_DBSync/frmSyncParams.resx
  7. +5
    -0
      CnasSynchrousModel/SyncParamasInfo.cs
  8. binární
      dll/CNAS_DBSync.exe
  9. binární
      dll/CnasLocalIDAL.dll
  10. binární
      dll/CnasSynchronusClient.dll
  11. binární
      dll/CnasSynchronusDAL.dll
  12. binární
      dll/CnasSynchronusIDAL.dll
  13. binární
      dll/CnasSynchrousModel.dll
  14. +11379
    -0
      dll/ErrorLog/20250214.txt
  15. binární
      dll/SyncLocalDAL.dll
  16. +1
    -1
      dll/activation.config

binární
.vs/CNAS_DBSync/v15/.suo Zobrazit soubor


binární
.vs/CNAS_DBSync/v15/Server/sqlite3/storage.ide-wal Zobrazit soubor


+ 1
- 0
CNAS_DBSync/ActivationForm.cs Zobrazit soubor

@@ -65,6 +65,7 @@ namespace CNAS_DBSync

try
{
///调试绕过验证
if (ValidateActivationCode(activationCode))
{
IsActivated = true;


+ 53
- 43
CNAS_DBSync/frmSyncParams.Designer.cs Zobrazit soubor

@@ -95,14 +95,15 @@
this.panel4 = new System.Windows.Forms.Panel();
this.panel13 = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
this.InstruFieldName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InstruDataType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CnasDataType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CNASFieldName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InstrumentField = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CnasField = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PrimaryKey = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.DateKey = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.InstruFieldName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InstruDataType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CNASFieldName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CnasDataType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.字段属性 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.pnlAll.SuspendLayout();
this.pnlBodyCenter.SuspendLayout();
this.pnlRigh.SuspendLayout();
@@ -237,7 +238,8 @@
this.InstrumentField,
this.CnasField,
this.PrimaryKey,
this.DateKey});
this.DateKey,
this.字段属性});
this.dgvMapping.ContextMenuStrip = this.cmsMapping;
this.dgvMapping.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvMapping.Location = new System.Drawing.Point(0, 0);
@@ -780,13 +782,45 @@
this.panel6.Size = new System.Drawing.Size(1207, 2);
this.panel6.TabIndex = 1;
//
// InstruFieldName
//
this.InstruFieldName.DataPropertyName = "InstruFieldName";
this.InstruFieldName.HeaderText = "列名";
this.InstruFieldName.Name = "InstruFieldName";
this.InstruFieldName.ReadOnly = true;
this.InstruFieldName.Width = 220;
//
// InstruDataType
//
this.InstruDataType.DataPropertyName = "InstruDataType";
this.InstruDataType.HeaderText = "数据类型";
this.InstruDataType.Name = "InstruDataType";
this.InstruDataType.ReadOnly = true;
this.InstruDataType.Width = 240;
//
// CnasDataType
//
this.CnasDataType.DataPropertyName = "CnasDataType";
this.CnasDataType.HeaderText = "数据类型";
this.CnasDataType.Name = "CnasDataType";
this.CnasDataType.ReadOnly = true;
this.CnasDataType.Width = 240;
//
// CNASFieldName
//
this.CNASFieldName.DataPropertyName = "CnasFieldName";
this.CNASFieldName.HeaderText = "列名";
this.CNASFieldName.Name = "CNASFieldName";
this.CNASFieldName.ReadOnly = true;
this.CNASFieldName.Width = 220;
//
// InstrumentField
//
this.InstrumentField.DataPropertyName = "SourceField";
this.InstrumentField.HeaderText = "设备数据列";
this.InstrumentField.Name = "InstrumentField";
this.InstrumentField.ReadOnly = true;
this.InstrumentField.Width = 240;
this.InstrumentField.Width = 200;
//
// CnasField
//
@@ -794,53 +828,28 @@
this.CnasField.HeaderText = "CNAS数据列";
this.CnasField.Name = "CnasField";
this.CnasField.ReadOnly = true;
this.CnasField.Width = 240;
this.CnasField.Width = 200;
//
// PrimaryKey
//
this.PrimaryKey.DataPropertyName = "IfPrimaryKey";
this.PrimaryKey.HeaderText = "关键字段";
this.PrimaryKey.Name = "PrimaryKey";
this.PrimaryKey.Width = 240;
this.PrimaryKey.Width = 200;
//
// DateKey
//
this.DateKey.DataPropertyName = "IfDateField";
this.DateKey.HeaderText = "日期字段";
this.DateKey.Name = "DateKey";
this.DateKey.Width = 240;
//
// InstruFieldName
//
this.InstruFieldName.DataPropertyName = "InstruFieldName";
this.InstruFieldName.HeaderText = "列名";
this.InstruFieldName.Name = "InstruFieldName";
this.InstruFieldName.ReadOnly = true;
this.InstruFieldName.Width = 220;
//
// InstruDataType
this.DateKey.Width = 200;
//
this.InstruDataType.DataPropertyName = "InstruDataType";
this.InstruDataType.HeaderText = "数据类型";
this.InstruDataType.Name = "InstruDataType";
this.InstruDataType.ReadOnly = true;
this.InstruDataType.Width = 240;
// 字段属性
//
// CNASFieldName
//
this.CNASFieldName.DataPropertyName = "CnasFieldName";
this.CNASFieldName.HeaderText = "列名";
this.CNASFieldName.Name = "CNASFieldName";
this.CNASFieldName.ReadOnly = true;
this.CNASFieldName.Width = 220;
//
// CnasDataType
//
this.CnasDataType.DataPropertyName = "CnasDataType";
this.CnasDataType.HeaderText = "数据类型";
this.CnasDataType.Name = "CnasDataType";
this.CnasDataType.ReadOnly = true;
this.CnasDataType.Width = 240;
this.字段属性.DataPropertyName = "DataType";
this.字段属性.HeaderText = "数据类型";
this.字段属性.Name = "字段属性";
this.字段属性.Width = 200;
//
// frmSyncParams
//
@@ -961,14 +970,15 @@
private System.Windows.Forms.ToolStripMenuItem tsmHelper;
private System.Windows.Forms.Panel pnlBodyCenter;
private System.Windows.Forms.ToolStripMenuItem tsmServiceSetting;
private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentField;
private System.Windows.Forms.DataGridViewTextBoxColumn CnasField;
private System.Windows.Forms.DataGridViewCheckBoxColumn PrimaryKey;
private System.Windows.Forms.DataGridViewCheckBoxColumn DateKey;
private System.Windows.Forms.DataGridViewTextBoxColumn InstruFieldName;
private System.Windows.Forms.DataGridViewTextBoxColumn InstruDataType;
private System.Windows.Forms.DataGridViewTextBoxColumn CNASFieldName;
private System.Windows.Forms.DataGridViewTextBoxColumn CnasDataType;
private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentField;
private System.Windows.Forms.DataGridViewTextBoxColumn CnasField;
private System.Windows.Forms.DataGridViewCheckBoxColumn PrimaryKey;
private System.Windows.Forms.DataGridViewCheckBoxColumn DateKey;
private System.Windows.Forms.DataGridViewTextBoxColumn 字段属性;
}
}


+ 1
- 1
CNAS_DBSync/frmSyncParams.cs Zobrazit soubor

@@ -385,7 +385,7 @@ namespace CNAS_DBSync
//仪器表名和选中行
syncParamas.SourceTable = cbxInstrument.Text.ToString().ToUpper();
syncParamas.SourceField = dgvInstruDS.Rows[dgvInstruDS.CurrentCell.RowIndex].Cells[0].Value.ToString().ToUpper();
syncParamas.DataType = dgvInstruDS.Rows[dgvInstruDS.CurrentCell.RowIndex].Cells[1].Value.ToString().ToUpper();
//CNAS表名和选中行
syncParamas.TargetTable = cbxCnas.Text.ToString().ToUpper();
syncParamas.TargetField = dgvCnas.Rows[dgvCnas.CurrentCell.RowIndex].Cells[0].Value.ToString().ToUpper();


+ 3
- 0
CNAS_DBSync/frmSyncParams.resx Zobrazit soubor

@@ -129,6 +129,9 @@
<metadata name="DateKey.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="字段属性.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="cmsMapping.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>


+ 5
- 0
CnasSynchrousModel/SyncParamasInfo.cs Zobrazit soubor

@@ -39,5 +39,10 @@ namespace CnasSynchrousModel
/// 是否是关键日期字段
/// </summary>
public bool IfDateField { get; set; }

/// <summary>
/// 数据类型
/// </summary>
public string DataType { get; set; }
}
}

binární
dll/CNAS_DBSync.exe Zobrazit soubor


binární
dll/CnasLocalIDAL.dll Zobrazit soubor


binární
dll/CnasSynchronusClient.dll Zobrazit soubor


binární
dll/CnasSynchronusDAL.dll Zobrazit soubor


binární
dll/CnasSynchronusIDAL.dll Zobrazit soubor


binární
dll/CnasSynchrousModel.dll Zobrazit soubor


+ 11379
- 0
dll/ErrorLog/20250214.txt
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


binární
dll/SyncLocalDAL.dll Zobrazit soubor


+ 1
- 1
dll/activation.config Zobrazit soubor

@@ -1 +1 @@
BFEBFBFF000B06A2_7413EA0CEB72_7613EA0CEB71_7413EA0CEB71
BFEBFBFF000A0652_B025AA3FD303_00FF7AB4C9BA_8C554AD3D7A5_8E554AD3D7A4_8C554AD3D7A4_8C554AD3D7A8

Načítá se…
Zrušit
Uložit