性能优化

调整数据库连接字符串
This commit is contained in:
zhihao
2025-12-17 09:48:12 +08:00
parent 6d5b527e22
commit 75a1ad2df6
17 changed files with 123 additions and 2 deletions

Binary file not shown.

View File

@@ -34,7 +34,7 @@ Public Class CorelDRAW
Public G_LibDoc As Document
'数据库连接字符串
Public LocalConnString As String = "server=10.8.8.212;database=lowmachinelog;charset=utf8;uid=BLWlog;pwd=Blw@1234;port=16036"
Public LocalConnString As String = "server=10.8.8.208;database=cdr_library;charset=utf8;uid=BLWlog;pwd=Blw@1234;port=16036"
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
'定义一个画布

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

View File

@@ -1 +1 @@
989bdffd10cd68794a4d23b9d9e7f1c7c3972509
d21ab4f85660596825f40eec6123790aa6110530

View File

@@ -147,3 +147,77 @@ E:\Sync\IMG_GENERATION\CorelDRAW\CorelDRAW\obj\Debug\CorelDRAW.exe
E:\Sync\IMG_GENERATION\CorelDRAW\CorelDRAW\obj\Debug\CorelDRAW.xml
E:\Sync\IMG_GENERATION\CorelDRAW\CorelDRAW\obj\Debug\CorelDRAW.pdb
E:\Sync\IMG_GENERATION\CorelDRAW\CorelDRAW\obj\Debug\CorelDRAW.vbproj.AssemblyReference.cache
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\CorelDRAW.exe.config
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\CorelDRAW.exe
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\CorelDRAW.pdb
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\CorelDRAW.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\BouncyCastle.Cryptography.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Google.Protobuf.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\K4os.Compression.LZ4.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\K4os.Compression.LZ4.Streams.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\K4os.Hash.xxHash.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Microsoft.Bcl.AsyncInterfaces.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Microsoft.Bcl.HashCode.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Microsoft.Extensions.DependencyInjection.Abstractions.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Microsoft.Extensions.Logging.Abstractions.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\MySql.Data.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Newtonsoft.Json.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Npgsql.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Pipelines.Sockets.Unofficial.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\StackExchange.Redis.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Buffers.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Collections.Immutable.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Configuration.ConfigurationManager.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Data.SQLite.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Diagnostics.DiagnosticSource.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.IO.Pipelines.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Memory.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Numerics.Vectors.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Text.Encodings.Web.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Text.Json.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Threading.Channels.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Threading.Tasks.Extensions.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.ValueTuple.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\ZstdSharp.dll
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\BouncyCastle.Cryptography.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Google.Protobuf.pdb
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Google.Protobuf.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\K4os.Compression.LZ4.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\K4os.Compression.LZ4.Streams.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\K4os.Hash.xxHash.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Microsoft.Bcl.AsyncInterfaces.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Microsoft.Bcl.HashCode.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Microsoft.Extensions.DependencyInjection.Abstractions.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Microsoft.Extensions.Logging.Abstractions.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\MySql.Data.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Newtonsoft.Json.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Npgsql.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\Pipelines.Sockets.Unofficial.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\StackExchange.Redis.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Buffers.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Collections.Immutable.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Configuration.ConfigurationManager.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Data.SQLite.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Diagnostics.DiagnosticSource.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.IO.Pipelines.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Memory.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Numerics.Vectors.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Runtime.CompilerServices.Unsafe.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Text.Encodings.Web.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Text.Json.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Threading.Channels.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.Threading.Tasks.Extensions.xml
E:\ForkSync\Desktop_CorelDrawTool\bin\Debug\System.ValueTuple.xml
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\CorelDRAW.vbproj.AssemblyReference.cache
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\Interop.CorelDRAW.dll
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\Interop.VGCore.dll
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\CorelDRAW.vbproj.ResolveComReference.cache
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\CorelDRAW.CorelDRAW.resources
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\CorelDRAW.Resources.resources
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\CorelDRAW.vbproj.GenerateResource.cache
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\CorelDRAW.vbproj.CoreCompileInputs.cache
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\CorelDRAW.vbproj.CopyComplete
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\CorelDRAW.exe
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\CorelDRAW.xml
E:\ForkSync\Desktop_CorelDrawTool\obj\Debug\CorelDRAW.pdb

Binary file not shown.

View File

@@ -0,0 +1,8 @@
# HyperPlane.Tech.Cdr.Sdk
A standardized toolkit for simplifying CorelDRAW® plugin development, providing efficient API wrappers and common utilities.
> **Note**
> "Cdr" is an abbreviation for CorelDRAW®.
> CorelDRAW® is a registered trademark of Corel Corporation.
> This project is not affiliated with or endorsed by Corel Corporation.

Binary file not shown.

View File

@@ -0,0 +1,39 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>utils</name>
</assembly>
<members>
<member name="T:HyperPlane.Tech.Cdr.Sdk.ShapeRangeUtils">
<summary>
形状范围工具类
</summary>
</member>
<member name="M:HyperPlane.Tech.Cdr.Sdk.ShapeRangeUtils.FindBiggestShape(Corel.Interop.VGCore.ShapeRange)">
<summary>
在一组形状范围中查找最大的形状
</summary>
<param name="sr">形状范围</param>
<returns></returns>
</member>
<member name="T:HyperPlane.Tech.Cdr.Sdk.ShapeUtils">
<summary>
形状工具类
</summary>
</member>
<member name="M:HyperPlane.Tech.Cdr.Sdk.ShapeUtils.AdjustToReferenceWidth(Corel.Interop.VGCore.Shape,Corel.Interop.VGCore.Shape)">
<summary>
将形状的宽度调整为参考形状的宽度,高度按比例变化
</summary>
<param name="targetShape">要调整的目标形状</param>
<param name="referenceShape">参考形状</param>
</member>
<member name="M:HyperPlane.Tech.Cdr.Sdk.ShapeUtils.AdjustToReferenceHeight(Corel.Interop.VGCore.Shape,Corel.Interop.VGCore.Shape)">
<summary>
将形状的高度调整为参考形状的高度,宽度按比例变化
</summary>
<param name="targetShape">要调整的目标形状</param>
<param name="referenceShape">参考形状</param>
</member>
</members>
</doc>

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB