S7采集 2024-07-24.txt 12 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. 2024-07-24 09:49:00 466-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  2. Object name: 'ApplicationDbContext'.
  3. 2024-07-24 09:49:05 082-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  4. Object name: 'ApplicationDbContext'.
  5. 2024-07-24 09:49:10 049-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  6. Object name: 'ApplicationDbContext'.
  7. 2024-07-24 09:49:15 058-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  8. Object name: 'ApplicationDbContext'.
  9. 2024-07-24 09:50:45 504-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  10. Object name: 'ApplicationDbContext'.
  11. 2024-07-24 09:50:50 063-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  12. Object name: 'ApplicationDbContext'.
  13. 2024-07-24 09:50:55 048-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  14. Object name: 'ApplicationDbContext'.
  15. 2024-07-24 09:57:30 287-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  16. Object name: 'ApplicationDbContext'.
  17. 2024-07-24 09:57:30 312-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  18. Object name: 'ApplicationDbContext'.
  19. 2024-07-24 09:57:35 050-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  20. Object name: 'ApplicationDbContext'.
  21. 2024-07-24 09:57:40 039-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  22. Object name: 'ApplicationDbContext'.
  23. 2024-07-24 09:57:45 048-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  24. Object name: 'ApplicationDbContext'.
  25. 2024-07-24 09:57:50 050-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  26. Object name: 'ApplicationDbContext'.
  27. 2024-07-24 09:57:55 039-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  28. Object name: 'ApplicationDbContext'.
  29. 2024-07-24 09:58:00 043-->>>S7采集异常===>>Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  30. Object name: 'ApplicationDbContext'.
  31. 2024-07-24 12:33:21 803-->>>S7采集异常===>>Object reference not set to an instance of an object.
  32. 2024-07-24 12:39:04 533-->>>S7采集异常===>>Object reference not set to an instance of an object.
  33. 2024-07-24 12:41:34 787-->>>S7采集异常===>>Object reference not set to an instance of an object.
  34. 2024-07-24 12:49:34 308-->>>S7采集异常===>>Object reference not set to an instance of an object.
  35. 2024-07-24 12:51:12 048-->>>S7采集异常===>>Object reference not set to an instance of an object.
  36. 2024-07-24 12:51:12 079-->>>S7采集异常===>>Object reference not set to an instance of an object.
  37. 2024-07-24 12:51:13 241-->>>S7采集异常===>>Object reference not set to an instance of an object.
  38. 2024-07-24 12:51:14 221-->>>S7采集异常===>>Object reference not set to an instance of an object.
  39. 2024-07-24 12:51:14 249-->>>S7采集异常===>>Object reference not set to an instance of an object.
  40. 2024-07-24 12:51:16 165-->>>S7采集异常===>>Object reference not set to an instance of an object.
  41. 2024-07-24 12:51:16 190-->>>S7采集异常===>>Object reference not set to an instance of an object.
  42. 2024-07-24 13:19:11 341-->>>S7采集异常===>>Object reference not set to an instance of an object.
  43. 2024-07-24 13:22:07 816-->>>S7采集异常===>>Unable to cast object of type 'System.DBNull' to type 'System.String'.
  44. 2024-07-24 13:26:56 849-->>>S7采集异常===>> Unable to cast object of type 'System.DBNull' to type 'System.String'.
  45. Stack Trace: at MySqlConnector.Core.Row.GetString(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 355
  46. at MySqlConnector.MySqlDataReader.GetString(Int32 ordinal) in /_/src/MySqlConnector/MySqlDataReader.cs:line 293
  47. at lambda_method71(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
  48. at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
  49. at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
  50. at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
  51. at WCS.Repository.WcsTagValueRepository.GetList(WcsTagValue vo) in C:\Users\admin\Source\Repos\wcs\WCS\Repository\WcsTagValueRepository.cs:line 44
  52. at WCS.Services.WcsTagValueService.GetList(WcsTagValue vo) in C:\Users\admin\Source\Repos\wcs\WCS\Service\Impl\WcsTagValueService.cs:line 19
  53. at WCS.Service.Impl.TaskService.DataCollectS7Job() in C:\Users\admin\Source\Repos\wcs\WCS\Service\Impl\TaskService.cs:line 147
  54. 2024-07-24 13:27:23 222-->>>S7采集异常===>> Unable to cast object of type 'System.DBNull' to type 'System.String'.
  55. Stack Trace: at MySqlConnector.Core.Row.GetString(Int32 ordinal) in /_/src/MySqlConnector/Core/Row.cs:line 355
  56. at MySqlConnector.MySqlDataReader.GetString(Int32 ordinal) in /_/src/MySqlConnector/MySqlDataReader.cs:line 293
  57. at lambda_method71(Closure, QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator)
  58. at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
  59. at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
  60. at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
  61. at WCS.Repository.WcsTagValueRepository.GetList(WcsTagValue vo) in C:\Users\admin\Source\Repos\wcs\WCS\Repository\WcsTagValueRepository.cs:line 44
  62. at WCS.Services.WcsTagValueService.GetList(WcsTagValue vo) in C:\Users\admin\Source\Repos\wcs\WCS\Service\Impl\WcsTagValueService.cs:line 19
  63. at WCS.Service.Impl.TaskService.DataCollectS7Job() in C:\Users\admin\Source\Repos\wcs\WCS\Service\Impl\TaskService.cs:line 147
  64. 2024-07-24 13:28:41 115-->>>S7采集异常===>> Value cannot be null. (Parameter 'value')
  65. Stack Trace: at Newtonsoft.Json.Utilities.ValidationUtils.ArgumentNotNull(Object value, String parameterName)
  66. at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
  67. at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
  68. at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
  69. at WCS.Service.Impl.TaskService.DataCollectS7Job() in C:\Users\admin\Source\Repos\wcs\WCS\Service\Impl\TaskService.cs:line 161
  70. 2024-07-24 13:28:43 804-->>>S7采集,Ip:192.168.10.202 地址:DB2.4,值:0,发生变化
  71. 2024-07-24 13:29:06 735-->>>S7采集,Ip:192.168.10.202 地址:DB2.4,值:3,发生变化