diff --git a/100标准/.gitignore b/100标准.通用/.gitignore similarity index 100% rename from 100标准/.gitignore rename to 100标准.通用/.gitignore diff --git a/100标准/1.0.0.panda b/100标准.通用/1.0.0.panda similarity index 100% rename from 100标准/1.0.0.panda rename to 100标准.通用/1.0.0.panda diff --git a/100标准/1.documents/文档.txt b/100标准.通用/1.documents/文档.txt similarity index 100% rename from 100标准/1.documents/文档.txt rename to 100标准.通用/1.documents/文档.txt diff --git a/100标准/2.database/v1.0.0.panda b/100标准.通用/2.database/v1.0.0.panda similarity index 100% rename from 100标准/2.database/v1.0.0.panda rename to 100标准.通用/2.database/v1.0.0.panda diff --git a/100标准/2.database/v1.0.0/脚本文件.txt b/100标准.通用/2.database/v1.0.0/脚本文件.txt similarity index 100% rename from 100标准/2.database/v1.0.0/脚本文件.txt rename to 100标准.通用/2.database/v1.0.0/脚本文件.txt diff --git a/100标准/2.database/更新脚本.txt b/100标准.通用/2.database/更新脚本.txt similarity index 100% rename from 100标准/2.database/更新脚本.txt rename to 100标准.通用/2.database/更新脚本.txt diff --git a/100标准/3.tools/工具箱.txt b/100标准.通用/3.tools/工具箱.txt similarity index 100% rename from 100标准/3.tools/工具箱.txt rename to 100标准.通用/3.tools/工具箱.txt diff --git a/100标准/4.resources/资源文件.txt b/100标准.通用/4.resources/资源文件.txt similarity index 100% rename from 100标准/4.resources/资源文件.txt rename to 100标准.通用/4.resources/资源文件.txt diff --git a/100标准/5.code/源代码.txt b/100标准.通用/5.code/源代码.txt similarity index 100% rename from 100标准/5.code/源代码.txt rename to 100标准.通用/5.code/源代码.txt diff --git a/100标准/6.hardware/硬件资料.txt b/100标准.通用/6.hardware/硬件资料.txt similarity index 100% rename from 100标准/6.hardware/硬件资料.txt rename to 100标准.通用/6.hardware/硬件资料.txt diff --git a/100标准/7.devops/运维说明.txt b/100标准.通用/7.devops/运维说明.txt similarity index 100% rename from 100标准/7.devops/运维说明.txt rename to 100标准.通用/7.devops/运维说明.txt diff --git a/100标准/8.version/.gitignore b/100标准.通用/8.version/.gitignore similarity index 100% rename from 100标准/8.version/.gitignore rename to 100标准.通用/8.version/.gitignore diff --git a/100标准/8.version/1.0.0.panda b/100标准.通用/8.version/1.0.0.panda similarity index 100% rename from 100标准/8.version/1.0.0.panda rename to 100标准.通用/8.version/1.0.0.panda diff --git a/100标准/8.version/history/建立版本.old.bat b/100标准.通用/8.version/history/建立版本.old.bat similarity index 100% rename from 100标准/8.version/history/建立版本.old.bat rename to 100标准.通用/8.version/history/建立版本.old.bat diff --git a/100标准/8.version/version.txt b/100标准.通用/8.version/version.txt similarity index 100% rename from 100标准/8.version/version.txt rename to 100标准.通用/8.version/version.txt diff --git a/100标准/8.version/建立版本.bat b/100标准.通用/8.version/建立版本.bat similarity index 100% rename from 100标准/8.version/建立版本.bat rename to 100标准.通用/8.version/建立版本.bat diff --git a/100标准/8.version/每次编译.bat b/100标准.通用/8.version/每次编译.bat similarity index 100% rename from 100标准/8.version/每次编译.bat rename to 100标准.通用/8.version/每次编译.bat diff --git a/100标准/9.published/建立D盘目录.bat b/100标准.通用/9.published/建立D盘目录.bat similarity index 100% rename from 100标准/9.published/建立D盘目录.bat rename to 100标准.通用/9.published/建立D盘目录.bat diff --git a/100标准/IDE.panda.bat b/100标准.通用/IDE.panda.bat similarity index 100% rename from 100标准/IDE.panda.bat rename to 100标准.通用/IDE.panda.bat diff --git a/100标准/LICENSE b/100标准.通用/LICENSE similarity index 100% rename from 100标准/LICENSE rename to 100标准.通用/LICENSE diff --git a/100标准/README.md b/100标准.通用/README.md similarity index 100% rename from 100标准/README.md rename to 100标准.通用/README.md diff --git a/100标准/Tool.Clear.bat b/100标准.通用/Tool.Clear.bat similarity index 100% rename from 100标准/Tool.Clear.bat rename to 100标准.通用/Tool.Clear.bat diff --git a/100标准/xxxxxxx.master.txt b/100标准.通用/xxxxxxx.master.txt similarity index 100% rename from 100标准/xxxxxxx.master.txt rename to 100标准.通用/xxxxxxx.master.txt diff --git a/200标准.DotNET/.gitignore b/200标准.DotNET/.gitignore new file mode 100644 index 0000000..5b385f4 --- /dev/null +++ b/200标准.DotNET/.gitignore @@ -0,0 +1,112 @@ +# ---> C Sharp +# Build Folders (you can keep bin if you'd like, to store dlls and pdbs) +[Bb]in/ +[Oo]bj/ + +# mstest test results +TestResults + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results +[Dd]ebug/ +[Rr]elease/ +x64/ +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.log +*.vspscc +*.vssscc +.builds + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper* + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# Installshield output folder +[Ee]xpress + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish + +# Publish Web Output +*.Publish.xml + +# NuGet Packages Directory +packages + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +[Bb]in +[Oo]bj +sql +TestResults +[Tt]est[Rr]esult* +*.Cache +ClientBin +[Ss]tyle[Cc]op.* +~$* +*.dbmdl +Generated_Code #added for RIA/Silverlight projects + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML + +9.published/* + diff --git a/200标准.DotNET/1.0.0.panda b/200标准.DotNET/1.0.0.panda new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/200标准.DotNET/1.0.0.panda @@ -0,0 +1 @@ +. diff --git a/200标准.DotNET/1.documents/文档.txt b/200标准.DotNET/1.documents/文档.txt new file mode 100644 index 0000000..e69de29 diff --git a/200标准.DotNET/2.database/v1.0.0.panda b/200标准.DotNET/2.database/v1.0.0.panda new file mode 100644 index 0000000..610f49f --- /dev/null +++ b/200标准.DotNET/2.database/v1.0.0.panda @@ -0,0 +1 @@ +ECHO ڹر״̬ diff --git a/200标准.DotNET/2.database/v1.0.0/脚本文件.txt b/200标准.DotNET/2.database/v1.0.0/脚本文件.txt new file mode 100644 index 0000000..8fe35ae --- /dev/null +++ b/200标准.DotNET/2.database/v1.0.0/脚本文件.txt @@ -0,0 +1 @@ +-- ݿű(1.0.0.221103145242) diff --git a/200标准.DotNET/2.database/更新脚本.txt b/200标准.DotNET/2.database/更新脚本.txt new file mode 100644 index 0000000..8fe35ae --- /dev/null +++ b/200标准.DotNET/2.database/更新脚本.txt @@ -0,0 +1 @@ +-- ݿű(1.0.0.221103145242) diff --git a/200标准.DotNET/3.tools/nssm.Insatll/nssm/Unstall.bat b/200标准.DotNET/3.tools/nssm.Insatll/nssm/Unstall.bat new file mode 100644 index 0000000..3923acf --- /dev/null +++ b/200标准.DotNET/3.tools/nssm.Insatll/nssm/Unstall.bat @@ -0,0 +1,22 @@ +%~d0 +@echo off +cd %~dp0 +::读取版本配置文件 +set configVersion=serviceName.txt +for /f "tokens=1,2 delims=:" %%a IN (%configVersion%) Do ( + set tag1=%%a + set tag2=%%b +) +set serviceName=%tag2% +echo %tag1%=%serviceName% + +if %serviceName% == "" ( + echo serviceName is error + pause + exit +) + +nssm stop %serviceName% +nssm remove %serviceName% confirm + +pause \ No newline at end of file diff --git a/200标准.DotNET/3.tools/nssm.Insatll/nssm/nssm.exe b/200标准.DotNET/3.tools/nssm.Insatll/nssm/nssm.exe new file mode 100644 index 0000000..b81399d Binary files /dev/null and b/200标准.DotNET/3.tools/nssm.Insatll/nssm/nssm.exe differ diff --git a/200标准.DotNET/3.tools/nssm.Insatll/web.api/Install.bat b/200标准.DotNET/3.tools/nssm.Insatll/web.api/Install.bat new file mode 100644 index 0000000..79dd7a5 --- /dev/null +++ b/200标准.DotNET/3.tools/nssm.Insatll/web.api/Install.bat @@ -0,0 +1,32 @@ +@echo off +%~d0 +cd %~dp0 + +::读取版本配置文件 +set configVersion=serviceName.txt +for /f "tokens=1,2 delims=:" %%a IN (%configVersion%) Do ( + set tag1=%%a + set tag2=%%b +) +set serviceName=%tag2% +echo %tag1%=%serviceName% + +if %serviceName% == "" ( + echo serviceName is error + pause + exit +) + +set exe=%cd% +echo exe=%exe% +cd .. +set apppath=%cd%\net6.0\Panda.WebUI.WebAPI.exe +echo appPath=%apppath% + +cd %exe% +nssm install %serviceName% %apppath% +nssm set %serviceName% DisplayName "%serviceName%" +nssm set %serviceName% Description "%serviceName%" +nssm start %serviceName% + +pause \ No newline at end of file diff --git a/200标准.DotNET/3.tools/nssm.Insatll/web.api/serviceName.txt b/200标准.DotNET/3.tools/nssm.Insatll/web.api/serviceName.txt new file mode 100644 index 0000000..3c9503b --- /dev/null +++ b/200标准.DotNET/3.tools/nssm.Insatll/web.api/serviceName.txt @@ -0,0 +1 @@ +serviceName:satlic.com.cloud.webapi \ No newline at end of file diff --git a/200标准.DotNET/3.tools/nssm.Insatll/web.iotcenter/Install.bat b/200标准.DotNET/3.tools/nssm.Insatll/web.iotcenter/Install.bat new file mode 100644 index 0000000..62b0b56 --- /dev/null +++ b/200标准.DotNET/3.tools/nssm.Insatll/web.iotcenter/Install.bat @@ -0,0 +1,32 @@ +@echo off +%~d0 +cd %~dp0 + +::读取版本配置文件 +set configVersion=serviceName.txt +for /f "tokens=1,2 delims=:" %%a IN (%configVersion%) Do ( + set tag1=%%a + set tag2=%%b +) +set serviceName=%tag2% +echo %tag1%=%serviceName% + +if %serviceName% == "" ( + echo serviceName is error + pause + exit +) + +set exe=%cd% +echo exe=%exe% +cd .. +set apppath=%cd%\net6.0\Panda.WebUI.IoTCenter.exe +echo appPath=%apppath% + +cd %exe% +nssm install %serviceName% %apppath% +nssm set %serviceName% DisplayName "%serviceName%" +nssm set %serviceName% Description "%serviceName%" +nssm start %serviceName% + +pause \ No newline at end of file diff --git a/200标准.DotNET/3.tools/nssm.Insatll/web.iotcenter/serviceName.txt b/200标准.DotNET/3.tools/nssm.Insatll/web.iotcenter/serviceName.txt new file mode 100644 index 0000000..df60cac --- /dev/null +++ b/200标准.DotNET/3.tools/nssm.Insatll/web.iotcenter/serviceName.txt @@ -0,0 +1 @@ +serviceName:satlic.com.cloud.iotCenter \ No newline at end of file diff --git a/200标准.DotNET/3.tools/nssm.Insatll/web.logcenter/Install.bat b/200标准.DotNET/3.tools/nssm.Insatll/web.logcenter/Install.bat new file mode 100644 index 0000000..57e57ca --- /dev/null +++ b/200标准.DotNET/3.tools/nssm.Insatll/web.logcenter/Install.bat @@ -0,0 +1,32 @@ +@echo off +%~d0 +cd %~dp0 + +::读取版本配置文件 +set configVersion=serviceName.txt +for /f "tokens=1,2 delims=:" %%a IN (%configVersion%) Do ( + set tag1=%%a + set tag2=%%b +) +set serviceName=%tag2% +echo %tag1%=%serviceName% + +if %serviceName% == "" ( + echo serviceName is error + pause + exit +) + +set exe=%cd% +echo exe=%exe% +cd .. +set apppath=%cd%\net6.0\Panda.WebUI.LogCenter.exe +echo appPath=%apppath% + +cd %exe% +nssm install %serviceName% %apppath% +nssm set %serviceName% DisplayName "%serviceName%" +nssm set %serviceName% Description "%serviceName%" +nssm start %serviceName% + +pause \ No newline at end of file diff --git a/200标准.DotNET/3.tools/nssm.Insatll/web.logcenter/serviceName.txt b/200标准.DotNET/3.tools/nssm.Insatll/web.logcenter/serviceName.txt new file mode 100644 index 0000000..6498bcf --- /dev/null +++ b/200标准.DotNET/3.tools/nssm.Insatll/web.logcenter/serviceName.txt @@ -0,0 +1 @@ +serviceName:satlic.com.cloud.logCenter \ No newline at end of file diff --git a/200标准.DotNET/3.tools/nssm.Insatll/web.ocelot/Install.bat b/200标准.DotNET/3.tools/nssm.Insatll/web.ocelot/Install.bat new file mode 100644 index 0000000..188e776 --- /dev/null +++ b/200标准.DotNET/3.tools/nssm.Insatll/web.ocelot/Install.bat @@ -0,0 +1,32 @@ +@echo off +%~d0 +cd %~dp0 + +::读取版本配置文件 +set configVersion=serviceName.txt +for /f "tokens=1,2 delims=:" %%a IN (%configVersion%) Do ( + set tag1=%%a + set tag2=%%b +) +set serviceName=%tag2% +echo %tag1%=%serviceName% + +if %serviceName% == "" ( + echo serviceName is error + pause + exit +) + +set exe=%cd% +echo exe=%exe% +cd .. +set apppath=%cd%\net6.0\Panda.WebUI.GatewayOcelot.exe +echo appPath=%apppath% + +cd %exe% +nssm install %serviceName% %apppath% +nssm set %serviceName% DisplayName "%serviceName%" +nssm set %serviceName% Description "%serviceName%" +nssm start %serviceName% + +pause \ No newline at end of file diff --git a/200标准.DotNET/3.tools/nssm.Insatll/web.ocelot/serviceName.txt b/200标准.DotNET/3.tools/nssm.Insatll/web.ocelot/serviceName.txt new file mode 100644 index 0000000..63639d0 --- /dev/null +++ b/200标准.DotNET/3.tools/nssm.Insatll/web.ocelot/serviceName.txt @@ -0,0 +1 @@ +serviceName:satlic.com.cloud.ocelotCenter \ No newline at end of file diff --git a/200标准.DotNET/3.tools/open.tool/openAPIExe.bat b/200标准.DotNET/3.tools/open.tool/openAPIExe.bat new file mode 100644 index 0000000..47bdd5f --- /dev/null +++ b/200标准.DotNET/3.tools/open.tool/openAPIExe.bat @@ -0,0 +1,12 @@ +@echo off +cd /d %~dp0 +set curpath=%cd% +cd /d %curpath%/net6.0 + +start /max panda.webui.webapi.exe + +ping 127.0.0.1 -n 3 >nul + +exit + + diff --git a/200标准.DotNET/3.tools/open.tool/openGatewayOcelot.bat b/200标准.DotNET/3.tools/open.tool/openGatewayOcelot.bat new file mode 100644 index 0000000..a09d6b7 --- /dev/null +++ b/200标准.DotNET/3.tools/open.tool/openGatewayOcelot.bat @@ -0,0 +1,12 @@ +@echo off +cd /d %~dp0 +set curpath=%cd% +cd /d %curpath%/net6.0 + +start /max Panda.WebUI.GatewayOcelot.exe + +ping 127.0.0.1 -n 3 >nul + +exit + + diff --git a/200标准.DotNET/3.tools/open.tool/openIOTCenter.bat b/200标准.DotNET/3.tools/open.tool/openIOTCenter.bat new file mode 100644 index 0000000..9976162 --- /dev/null +++ b/200标准.DotNET/3.tools/open.tool/openIOTCenter.bat @@ -0,0 +1,12 @@ +@echo off +cd /d %~dp0 +set curpath=%cd% +cd /d %curpath%/net6.0 + +start /max Panda.WebUI.IoTCenter.exe + +ping 127.0.0.1 -n 3 >nul + +exit + + diff --git a/200标准.DotNET/3.tools/open.tool/openLogCenter.bat b/200标准.DotNET/3.tools/open.tool/openLogCenter.bat new file mode 100644 index 0000000..b1f1e2e --- /dev/null +++ b/200标准.DotNET/3.tools/open.tool/openLogCenter.bat @@ -0,0 +1,12 @@ +@echo off +cd /d %~dp0 +set curpath=%cd% +cd /d %curpath%/net6.0 + +start /max Panda.WebUI.LogCenter.exe + +ping 127.0.0.1 -n 3 >nul + +exit + + diff --git a/200标准.DotNET/3.tools/常用工具.txt b/200标准.DotNET/3.tools/常用工具.txt new file mode 100644 index 0000000..e69de29 diff --git a/200标准.DotNET/4.resources/资源文件.txt b/200标准.DotNET/4.resources/资源文件.txt new file mode 100644 index 0000000..e69de29 diff --git a/200标准.DotNET/5.code/源代码.txt b/200标准.DotNET/5.code/源代码.txt new file mode 100644 index 0000000..e69de29 diff --git a/200标准.DotNET/6.hardware/硬件资料.txt b/200标准.DotNET/6.hardware/硬件资料.txt new file mode 100644 index 0000000..e69de29 diff --git a/200标准.DotNET/7.devops/运维说明.txt b/200标准.DotNET/7.devops/运维说明.txt new file mode 100644 index 0000000..e69de29 diff --git a/200标准.DotNET/8.version/.gitignore b/200标准.DotNET/8.version/.gitignore new file mode 100644 index 0000000..f6df554 --- /dev/null +++ b/200标准.DotNET/8.version/.gitignore @@ -0,0 +1,2 @@ +VersionInfo.cs +versiontemp.txt diff --git a/200标准.DotNET/8.version/1.0.0.panda b/200标准.DotNET/8.version/1.0.0.panda new file mode 100644 index 0000000..9c558e3 --- /dev/null +++ b/200标准.DotNET/8.version/1.0.0.panda @@ -0,0 +1 @@ +. diff --git a/200标准.DotNET/8.version/history/建立版本.old.bat b/200标准.DotNET/8.version/history/建立版本.old.bat new file mode 100644 index 0000000..9de5f78 --- /dev/null +++ b/200标准.DotNET/8.version/history/建立版本.old.bat @@ -0,0 +1,49 @@ +@echo off +cd /d %~dp0 +::ȡ汾ļ +set configVersion=version.txt +for /f "tokens=1,2,3 delims=." %%a IN (%configVersion%) Do ( + set tag1=%%a + set tag2=%%b + set tag3=%%c +) +set oldVersion=%tag1%.%tag2%.%tag3% +echo v%oldVersion% + +::ύݣΪڵ +cd /d %rootPath% +set tagName=%oldVersion%_%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2% +git tag -a %tagName% -m ڵ +git push origin %tagName% + +pause + +::лĿ¼ +cd .. +set rootPath=%cd% + +::ݿű +set oldversionDB=%rootPath%\2.database\v%oldVersion% +if not exist %oldversionDB% ( + md %oldversionDB% +) + +copy /y %rootPath%\2.database\ݿű.txt %oldversionDB%\ +copy /y %rootPath%\2.database\v*.txt %oldversionDB%\ +del /q %rootPath%\2.database\v*.txt + +::д汾 +::set /a tag3=%tag3%+1 +echo oldVersion = v%tag1%.%tag2%.%tag3% +set newVersion=%tag1%.%tag2%.%tag3% + +echo %tag1%.%tag2%.%tag3%>%configVersion% +echo newVersion = v%newVersion% + +del /q %rootPath%\v*.txt +type nul>v%newVersion%.txt +type nul>%rootPath%\2.database\v%newVersion%.txt +type nul>%rootPath%\2.database\ݿű.txt + + +pause \ No newline at end of file diff --git a/200标准.DotNET/8.version/version.txt b/200标准.DotNET/8.version/version.txt new file mode 100644 index 0000000..047acbf --- /dev/null +++ b/200标准.DotNET/8.version/version.txt @@ -0,0 +1 @@ +1.0.0.221103145242 diff --git a/200标准.DotNET/8.version/建立版本.bat b/200标准.DotNET/8.version/建立版本.bat new file mode 100644 index 0000000..365ad43 --- /dev/null +++ b/200标准.DotNET/8.version/建立版本.bat @@ -0,0 +1,58 @@ +@echo off +setlocal EnableDelayedExpansion +cd /d %~dp0 + +net.exe session 1>NUL 2>NUL && ( + goto as_admin +) || ( + goto not_admin +) + +:as_admin +::ȡ汾ļ +set configVersion=version.txt +for /f "tokens=1,2,3 delims=." %%a IN (%configVersion%) Do ( + set tag1=%%a + set tag2=%%b + set tag3=%%c +) +set /a tag3=1+%tag3% +set oldVersion=%tag1%.%tag2%.%tag3% + +::滻 +set d=%date: =0% +set t=%time: =0% + +set productname=%oldVersion%.%d:~2,2%%d:~5,2%%d:~8,2%%t:~0,2%%t:~3,2%%t:~6,2% +echo %productname% +echo %productname%> version.txt +del /q *.panda +echo .>%oldVersion%.panda + +cd .. +del /q *.panda +echo .>%oldVersion%.panda + +cd 2.database +del /q *.panda +echo >v%oldVersion%.panda + +if not exist v%oldVersion% md v%oldVersion% +cd v%oldVersion% +if not exist űļ.txt echo -- ݿű(%productname%)>űļ.txt +set jb=%cd%\űļ.txt + +cd .. +echo pp=%jb% +del /q űļ.txt +mklink ½ű.txt %jb% +echo ִгɹ v%oldVersion% +goto end + +:not_admin +echo not as admin + +:end +ping 127.0.0.1 -n 3 >nul +exit + diff --git a/200标准.DotNET/8.version/每次编译.bat b/200标准.DotNET/8.version/每次编译.bat new file mode 100644 index 0000000..6c02ad6 --- /dev/null +++ b/200标准.DotNET/8.version/每次编译.bat @@ -0,0 +1,20 @@ +@echo off +cd /d %~dp0 +::ȡ汾ļ +set configVersion=version.txt +for /f "tokens=1,2,3 delims=." %%a IN (%configVersion%) Do ( + set tag1=%%a + set tag2=%%b + set tag3=%%c +) +set oldVersion=%tag1%.%tag2%.%tag3% + +::滻 +set d=%date: =0% +set t=%time: =0% + +set productname=%oldVersion%.%d:~2,2%%d:~5,2%%d:~8,2%%t:~0,2%%t:~3,2%%t:~6,2% +echo %productname% +echo [assembly:System.Reflection.AssemblyFileVersion("%productname%")]> VersionInfo.cs +echo %productname%> versiontemp.txt + diff --git a/200标准.DotNET/IDE.panda.bat b/200标准.DotNET/IDE.panda.bat new file mode 100644 index 0000000..46429dd --- /dev/null +++ b/200标准.DotNET/IDE.panda.bat @@ -0,0 +1,34 @@ +@echo off +cd /d %~dp0 +::ʼĿ +set vs="C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE" +set sln=%cd%\5.code\xxxx.sln + +::汾 +set versionfile=%cd%\8.version\VersionInfo.cs +if not exist %versionfile% echo [assembly:System.Reflection.AssemblyFileVersion("1.0.0.0")]>%versionfile% + +if exist %sln% ( + goto OpenSln +) else ( + goto Tip +) + +:OpenSln +if exist %vs% ( + cd /d %vs% + devenv %sln% && exit + goto exit +) else ( + start %sln% + goto exit +) + + +:Tip +ECHO δҵĿ,ϵԱ(panjia@ulee.work) +pause + +:exit +exit + diff --git a/200标准.DotNET/LICENSE b/200标准.DotNET/LICENSE new file mode 100644 index 0000000..a4bac65 --- /dev/null +++ b/200标准.DotNET/LICENSE @@ -0,0 +1,6 @@ +ISC License: +Copyright (c) Year(s), Company or Person's Name + +Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/200标准.DotNET/README.md b/200标准.DotNET/README.md new file mode 100644 index 0000000..66fd9a0 --- /dev/null +++ b/200标准.DotNET/README.md @@ -0,0 +1,3 @@ +# panjia.cloud + +家庭云平台 \ No newline at end of file diff --git a/200标准.DotNET/Tool.Clear.bat b/200标准.DotNET/Tool.Clear.bat new file mode 100644 index 0000000..7f0f36c --- /dev/null +++ b/200标准.DotNET/Tool.Clear.bat @@ -0,0 +1,15 @@ +@echo off +echo %cd%\5.code +pause +set nowPath=%cd%\5.code +cd /d %nowPath% + +pause +::delete specify file(*.pdb,*.vshost.*) +for /r %nowPath% %%i in (*.pdb,*.vshost.*) do (del %%i) + +::delete specify folder(obj,bin) +for /r %nowPath% %%i in (obj,bin,packages) do (IF EXIST %%i RD /s /q %%i) + +echo OK +pause \ No newline at end of file diff --git a/200标准.DotNET/xxxxxxx.master.txt b/200标准.DotNET/xxxxxxx.master.txt new file mode 100644 index 0000000..e69de29 diff --git a/300标准.Rust/rust.txt b/300标准.Rust/rust.txt new file mode 100644 index 0000000..e69de29 diff --git a/400标准.Flutter/flutter.txt b/400标准.Flutter/flutter.txt new file mode 100644 index 0000000..e69de29