Compare commits
3 Commits
b941e1653f
...
5915f5961b
| Author | SHA1 | Date | |
|---|---|---|---|
| 5915f5961b | |||
| d82e646359 | |||
| e0b055c612 |
@ -9,6 +9,12 @@
|
||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="Workers\**" />
|
||||
<EmbeddedResource Remove="Workers\**" />
|
||||
<None Remove="Workers\**" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="FodyWeavers.xml" />
|
||||
<None Remove="JiShe.CollectBus.Application.Contracts.abppkg" />
|
||||
@ -22,8 +28,4 @@
|
||||
<ProjectReference Include="..\JiShe.CollectBus.Domain\JiShe.CollectBus.Domain.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Workers\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@ -1,15 +1,11 @@
|
||||
using JiShe.CollectBus.Ammeters;
|
||||
using JiShe.CollectBus.GatherItem;
|
||||
using JiShe.CollectBus.Watermeter;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.Ammeters;
|
||||
using JiShe.CollectBus.GatherItem;
|
||||
using JiShe.CollectBus.IotSystems.Watermeter;
|
||||
using Volo.Abp.Application.Services;
|
||||
using Volo.Abp.DependencyInjection;
|
||||
|
||||
namespace JiShe.CollectBus.Workers
|
||||
namespace JiShe.CollectBus.ScheduledMeterReading
|
||||
{
|
||||
/// <summary>
|
||||
/// 定时任务基础约束
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using Volo.Abp.Application.Services;
|
||||
|
||||
namespace JiShe.CollectBus.Subscribers
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using Volo.Abp.Application.Services;
|
||||
|
||||
namespace JiShe.CollectBus.Subscribers
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.Common.Enums;
|
||||
using JiShe.CollectBus.MessageIssueds;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.MessageIssueds;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using MassTransit;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using TouchSocket.Sockets;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.MessageIssueds;
|
||||
using JiShe.CollectBus.IotSystems.MessageIssueds;
|
||||
using MassTransit;
|
||||
|
||||
namespace JiShe.CollectBus.Consumers
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using JiShe.CollectBus.Protocol.Contracts.Interfaces;
|
||||
using MassTransit;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using MassTransit;
|
||||
|
||||
namespace JiShe.CollectBus.Consumers
|
||||
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using JiShe.CollectBus.Protocol.Contracts.Interfaces;
|
||||
using MassTransit;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using JiShe.CollectBus.Protocol.Contracts.Interfaces;
|
||||
using MassTransit;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
@ -2,8 +2,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.Common.Enums;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.MessageIssueds;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using MassTransit;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using TouchSocket.Sockets;
|
||||
|
||||
@ -12,9 +12,9 @@ using JiShe.CollectBus.Common.Extensions;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.EnergySystem.Dto;
|
||||
using JiShe.CollectBus.FreeSql;
|
||||
using JiShe.CollectBus.PrepayModel;
|
||||
using JiShe.CollectBus.IotSystems.PrepayModel;
|
||||
using JiShe.CollectBus.IotSystems.Records;
|
||||
using JiShe.CollectBus.Protocol.Contracts;
|
||||
using JiShe.CollectBus.Records;
|
||||
using MassTransit;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
@ -4,10 +4,10 @@ using DotNetCore.CAP;
|
||||
using JiShe.CollectBus.Ammeters;
|
||||
using JiShe.CollectBus.Common.Enums;
|
||||
using JiShe.CollectBus.Common.Extensions;
|
||||
using JiShe.CollectBus.Devices;
|
||||
using JiShe.CollectBus.Enums;
|
||||
using JiShe.CollectBus.Interceptors;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.Devices;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using JiShe.CollectBus.Protocol.Contracts;
|
||||
using MassTransit;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.FreeSql;
|
||||
using JiShe.CollectBus.PrepayModel;
|
||||
using JiShe.CollectBus.IotSystems.PrepayModel;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
namespace JiShe.CollectBus.Samples;
|
||||
|
||||
@ -1,28 +1,21 @@
|
||||
using DotNetCore.CAP;
|
||||
using FreeRedis;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using DotNetCore.CAP;
|
||||
using JiShe.CollectBus.Ammeters;
|
||||
using JiShe.CollectBus.Common.BuildSendDatas;
|
||||
using JiShe.CollectBus.Common.Consts;
|
||||
using JiShe.CollectBus.Common.Enums;
|
||||
using JiShe.CollectBus.Common.Helpers;
|
||||
using JiShe.CollectBus.GatherItem;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.Watermeter;
|
||||
using JiShe.CollectBus.Protocol.Contracts;
|
||||
using JiShe.CollectBus.Watermeter;
|
||||
using JiShe.CollectBus.Workers;
|
||||
using MassTransit;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.Metrics;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using TouchSocket.Sockets;
|
||||
using Volo.Abp.Application.Services;
|
||||
using static FreeSql.Internal.GlobalFilter;
|
||||
|
||||
namespace JiShe.CollectBus.Workers
|
||||
namespace JiShe.CollectBus.ScheduledMeterReading
|
||||
{
|
||||
/// <summary>
|
||||
/// 定时采集服务
|
||||
|
||||
@ -1,25 +1,15 @@
|
||||
using DotNetCore.CAP;
|
||||
using FreeRedis;
|
||||
using FreeSql;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using DotNetCore.CAP;
|
||||
using JiShe.CollectBus.Ammeters;
|
||||
using JiShe.CollectBus.Common.Consts;
|
||||
using JiShe.CollectBus.Devices;
|
||||
using JiShe.CollectBus.FreeRedisProvider;
|
||||
using JiShe.CollectBus.FreeSql;
|
||||
using JiShe.CollectBus.GatherItem;
|
||||
using JiShe.CollectBus.Watermeter;
|
||||
using JiShe.CollectBus.IotSystems.Watermeter;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Volo.Abp.DependencyInjection;
|
||||
using Volo.Abp.Domain.Repositories;
|
||||
|
||||
namespace JiShe.CollectBus.Workers
|
||||
namespace JiShe.CollectBus.ScheduledMeterReading
|
||||
{
|
||||
/// <summary>
|
||||
/// 能耗系统定时采集服务
|
||||
|
||||
@ -3,8 +3,8 @@ using System.Threading.Tasks;
|
||||
using DotNetCore.CAP;
|
||||
using JiShe.CollectBus.Common.Enums;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.Devices;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.Devices;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using JiShe.CollectBus.Protocol.Contracts;
|
||||
using JiShe.CollectBus.Protocol.Contracts.Interfaces;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
@ -4,8 +4,7 @@ using DeviceDetectorNET.Parser.Device;
|
||||
using DotNetCore.CAP;
|
||||
using JiShe.CollectBus.Common.Enums;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.Devices;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.Devices;
|
||||
using JiShe.CollectBus.Protocol.Contracts;
|
||||
using JiShe.CollectBus.Protocol.Contracts.Interfaces;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JiShe.CollectBus.EnergySystems.TableViews
|
||||
{
|
||||
public class V_FocusAmmeter
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.Enums;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
|
||||
namespace JiShe.CollectBus.Devices
|
||||
namespace JiShe.CollectBus.IotSystems.Devices
|
||||
{
|
||||
public class Device : AggregateRoot<Guid>
|
||||
{
|
||||
@ -5,7 +5,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.Common.Enums;
|
||||
|
||||
namespace JiShe.CollectBus.MessageIssueds
|
||||
namespace JiShe.CollectBus.IotSystems.MessageIssueds
|
||||
{
|
||||
public class MessageIssued
|
||||
{
|
||||
@ -1,4 +1,4 @@
|
||||
namespace JiShe.CollectBus.MessageReceiveds
|
||||
namespace JiShe.CollectBus.IotSystems.MessageReceiveds
|
||||
{
|
||||
public interface IReceived
|
||||
{
|
||||
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
|
||||
namespace JiShe.CollectBus.MessageReceiveds
|
||||
namespace JiShe.CollectBus.IotSystems.MessageReceiveds
|
||||
{
|
||||
public class MessageReceived: AggregateRoot<Guid>,IReceived
|
||||
{
|
||||
@ -0,0 +1,129 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JiShe.CollectBus.IotSystems.PrepayModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 预付费电表视图模型
|
||||
/// </summary>
|
||||
public partial class Vi_BaseAmmeterInfo
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string BarCode { get; set; }
|
||||
public string Address { get; set; }
|
||||
public string BaudRate { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Explan { get; set; }
|
||||
public DateTime AddTime { get; set; }
|
||||
public bool State { get; set; }
|
||||
public int TB_EquipmentTypeID { get; set; }
|
||||
public int BaseID { get; set; }
|
||||
public string Code { get; set; }
|
||||
public int? MeterCode { get; set; }
|
||||
public int? PortNumber { get; set; }
|
||||
public int CT { get; set; }
|
||||
public bool SoftTripsLock { get; set; }
|
||||
public bool HardwareTripsLock { get; set; }
|
||||
public bool ValveState { get; set; }
|
||||
public bool ArchivesState { get; set; }
|
||||
public int? SortNumber { get; set; }
|
||||
public decimal Balance { get; set; }
|
||||
public bool IsAlarm { get; set; }
|
||||
public string sysExplan { get; set; }
|
||||
public DateTime sysAddTime { get; set; }
|
||||
public bool sysState { get; set; }
|
||||
public int? TB_sysConcentratorID { get; set; }
|
||||
public int? TB_sysChargingSchemeID { get; set; }
|
||||
public int? TB_sysChargingSchemeID1 { get; set; }
|
||||
public int TB_CustomerID { get; set; }
|
||||
public int? TB_sysAlarmPlanID { get; set; }
|
||||
public int? TB_sysCollectorID { get; set; }
|
||||
public int? TB_sysRoomID { get; set; }
|
||||
public string SpecialNoCode { get; set; }
|
||||
public decimal? RatedCurrent { get; set; }
|
||||
public int? TripDelayTime { get; set; }
|
||||
public int? ClosingTime { get; set; }
|
||||
public int? Remainder { get; set; }
|
||||
public decimal? RatedPower { get; set; }
|
||||
public bool? ParentAmmState { get; set; }
|
||||
public int? ParentAmmID { get; set; }
|
||||
public DateTime? LastUpdateTime { get; set; }
|
||||
public bool? IsAuthentication { get; set; }
|
||||
public bool? IsShowBalance { get; set; }
|
||||
public string Number { get; set; }
|
||||
public DateTime? LastAuthTime { get; set; }
|
||||
public bool? IsAuthenticationFunction { get; set; }
|
||||
public bool? IsShowBalanceFunction { get; set; }
|
||||
public int TB_ProtocolID { get; set; }
|
||||
public string Operator { get; set; }
|
||||
public bool? IsTimingPowerSetting { get; set; }
|
||||
public string CommSchemeCode { get; set; }
|
||||
public string RoomAllName { get; set; }
|
||||
public bool? IsLadderPrice { get; set; }
|
||||
public int? LadderNum { get; set; }
|
||||
public decimal? RoomBalance { get; set; }
|
||||
public decimal? OtherBalance { get; set; }
|
||||
public int? LastValveEventType { get; set; }
|
||||
public decimal? ReadKwh4 { get; set; }
|
||||
public decimal? ReadKwh3 { get; set; }
|
||||
public decimal? ReadKwh2 { get; set; }
|
||||
public decimal? ReadKwh1 { get; set; }
|
||||
public decimal? ReadKwh { get; set; }
|
||||
public DateTime? LastEventTime { get; set; }
|
||||
public DateTime? LastReadTime { get; set; }
|
||||
public string RoomNumber { get; set; }
|
||||
public string EquipmentName { get; set; }
|
||||
public int? EquipmentId { get; set; }
|
||||
public bool? IsMalignantLoad { get; set; }
|
||||
public string BrandName { get; set; }
|
||||
public decimal? MalignantPower { get; set; }
|
||||
public bool? MalignantPowerState { get; set; }
|
||||
public bool? RatedPowerState { get; set; }
|
||||
public string SolveStatus { get; set; }
|
||||
public int? PowerDownStatus { get; set; }
|
||||
public DateTime? SolveStatusTime { get; set; }
|
||||
public decimal DisableKwh { get; set; }
|
||||
public int? IsDeliver { get; set; }
|
||||
public int? HandleUser { get; set; }
|
||||
public string HandleUserName { get; set; }
|
||||
public string Solutions { get; set; }
|
||||
public decimal DisableKwh1 { get; set; }
|
||||
public decimal DisableKwh2 { get; set; }
|
||||
public decimal DisableKwh3 { get; set; }
|
||||
public decimal DisableKwh4 { get; set; }
|
||||
public bool DelaySwitchOff { get; set; }
|
||||
public string MeterSolveStatus { get; set; }
|
||||
public DateTime? DeliverTime { get; set; }
|
||||
public bool EnableState { get; set; }
|
||||
public string DxNbiotDeviceId { get; set; }
|
||||
public int MeterStatus { get; set; }
|
||||
public string AllowTripTime { get; set; }
|
||||
public int? LastCostMilliSecond { get; set; }
|
||||
public string DxNbiotIMEI { get; set; }
|
||||
public decimal? ReadKwh5 { get; set; }
|
||||
public decimal? ReadKwh6 { get; set; }
|
||||
public decimal? ReadKwh7 { get; set; }
|
||||
public decimal? ReadKwh8 { get; set; }
|
||||
public decimal? DisableKwh5 { get; set; }
|
||||
public decimal? DisableKwh6 { get; set; }
|
||||
public decimal? DisableKwh7 { get; set; }
|
||||
public decimal? DisableKwh8 { get; set; }
|
||||
public bool? IsLadder { get; set; }
|
||||
public int? TimeSpanSetNum { get; set; }
|
||||
public string ExecutePeriod { get; set; }
|
||||
public string FreqInterval { get; set; }
|
||||
public int? Tb_sysUseValueAlarmID { get; set; }
|
||||
public bool? IsMaxDemandKwh { get; set; }
|
||||
public DateTime? OnLineTime { get; set; }
|
||||
public int? OperatorId { get; set; }
|
||||
public int PowerCT { get; set; }
|
||||
public string CommunicationsModule { get; set; }
|
||||
public bool? CanBlueTooth { get; set; }
|
||||
public bool? CanRemote { get; set; }
|
||||
public bool? IsDownPrice { get; set; }
|
||||
public int? BuyCount { get; set; }
|
||||
}
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
using JiShe.CollectBus.Interfaces;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
|
||||
namespace JiShe.CollectBus.Protocols
|
||||
namespace JiShe.CollectBus.IotSystems.Protocols
|
||||
{
|
||||
public class ProtocolInfo : AggregateRoot<Guid>, IProtocolInfo
|
||||
{
|
||||
@ -5,7 +5,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
|
||||
namespace JiShe.CollectBus.Records
|
||||
namespace JiShe.CollectBus.IotSystems.Records
|
||||
{
|
||||
/// <summary>
|
||||
/// 集中器在线记录
|
||||
@ -5,7 +5,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
|
||||
namespace JiShe.CollectBus.Records
|
||||
namespace JiShe.CollectBus.IotSystems.Records
|
||||
{
|
||||
/// <summary>
|
||||
/// 信号强度
|
||||
@ -6,7 +6,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
|
||||
namespace JiShe.CollectBus.Records
|
||||
namespace JiShe.CollectBus.IotSystems.Records
|
||||
{
|
||||
/// <summary>
|
||||
/// 集中器上下线、心跳记录
|
||||
@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JiShe.CollectBus.Watermeter
|
||||
namespace JiShe.CollectBus.IotSystems.Watermeter
|
||||
{
|
||||
/// <summary>
|
||||
/// 水表信息
|
||||
@ -8,6 +8,12 @@
|
||||
<RootNamespace>JiShe.CollectBus</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="PrepaymentSystems\新文件夹\**" />
|
||||
<EmbeddedResource Remove="PrepaymentSystems\新文件夹\**" />
|
||||
<None Remove="PrepaymentSystems\新文件夹\**" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="FodyWeavers.xml" />
|
||||
<None Remove="FodyWeavers.xsd" />
|
||||
@ -27,7 +33,9 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Loggers\" />
|
||||
<Folder Include="EnergySystems\Entitys\" />
|
||||
<Folder Include="PrepaymentSystems\Entitys\" />
|
||||
<Folder Include="PrepaymentSystems\TableViews\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@ -1,129 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JiShe.CollectBus.PrepayModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 预付费电表视图模型
|
||||
/// </summary>
|
||||
public partial class Vi_BaseAmmeterInfo
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string BarCode { get; set; }
|
||||
public string Address { get; set; }
|
||||
public string BaudRate { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Explan { get; set; }
|
||||
public System.DateTime AddTime { get; set; }
|
||||
public bool State { get; set; }
|
||||
public int TB_EquipmentTypeID { get; set; }
|
||||
public int BaseID { get; set; }
|
||||
public string Code { get; set; }
|
||||
public Nullable<int> MeterCode { get; set; }
|
||||
public Nullable<int> PortNumber { get; set; }
|
||||
public int CT { get; set; }
|
||||
public bool SoftTripsLock { get; set; }
|
||||
public bool HardwareTripsLock { get; set; }
|
||||
public bool ValveState { get; set; }
|
||||
public bool ArchivesState { get; set; }
|
||||
public Nullable<int> SortNumber { get; set; }
|
||||
public decimal Balance { get; set; }
|
||||
public bool IsAlarm { get; set; }
|
||||
public string sysExplan { get; set; }
|
||||
public System.DateTime sysAddTime { get; set; }
|
||||
public bool sysState { get; set; }
|
||||
public Nullable<int> TB_sysConcentratorID { get; set; }
|
||||
public Nullable<int> TB_sysChargingSchemeID { get; set; }
|
||||
public Nullable<int> TB_sysChargingSchemeID1 { get; set; }
|
||||
public int TB_CustomerID { get; set; }
|
||||
public Nullable<int> TB_sysAlarmPlanID { get; set; }
|
||||
public Nullable<int> TB_sysCollectorID { get; set; }
|
||||
public Nullable<int> TB_sysRoomID { get; set; }
|
||||
public string SpecialNoCode { get; set; }
|
||||
public Nullable<decimal> RatedCurrent { get; set; }
|
||||
public Nullable<int> TripDelayTime { get; set; }
|
||||
public Nullable<int> ClosingTime { get; set; }
|
||||
public Nullable<int> Remainder { get; set; }
|
||||
public Nullable<decimal> RatedPower { get; set; }
|
||||
public Nullable<bool> ParentAmmState { get; set; }
|
||||
public Nullable<int> ParentAmmID { get; set; }
|
||||
public Nullable<System.DateTime> LastUpdateTime { get; set; }
|
||||
public Nullable<bool> IsAuthentication { get; set; }
|
||||
public Nullable<bool> IsShowBalance { get; set; }
|
||||
public string Number { get; set; }
|
||||
public Nullable<System.DateTime> LastAuthTime { get; set; }
|
||||
public Nullable<bool> IsAuthenticationFunction { get; set; }
|
||||
public Nullable<bool> IsShowBalanceFunction { get; set; }
|
||||
public int TB_ProtocolID { get; set; }
|
||||
public string Operator { get; set; }
|
||||
public Nullable<bool> IsTimingPowerSetting { get; set; }
|
||||
public string CommSchemeCode { get; set; }
|
||||
public string RoomAllName { get; set; }
|
||||
public Nullable<bool> IsLadderPrice { get; set; }
|
||||
public Nullable<int> LadderNum { get; set; }
|
||||
public Nullable<decimal> RoomBalance { get; set; }
|
||||
public Nullable<decimal> OtherBalance { get; set; }
|
||||
public Nullable<int> LastValveEventType { get; set; }
|
||||
public Nullable<decimal> ReadKwh4 { get; set; }
|
||||
public Nullable<decimal> ReadKwh3 { get; set; }
|
||||
public Nullable<decimal> ReadKwh2 { get; set; }
|
||||
public Nullable<decimal> ReadKwh1 { get; set; }
|
||||
public Nullable<decimal> ReadKwh { get; set; }
|
||||
public Nullable<System.DateTime> LastEventTime { get; set; }
|
||||
public Nullable<System.DateTime> LastReadTime { get; set; }
|
||||
public string RoomNumber { get; set; }
|
||||
public string EquipmentName { get; set; }
|
||||
public Nullable<int> EquipmentId { get; set; }
|
||||
public Nullable<bool> IsMalignantLoad { get; set; }
|
||||
public string BrandName { get; set; }
|
||||
public Nullable<decimal> MalignantPower { get; set; }
|
||||
public Nullable<bool> MalignantPowerState { get; set; }
|
||||
public Nullable<bool> RatedPowerState { get; set; }
|
||||
public string SolveStatus { get; set; }
|
||||
public Nullable<int> PowerDownStatus { get; set; }
|
||||
public Nullable<System.DateTime> SolveStatusTime { get; set; }
|
||||
public decimal DisableKwh { get; set; }
|
||||
public Nullable<int> IsDeliver { get; set; }
|
||||
public Nullable<int> HandleUser { get; set; }
|
||||
public string HandleUserName { get; set; }
|
||||
public string Solutions { get; set; }
|
||||
public decimal DisableKwh1 { get; set; }
|
||||
public decimal DisableKwh2 { get; set; }
|
||||
public decimal DisableKwh3 { get; set; }
|
||||
public decimal DisableKwh4 { get; set; }
|
||||
public bool DelaySwitchOff { get; set; }
|
||||
public string MeterSolveStatus { get; set; }
|
||||
public Nullable<System.DateTime> DeliverTime { get; set; }
|
||||
public bool EnableState { get; set; }
|
||||
public string DxNbiotDeviceId { get; set; }
|
||||
public int MeterStatus { get; set; }
|
||||
public string AllowTripTime { get; set; }
|
||||
public Nullable<int> LastCostMilliSecond { get; set; }
|
||||
public string DxNbiotIMEI { get; set; }
|
||||
public Nullable<decimal> ReadKwh5 { get; set; }
|
||||
public Nullable<decimal> ReadKwh6 { get; set; }
|
||||
public Nullable<decimal> ReadKwh7 { get; set; }
|
||||
public Nullable<decimal> ReadKwh8 { get; set; }
|
||||
public Nullable<decimal> DisableKwh5 { get; set; }
|
||||
public Nullable<decimal> DisableKwh6 { get; set; }
|
||||
public Nullable<decimal> DisableKwh7 { get; set; }
|
||||
public Nullable<decimal> DisableKwh8 { get; set; }
|
||||
public Nullable<bool> IsLadder { get; set; }
|
||||
public Nullable<int> TimeSpanSetNum { get; set; }
|
||||
public string ExecutePeriod { get; set; }
|
||||
public string FreqInterval { get; set; }
|
||||
public Nullable<int> Tb_sysUseValueAlarmID { get; set; }
|
||||
public Nullable<bool> IsMaxDemandKwh { get; set; }
|
||||
public Nullable<System.DateTime> OnLineTime { get; set; }
|
||||
public Nullable<int> OperatorId { get; set; }
|
||||
public int PowerCT { get; set; }
|
||||
public string CommunicationsModule { get; set; }
|
||||
public Nullable<bool> CanBlueTooth { get; set; }
|
||||
public Nullable<bool> CanRemote { get; set; }
|
||||
public Nullable<bool> IsDownPrice { get; set; }
|
||||
public Nullable<int> BuyCount { get; set; }
|
||||
}
|
||||
}
|
||||
@ -18,8 +18,8 @@ using TouchSocket.Core;
|
||||
using TouchSocket.Sockets;
|
||||
using JiShe.CollectBus.Plugins;
|
||||
using JiShe.CollectBus.Consumers;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.Protocol.Contracts;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
|
||||
|
||||
namespace JiShe.CollectBus.Host
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using JiShe.CollectBus.Devices;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.Protocols;
|
||||
using JiShe.CollectBus.IotSystems.Devices;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.Protocols;
|
||||
using MongoDB.Driver;
|
||||
using Volo.Abp.Data;
|
||||
using Volo.Abp.MongoDB;
|
||||
|
||||
@ -3,15 +3,15 @@ using DotNetCore.CAP;
|
||||
using JiShe.CollectBus.Common.Enums;
|
||||
using JiShe.CollectBus.Common.Extensions;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.Protocol.Contracts.Interfaces;
|
||||
using JiShe.CollectBus.Protocols;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using JiShe.CollectBus.Protocol.Contracts.Models;
|
||||
using Volo.Abp.Domain.Repositories;
|
||||
using JiShe.CollectBus.Common.BuildSendDatas;
|
||||
using JiShe.CollectBus.Protocol.Contracts.AnalysisData;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.Protocols;
|
||||
|
||||
namespace JiShe.CollectBus.Protocol.Contracts.Abstracts
|
||||
{
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.Protocols;
|
||||
using JiShe.CollectBus.Protocol.Contracts.Models;
|
||||
using JiShe.CollectBus.Protocols;
|
||||
using TouchSocket.Sockets;
|
||||
|
||||
namespace JiShe.CollectBus.Protocol.Contracts.Interfaces
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
using JiShe.CollectBus.Common.Enums;
|
||||
using JiShe.CollectBus.Common.Extensions;
|
||||
using JiShe.CollectBus.Common.Models;
|
||||
using JiShe.CollectBus.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.MessageReceiveds;
|
||||
using JiShe.CollectBus.IotSystems.Protocols;
|
||||
using JiShe.CollectBus.Protocol.Contracts.Abstracts;
|
||||
using JiShe.CollectBus.Protocol.Contracts.Models;
|
||||
using JiShe.CollectBus.Protocols;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace JiShe.CollectBus.Protocol
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user