Skip to content

Commit

Permalink
1、更改类库引用方式;
Browse files Browse the repository at this point in the history
2、将VISA类库升级至21.0.0。
  • Loading branch information
cnxy committed Mar 26, 2022
1 parent 38ee9b1 commit 4890adb
Show file tree
Hide file tree
Showing 14 changed files with 378 additions and 52,938 deletions.
360 changes: 339 additions & 21 deletions LICENSE

Large diffs are not rendered by default.

@@ -1,6 +1,6 @@
namespace VISAInstrument
namespace VISAInstrument.Configuration
{
internal class Common
internal class VisaInformation
{
public static string[] VisaSharedComponent { get; set; }
public static string[] NiVisaRuntime { get; set; }
Expand Down
141 changes: 0 additions & 141 deletions VISAInstrument/FodyWeavers.xsd

This file was deleted.

5 changes: 3 additions & 2 deletions VISAInstrument/FrmMain.cs
Expand Up @@ -7,9 +7,10 @@
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using VISAInstrument.Utility;
using VISAInstrument.Configuration;
using VISAInstrument.Ports;
using VISAInstrument.Properties;
using VISAInstrument.Utility;
using VISAInstrument.Utility.Extension;
using VISAInstrument.Utility.Extension.UI;

Expand Down Expand Up @@ -623,7 +624,7 @@ private void rdoUntilNewLineSpecifiedCount_CheckedChanged(object sender, EventAr

private void toolStripMenuItem2_Click(object sender, EventArgs e)
{
string message = Common.VisaSharedComponent.Concat(Common.NiVisaRuntime).Aggregate((x, y) => $"{x}{Environment.NewLine}{y}").TrimEnd('\r', '\n');
string message = VisaInformation.VisaSharedComponent.Concat(VisaInformation.NiVisaRuntime).Aggregate((x, y) => $"{x}{Environment.NewLine}{y}").TrimEnd('\r', '\n');
MessageBox.Show(this,message);
}

Expand Down
Binary file removed VISAInstrument/Library/Ivi.Visa.dll
Binary file not shown.

0 comments on commit 4890adb

Please sign in to comment.