From 315cdeb40c9e59e0e588080fbcbe762eb4c39008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=BA=E8=83=BD=E5=A4=A7=E7=9F=B3=E5=A4=B4?= Date: Fri, 10 May 2024 23:39:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0IoTZero=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=EF=BC=8C=E9=80=9A=E8=BF=87=E5=AD=90=E6=A8=A1=E5=9D=97=E5=BC=95?= =?UTF-8?q?=E5=85=A5ZeroIoT=EF=BC=8C=E4=BD=9C=E4=B8=BARPC=E6=A1=86?= =?UTF-8?q?=E6=9E=B6=E6=9C=8D=E5=8A=A1=E7=AB=AF=E7=9A=84=E6=A0=87=E5=87=86?= =?UTF-8?q?=E4=BE=8B=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 - .gitmodules | 3 + NewLife.Remoting.sln | 7 ++ Samples/IoTZero/IoTZero.csproj | 108 ++++++++++++++++++ .../IoTZero/Properties/launchSettings.json | 12 ++ 5 files changed, 130 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 100644 Samples/IoTZero/IoTZero.csproj create mode 100644 Samples/IoTZero/Properties/launchSettings.json diff --git a/.gitignore b/.gitignore index f466f6a..eaeda31 100644 --- a/.gitignore +++ b/.gitignore @@ -18,7 +18,6 @@ bld/ /Data /Log *.log -*.htm *.nuspec *.nupkg /BinTest diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..cc43d10 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "ZeroIoT"] + path = Samples/ZeroIoT + url = https://github.com/NewLifeX/ZeroIoT diff --git a/NewLife.Remoting.sln b/NewLife.Remoting.sln index fd6ed6e..7ffff0f 100644 --- a/NewLife.Remoting.sln +++ b/NewLife.Remoting.sln @@ -26,6 +26,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Zero.RpcServer", "Samples\Z EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NewLife.Remoting.Extensions", "NewLife.Remoting.Extensions\NewLife.Remoting.Extensions.csproj", "{8A9D4116-66D8-48B5-B997-CAD182304F96}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IoTZero", "Samples\IoTZero\IoTZero.csproj", "{1DEAF969-F093-4D99-80C9-1CEA3BD06ABB}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -56,6 +58,10 @@ Global {8A9D4116-66D8-48B5-B997-CAD182304F96}.Debug|Any CPU.Build.0 = Debug|Any CPU {8A9D4116-66D8-48B5-B997-CAD182304F96}.Release|Any CPU.ActiveCfg = Release|Any CPU {8A9D4116-66D8-48B5-B997-CAD182304F96}.Release|Any CPU.Build.0 = Release|Any CPU + {1DEAF969-F093-4D99-80C9-1CEA3BD06ABB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1DEAF969-F093-4D99-80C9-1CEA3BD06ABB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1DEAF969-F093-4D99-80C9-1CEA3BD06ABB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1DEAF969-F093-4D99-80C9-1CEA3BD06ABB}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -63,6 +69,7 @@ Global GlobalSection(NestedProjects) = preSolution {685205DD-0754-4877-9A96-40CD18F8D84B} = {8DB8495C-1EB6-41AE-83DD-55DBBB0E6FA2} {8351AC88-1955-48AD-B6F4-26959E1A0C4C} = {8DB8495C-1EB6-41AE-83DD-55DBBB0E6FA2} + {1DEAF969-F093-4D99-80C9-1CEA3BD06ABB} = {8DB8495C-1EB6-41AE-83DD-55DBBB0E6FA2} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {323831A1-A95B-40AB-B9AD-36A0BC10C2CB} diff --git a/Samples/IoTZero/IoTZero.csproj b/Samples/IoTZero/IoTZero.csproj new file mode 100644 index 0000000..5ca9251 --- /dev/null +++ b/Samples/IoTZero/IoTZero.csproj @@ -0,0 +1,108 @@ + + + + net8.0 + 物联网服务平台 + IoT服务平台 + 新生命开发团队 + ©2002-2024 NewLife + 1.0 + $([System.DateTime]::Now.ToString(`yyyy.MMdd`)) + $(VersionPrefix).$(VersionSuffix) + $(Version) + $(VersionPrefix).* + false + ..\..\Bin\IoTZero + false + enable + latest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Samples/IoTZero/Properties/launchSettings.json b/Samples/IoTZero/Properties/launchSettings.json new file mode 100644 index 0000000..6e42cc9 --- /dev/null +++ b/Samples/IoTZero/Properties/launchSettings.json @@ -0,0 +1,12 @@ +{ + "profiles": { + "IoTZero": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "applicationUrl": "http://localhost:1880" + } + } +} \ No newline at end of file