main
潘建东 10 months ago
parent 5694b2635d
commit 7f8e39bc43

@ -8,7 +8,7 @@
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
}, },
"dotnetRunMessages": true, "dotnetRunMessages": true,
"applicationUrl": "http://localhost:5048" "applicationUrl": "http://localhost:5000"
}, },
"IIS Express": { "IIS Express": {
"commandName": "IISExpress", "commandName": "IISExpress",

@ -249,6 +249,10 @@ namespace LanShengService
if (deviceData.Data8_B7_1104 == null) { if (deviceData.Data8_B7_1104 == null) {
deviceData.Data8_B7_1104 = 0; deviceData.Data8_B7_1104 = 0;
} }
if(deviceData.BinSize == null)
{
deviceData.BinSize = 0;
}
foreach (PropertyInfo propertyInfo in TempPropertys) foreach (PropertyInfo propertyInfo in TempPropertys)
{ {
if (propertyInfo.GetValue(deviceData) == null) { if (propertyInfo.GetValue(deviceData) == null) {

Loading…
Cancel
Save