增加日志
This commit is contained in:
@@ -32,21 +32,22 @@ namespace BLWData.Entity {
|
||||
"bHZlGAogASgFIoABChZTaW5nbGVQb3dlckNoYW5uZWxEYXRhEg8KB2FkZHJl",
|
||||
"c3MYASABKAkSDgoGZGlhbnlhGAIgASgBEg8KB2RpYW5saXUYAyABKAESDgoG",
|
||||
"Z29uZ2x2GAQgASgBEg8KB25lbmdoYW8YBSABKAESEwoLem9uZ25lbmdoYW8Y",
|
||||
"BiABKAEihAMKEUVuZXJneUNvbnN1bXB0aW9uEhEKCUhvdGVsQ29kZRgBIAEo",
|
||||
"BiABKAEilgMKEUVuZXJneUNvbnN1bXB0aW9uEhEKCUhvdGVsQ29kZRgBIAEo",
|
||||
"AxISCgpIb3N0TnVtYmVyGAIgASgJEgsKA01hYxgDIAEoCRIQCghFbmRQb2lu",
|
||||
"dBgEIAEoCRIPCgdWZXJzaW9uGAUgASgJEhIKCklzVGFrZUNhcmQYBiABKAgS",
|
||||
"dBgEIAEoCRIPCgdWZXJzaW9uGAUgASgJEhIKCklzVGFrZUNhcmQYBiABKAUS",
|
||||
"QAoQUG93ZXJDaGFubmVsTGlzdBgHIAMoCzImLkJMV0RhdGEuRW50aXR5LlNp",
|
||||
"bmdsZVBvd2VyQ2hhbm5lbERhdGESEgoKQ3JlYXRlVGltZRgIIAEoAxISCgpS",
|
||||
"b29tTnVtYmVyGAkgASgJEhEKCUNhcmJvblZJUBgKIAEoBRIUCgxJZGVudGl0",
|
||||
"eUluZm8YCyABKAUSNAoQRGV2aWNlU3RhdHVzTGlzdBgMIAMoCzIaLkJMV0Rh",
|
||||
"dGEuRW50aXR5LkRldmljZURhdGESEQoJQ2FyZEV2ZW50GA0gASgFEhQKDElz",
|
||||
"SW5zZXJ0Q2FyZBgOIAEoBRISCgpQTVNfU3RhdHVzGA8gASgJYgZwcm90bzM="));
|
||||
"SW5zZXJ0Q2FyZBgOIAEoBRISCgpQTVNfU3RhdHVzGA8gASgJEhAKCEJyaWdo",
|
||||
"dF9HGBAgASgFYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::BLWData.Entity.DeviceData), global::BLWData.Entity.DeviceData.Parser, new[]{ "HostID", "DeviceType", "Address", "Status", "Brightness", "CurrentTemp", "SettingTemp", "FanSpeed", "Mode", "Valve" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::BLWData.Entity.SinglePowerChannelData), global::BLWData.Entity.SinglePowerChannelData.Parser, new[]{ "Address", "Dianya", "Dianliu", "Gonglv", "Nenghao", "Zongnenghao" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::BLWData.Entity.EnergyConsumption), global::BLWData.Entity.EnergyConsumption.Parser, new[]{ "HotelCode", "HostNumber", "Mac", "EndPoint", "Version", "IsTakeCard", "PowerChannelList", "CreateTime", "RoomNumber", "CarbonVIP", "IdentityInfo", "DeviceStatusList", "CardEvent", "IsInsertCard", "PMSStatus" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::BLWData.Entity.EnergyConsumption), global::BLWData.Entity.EnergyConsumption.Parser, new[]{ "HotelCode", "HostNumber", "Mac", "EndPoint", "Version", "IsTakeCard", "PowerChannelList", "CreateTime", "RoomNumber", "CarbonVIP", "IdentityInfo", "DeviceStatusList", "CardEvent", "IsInsertCard", "PMSStatus", "BrightG" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
@@ -1023,6 +1024,7 @@ namespace BLWData.Entity {
|
||||
cardEvent_ = other.cardEvent_;
|
||||
isInsertCard_ = other.isInsertCard_;
|
||||
pMSStatus_ = other.pMSStatus_;
|
||||
brightG_ = other.brightG_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -1094,10 +1096,10 @@ namespace BLWData.Entity {
|
||||
|
||||
/// <summary>Field number for the "IsTakeCard" field.</summary>
|
||||
public const int IsTakeCardFieldNumber = 6;
|
||||
private bool isTakeCard_;
|
||||
private int isTakeCard_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool IsTakeCard {
|
||||
public int IsTakeCard {
|
||||
get { return isTakeCard_; }
|
||||
set {
|
||||
isTakeCard_ = value;
|
||||
@@ -1210,6 +1212,18 @@ namespace BLWData.Entity {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "Bright_G" field.</summary>
|
||||
public const int BrightGFieldNumber = 16;
|
||||
private int brightG_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int BrightG {
|
||||
get { return brightG_; }
|
||||
set {
|
||||
brightG_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
@@ -1240,6 +1254,7 @@ namespace BLWData.Entity {
|
||||
if (CardEvent != other.CardEvent) return false;
|
||||
if (IsInsertCard != other.IsInsertCard) return false;
|
||||
if (PMSStatus != other.PMSStatus) return false;
|
||||
if (BrightG != other.BrightG) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -1252,7 +1267,7 @@ namespace BLWData.Entity {
|
||||
if (Mac.Length != 0) hash ^= Mac.GetHashCode();
|
||||
if (EndPoint.Length != 0) hash ^= EndPoint.GetHashCode();
|
||||
if (Version.Length != 0) hash ^= Version.GetHashCode();
|
||||
if (IsTakeCard != false) hash ^= IsTakeCard.GetHashCode();
|
||||
if (IsTakeCard != 0) hash ^= IsTakeCard.GetHashCode();
|
||||
hash ^= powerChannelList_.GetHashCode();
|
||||
if (CreateTime != 0L) hash ^= CreateTime.GetHashCode();
|
||||
if (RoomNumber.Length != 0) hash ^= RoomNumber.GetHashCode();
|
||||
@@ -1262,6 +1277,7 @@ namespace BLWData.Entity {
|
||||
if (CardEvent != 0) hash ^= CardEvent.GetHashCode();
|
||||
if (IsInsertCard != 0) hash ^= IsInsertCard.GetHashCode();
|
||||
if (PMSStatus.Length != 0) hash ^= PMSStatus.GetHashCode();
|
||||
if (BrightG != 0) hash ^= BrightG.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -1300,9 +1316,9 @@ namespace BLWData.Entity {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(Version);
|
||||
}
|
||||
if (IsTakeCard != false) {
|
||||
if (IsTakeCard != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(IsTakeCard);
|
||||
output.WriteInt32(IsTakeCard);
|
||||
}
|
||||
powerChannelList_.WriteTo(output, _repeated_powerChannelList_codec);
|
||||
if (CreateTime != 0L) {
|
||||
@@ -1334,6 +1350,10 @@ namespace BLWData.Entity {
|
||||
output.WriteRawTag(122);
|
||||
output.WriteString(PMSStatus);
|
||||
}
|
||||
if (BrightG != 0) {
|
||||
output.WriteRawTag(128, 1);
|
||||
output.WriteInt32(BrightG);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
@@ -1364,9 +1384,9 @@ namespace BLWData.Entity {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(Version);
|
||||
}
|
||||
if (IsTakeCard != false) {
|
||||
if (IsTakeCard != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(IsTakeCard);
|
||||
output.WriteInt32(IsTakeCard);
|
||||
}
|
||||
powerChannelList_.WriteTo(ref output, _repeated_powerChannelList_codec);
|
||||
if (CreateTime != 0L) {
|
||||
@@ -1398,6 +1418,10 @@ namespace BLWData.Entity {
|
||||
output.WriteRawTag(122);
|
||||
output.WriteString(PMSStatus);
|
||||
}
|
||||
if (BrightG != 0) {
|
||||
output.WriteRawTag(128, 1);
|
||||
output.WriteInt32(BrightG);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
@@ -1423,8 +1447,8 @@ namespace BLWData.Entity {
|
||||
if (Version.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Version);
|
||||
}
|
||||
if (IsTakeCard != false) {
|
||||
size += 1 + 1;
|
||||
if (IsTakeCard != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(IsTakeCard);
|
||||
}
|
||||
size += powerChannelList_.CalculateSize(_repeated_powerChannelList_codec);
|
||||
if (CreateTime != 0L) {
|
||||
@@ -1449,6 +1473,9 @@ namespace BLWData.Entity {
|
||||
if (PMSStatus.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(PMSStatus);
|
||||
}
|
||||
if (BrightG != 0) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeInt32Size(BrightG);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -1476,7 +1503,7 @@ namespace BLWData.Entity {
|
||||
if (other.Version.Length != 0) {
|
||||
Version = other.Version;
|
||||
}
|
||||
if (other.IsTakeCard != false) {
|
||||
if (other.IsTakeCard != 0) {
|
||||
IsTakeCard = other.IsTakeCard;
|
||||
}
|
||||
powerChannelList_.Add(other.powerChannelList_);
|
||||
@@ -1502,6 +1529,9 @@ namespace BLWData.Entity {
|
||||
if (other.PMSStatus.Length != 0) {
|
||||
PMSStatus = other.PMSStatus;
|
||||
}
|
||||
if (other.BrightG != 0) {
|
||||
BrightG = other.BrightG;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -1542,7 +1572,7 @@ namespace BLWData.Entity {
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
IsTakeCard = input.ReadBool();
|
||||
IsTakeCard = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
@@ -1581,6 +1611,10 @@ namespace BLWData.Entity {
|
||||
PMSStatus = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 128: {
|
||||
BrightG = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -1621,7 +1655,7 @@ namespace BLWData.Entity {
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
IsTakeCard = input.ReadBool();
|
||||
IsTakeCard = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
@@ -1660,6 +1694,10 @@ namespace BLWData.Entity {
|
||||
PMSStatus = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 128: {
|
||||
BrightG = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user