增加RCU上离线功能,能耗双通道

This commit is contained in:
2026-01-15 17:32:26 +08:00
parent b746a1da1a
commit 10bf712006
148 changed files with 8075 additions and 290 deletions

View File

@@ -26,7 +26,7 @@ namespace BLWData.Entity {
string.Concat(
"CiBEZXZpY2VBY3Rpb25DaGFuZ2VEYXRhUHVzaC5wcm90bxIOQkxXRGF0YS5F",
"bnRpdHkilgIKGkRldmljZUFjdGlvbkNoYW5nZURhdGFQdXNoEgwKBGNvZGUY",
"ASABKAMSEgoKcm9vbU51bWJlchgCIAEoCRISCgpob3N0TnVtYmVyGAMgASgJ",
"ASABKAkSEgoKcm9vbU51bWJlchgCIAEoCRISCgpob3N0TnVtYmVyGAMgASgJ",
"EhIKCmRldmljZXR5cGUYBCABKAkSDwoHYWRkcmVzcxgFIAEoCRIMCgRuYW1l",
"GAYgASgJEg4KBnN0YXR1cxgHIAEoBRISCgpicmlnaHRuZXNzGAggASgFEhMK",
"C2N1cnJlbnRUZW1wGAkgASgFEhMKC3NldHRpbmdUZW1wGAogASgFEhAKCGZh",
@@ -105,13 +105,13 @@ namespace BLWData.Entity {
/// <summary>Field number for the "code" field.</summary>
public const int CodeFieldNumber = 1;
private long code_;
private string code_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Code {
public string Code {
get { return code_; }
set {
code_ = value;
code_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
@@ -307,7 +307,7 @@ namespace BLWData.Entity {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Code != 0L) hash ^= Code.GetHashCode();
if (Code.Length != 0) hash ^= Code.GetHashCode();
if (RoomNumber.Length != 0) hash ^= RoomNumber.GetHashCode();
if (HostNumber.Length != 0) hash ^= HostNumber.GetHashCode();
if (Devicetype.Length != 0) hash ^= Devicetype.GetHashCode();
@@ -339,9 +339,9 @@ namespace BLWData.Entity {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Code != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Code);
if (Code.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Code);
}
if (RoomNumber.Length != 0) {
output.WriteRawTag(18);
@@ -405,9 +405,9 @@ namespace BLWData.Entity {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Code != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Code);
if (Code.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Code);
}
if (RoomNumber.Length != 0) {
output.WriteRawTag(18);
@@ -471,8 +471,8 @@ namespace BLWData.Entity {
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Code != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Code);
if (Code.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Code);
}
if (RoomNumber.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomNumber);
@@ -525,7 +525,7 @@ namespace BLWData.Entity {
if (other == null) {
return;
}
if (other.Code != 0L) {
if (other.Code.Length != 0) {
Code = other.Code;
}
if (other.RoomNumber.Length != 0) {
@@ -586,8 +586,8 @@ namespace BLWData.Entity {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Code = input.ReadInt64();
case 10: {
Code = input.ReadString();
break;
}
case 18: {
@@ -661,8 +661,8 @@ namespace BLWData.Entity {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Code = input.ReadInt64();
case 10: {
Code = input.ReadString();
break;
}
case 18: {