diff --git a/projects/Infrastructure/Infrastructure.csproj b/projects/Infrastructure/Infrastructure.csproj index f7309ea9..b86eb0b3 100644 --- a/projects/Infrastructure/Infrastructure.csproj +++ b/projects/Infrastructure/Infrastructure.csproj @@ -23,9 +23,9 @@ - - - + + + @@ -38,8 +38,8 @@ - - + + diff --git a/projects/IoT.Shared/IoT.Shared.csproj b/projects/IoT.Shared/IoT.Shared.csproj index 359a15ba..7468393d 100644 --- a/projects/IoT.Shared/IoT.Shared.csproj +++ b/projects/IoT.Shared/IoT.Shared.csproj @@ -16,7 +16,7 @@ - + diff --git a/projects/IoTNode/DeviceServices/Onvif/OnvifService.cs b/projects/IoTNode/DeviceServices/Onvif/OnvifService.cs index 5e552539..51d42f37 100644 --- a/projects/IoTNode/DeviceServices/Onvif/OnvifService.cs +++ b/projects/IoTNode/DeviceServices/Onvif/OnvifService.cs @@ -581,6 +581,7 @@ namespace IoTNode.DeviceServices.Onvif if (data != null) { data.Value = state ? "是" : "否"; + repo.SaveChanges(); this.SendToServer(Methods.UpdateDvr, data); } } diff --git a/projects/IoTNode/IoTNode.csproj b/projects/IoTNode/IoTNode.csproj index dc8624f8..e650d49d 100644 --- a/projects/IoTNode/IoTNode.csproj +++ b/projects/IoTNode/IoTNode.csproj @@ -5,8 +5,8 @@ 1.0.0-beta.422 - - + + diff --git a/projects/JobServer/JobServer.csproj b/projects/JobServer/JobServer.csproj index d88ead3b..6a1e84a9 100644 --- a/projects/JobServer/JobServer.csproj +++ b/projects/JobServer/JobServer.csproj @@ -7,7 +7,7 @@ - + @@ -15,7 +15,7 @@ - - + + \ No newline at end of file diff --git a/projects/UserCenter/UserCenter.csproj b/projects/UserCenter/UserCenter.csproj index 9d4f3ca1..5faf1dbc 100644 --- a/projects/UserCenter/UserCenter.csproj +++ b/projects/UserCenter/UserCenter.csproj @@ -5,11 +5,11 @@ 1.0.0-beta.422 - - + + - +