解决如果收到的电表值全部都是0的话则不入库
This commit is contained in:
parent
50c80f96e5
commit
6af007ff48
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -8,7 +8,7 @@
|
||||||
<IISExpressWindowsAuthentication />
|
<IISExpressWindowsAuthentication />
|
||||||
<IISExpressUseClassicPipelineMode />
|
<IISExpressUseClassicPipelineMode />
|
||||||
<UseGlobalApplicationHostFile />
|
<UseGlobalApplicationHostFile />
|
||||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||||
<NameOfLastUsedPublishProfile>F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibitionCenter\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
<NameOfLastUsedPublishProfile>F:\项目\长岛展览馆\项目\LonglslandExhibitionCenter\LonglslandExhibitionCenter\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
||||||
<Controller_SelectedScaffolderID>ApiControllerEmptyScaffolder</Controller_SelectedScaffolderID>
|
<Controller_SelectedScaffolderID>ApiControllerEmptyScaffolder</Controller_SelectedScaffolderID>
|
||||||
<Controller_SelectedScaffolderCategoryPath>root/Common/Web API</Controller_SelectedScaffolderCategoryPath>
|
<Controller_SelectedScaffolderCategoryPath>root/Common/Web API</Controller_SelectedScaffolderCategoryPath>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -400,7 +400,10 @@ namespace Security
|
||||||
model.Reserve2 = GetDeviceName4(Convert.ToInt32(name));
|
model.Reserve2 = GetDeviceName4(Convert.ToInt32(name));
|
||||||
if (model.EH != null && model.Ua != null && model.Ub != null && model.Uc != null && model.Ia != null && model.Ib != null && model.Ic != null && model.P != null && model.Kvar != null)
|
if (model.EH != null && model.Ua != null && model.Ub != null && model.Uc != null && model.Ia != null && model.Ib != null && model.Ic != null && model.P != null && model.Kvar != null)
|
||||||
{
|
{
|
||||||
bll.AddDate(model, date);
|
if (model.EH > 0 && model.Ua > 0 && model.Ub > 0 && model.Uc > 0 && model.Ia > 0 && model.Ib > 0 && model.Ic > 0 && model.P > 0 && model.Kvar > 0)
|
||||||
|
{
|
||||||
|
bll.AddDate(model, date);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -522,7 +525,10 @@ namespace Security
|
||||||
//model.Reserve2 = GetDeviceName4(Convert.ToInt32(name));
|
//model.Reserve2 = GetDeviceName4(Convert.ToInt32(name));
|
||||||
if (model.EH != null && model.Ua != null && model.Ub != null && model.Uc != null && model.Ia != null && model.Ib != null && model.Ic != null && model.P != null && model.Kvar != null)
|
if (model.EH != null && model.Ua != null && model.Ub != null && model.Uc != null && model.Ia != null && model.Ib != null && model.Ic != null && model.P != null && model.Kvar != null)
|
||||||
{
|
{
|
||||||
bll.AddDate(model, date);
|
if (model.EH > 0 && model.Ua > 0 && model.Ub > 0 && model.Uc > 0 && model.Ia > 0 && model.Ib > 0 && model.Ic > 0 && model.P > 0 && model.Kvar > 0)
|
||||||
|
{
|
||||||
|
bll.AddDate(model, date);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -642,7 +648,10 @@ namespace Security
|
||||||
//model.Reserve2 = GetDeviceName4(Convert.ToInt32(name));
|
//model.Reserve2 = GetDeviceName4(Convert.ToInt32(name));
|
||||||
if (model.EH != null && model.Ua != null && model.Ub != null && model.Uc != null && model.Ia != null && model.Ib != null && model.Ic != null && model.P != null && model.Kvar != null)
|
if (model.EH != null && model.Ua != null && model.Ub != null && model.Uc != null && model.Ia != null && model.Ib != null && model.Ic != null && model.P != null && model.Kvar != null)
|
||||||
{
|
{
|
||||||
bll.AddDate(model, date);
|
if (model.EH > 0 && model.Ua > 0 && model.Ub > 0 && model.Uc > 0 && model.Ia > 0 && model.Ib > 0 && model.Ic > 0 && model.P > 0 && model.Kvar > 0)
|
||||||
|
{
|
||||||
|
bll.AddDate(model, date);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//else
|
//else
|
||||||
//{
|
//{
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||||
</dsig:Transforms>
|
</dsig:Transforms>
|
||||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||||
<dsig:DigestValue>iv32QMruZnKNEzz+kjmmksq99mmjWfL88nEu1GZD+2g=</dsig:DigestValue>
|
<dsig:DigestValue>FhAqT3DQLB5eUhO8vSU8c8B89nPUd9NzovVV9qHE/gA=</dsig:DigestValue>
|
||||||
</hash>
|
</hash>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
Binary file not shown.
|
@ -138,14 +138,14 @@
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ServiceSecurity.exe" size="60384">
|
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ServiceSecurity.exe" size="61920">
|
||||||
<assemblyIdentity name="ServiceSecurity" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
<assemblyIdentity name="ServiceSecurity" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
||||||
<hash>
|
<hash>
|
||||||
<dsig:Transforms>
|
<dsig:Transforms>
|
||||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||||
</dsig:Transforms>
|
</dsig:Transforms>
|
||||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||||
<dsig:DigestValue>uU7KmmhQEnNwdQxHU5xLv6w0ryLzshDrQvsWtpaW6Rc=</dsig:DigestValue>
|
<dsig:DigestValue>RIJqbeEb7CpQbuG1+q2xRLUM8AWaC2+EjR+n9dMV68M=</dsig:DigestValue>
|
||||||
</hash>
|
</hash>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -14,7 +14,7 @@
|
||||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||||
</dsig:Transforms>
|
</dsig:Transforms>
|
||||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||||
<dsig:DigestValue>iv32QMruZnKNEzz+kjmmksq99mmjWfL88nEu1GZD+2g=</dsig:DigestValue>
|
<dsig:DigestValue>FhAqT3DQLB5eUhO8vSU8c8B89nPUd9NzovVV9qHE/gA=</dsig:DigestValue>
|
||||||
</hash>
|
</hash>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
Binary file not shown.
|
@ -138,14 +138,14 @@
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ServiceSecurity.exe" size="60384">
|
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ServiceSecurity.exe" size="61920">
|
||||||
<assemblyIdentity name="ServiceSecurity" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
<assemblyIdentity name="ServiceSecurity" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
||||||
<hash>
|
<hash>
|
||||||
<dsig:Transforms>
|
<dsig:Transforms>
|
||||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||||
</dsig:Transforms>
|
</dsig:Transforms>
|
||||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||||
<dsig:DigestValue>uU7KmmhQEnNwdQxHU5xLv6w0ryLzshDrQvsWtpaW6Rc=</dsig:DigestValue>
|
<dsig:DigestValue>RIJqbeEb7CpQbuG1+q2xRLUM8AWaC2+EjR+n9dMV68M=</dsig:DigestValue>
|
||||||
</hash>
|
</hash>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
Binary file not shown.
|
@ -0,0 +1,10 @@
|
||||||
|
------------------------------------------------
|
||||||
|
------------------------------------------------
|
||||||
|
------------------------------------------------
|
||||||
|
2024-09-19 10:22:58,745 [3] INFO loginfo - 启动服务
|
||||||
|
2024-09-19 10:23:03,580 [5] INFO loginfo - 开始补录
|
||||||
|
------------------------------------------------
|
||||||
|
------------------------------------------------
|
||||||
|
------------------------------------------------
|
||||||
|
2024-09-19 10:24:18,476 [3] INFO loginfo - 启动服务
|
||||||
|
2024-09-19 10:25:03,406 [5] INFO loginfo - 开始补录
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue