初始化
This commit is contained in:
693
BLWLogProduce/NewActionChangeDataPush.cs
Normal file
693
BLWLogProduce/NewActionChangeDataPush.cs
Normal file
@@ -0,0 +1,693 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: NewActionChangeDataPush.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021, 8981
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
namespace BLWData.Entity {
|
||||
|
||||
/// <summary>Holder for reflection information generated from NewActionChangeDataPush.proto</summary>
|
||||
public static partial class NewActionChangeDataPushReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for NewActionChangeDataPush.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static NewActionChangeDataPushReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ch1OZXdBY3Rpb25DaGFuZ2VEYXRhUHVzaC5wcm90bxIOQkxXRGF0YS5FbnRp",
|
||||
"dHki/wEKF05ld0FjdGlvbkNoYW5nZURhdGFQdXNoEgwKBGNvZGUYASABKAMS",
|
||||
"EgoKcm9vbU51bWJlchgCIAEoCRISCgpob3N0TnVtYmVyGAMgASgJEg8KB2Fk",
|
||||
"ZHJlc3MYBCABKAkSDAoEbmFtZRgFIAEoCRIOCgZzdGF0dXMYBiABKAUSEgoK",
|
||||
"YnJpZ2h0bmVzcxgHIAEoBRITCgtjdXJyZW50VGVtcBgIIAEoBRITCgtzZXR0",
|
||||
"aW5nVGVtcBgJIAEoBRIQCghmYW5TcGVlZBgKIAEoBRIMCgRtb2RlGAsgASgF",
|
||||
"Eg0KBXZhbHZlGAwgASgFEhIKCmNyZWF0ZXRpbWUYDSABKANiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::BLWData.Entity.NewActionChangeDataPush), global::BLWData.Entity.NewActionChangeDataPush.Parser, new[]{ "Code", "RoomNumber", "HostNumber", "Address", "Name", "Status", "Brightness", "CurrentTemp", "SettingTemp", "FanSpeed", "Mode", "Valve", "Createtime" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
/// <summary>
|
||||
/// 定义一个Person消息类型
|
||||
/// </summary>
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class NewActionChangeDataPush : pb::IMessage<NewActionChangeDataPush>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<NewActionChangeDataPush> _parser = new pb::MessageParser<NewActionChangeDataPush>(() => new NewActionChangeDataPush());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<NewActionChangeDataPush> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::BLWData.Entity.NewActionChangeDataPushReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public NewActionChangeDataPush() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public NewActionChangeDataPush(NewActionChangeDataPush other) : this() {
|
||||
code_ = other.code_;
|
||||
roomNumber_ = other.roomNumber_;
|
||||
hostNumber_ = other.hostNumber_;
|
||||
address_ = other.address_;
|
||||
name_ = other.name_;
|
||||
status_ = other.status_;
|
||||
brightness_ = other.brightness_;
|
||||
currentTemp_ = other.currentTemp_;
|
||||
settingTemp_ = other.settingTemp_;
|
||||
fanSpeed_ = other.fanSpeed_;
|
||||
mode_ = other.mode_;
|
||||
valve_ = other.valve_;
|
||||
createtime_ = other.createtime_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public NewActionChangeDataPush Clone() {
|
||||
return new NewActionChangeDataPush(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "code" field.</summary>
|
||||
public const int CodeFieldNumber = 1;
|
||||
private long code_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long Code {
|
||||
get { return code_; }
|
||||
set {
|
||||
code_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "roomNumber" field.</summary>
|
||||
public const int RoomNumberFieldNumber = 2;
|
||||
private string roomNumber_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string RoomNumber {
|
||||
get { return roomNumber_; }
|
||||
set {
|
||||
roomNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "hostNumber" field.</summary>
|
||||
public const int HostNumberFieldNumber = 3;
|
||||
private string hostNumber_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string HostNumber {
|
||||
get { return hostNumber_; }
|
||||
set {
|
||||
hostNumber_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "address" field.</summary>
|
||||
public const int AddressFieldNumber = 4;
|
||||
private string address_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Address {
|
||||
get { return address_; }
|
||||
set {
|
||||
address_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "name" field.</summary>
|
||||
public const int NameFieldNumber = 5;
|
||||
private string name_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Name {
|
||||
get { return name_; }
|
||||
set {
|
||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "status" field.</summary>
|
||||
public const int StatusFieldNumber = 6;
|
||||
private int status_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Status {
|
||||
get { return status_; }
|
||||
set {
|
||||
status_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "brightness" field.</summary>
|
||||
public const int BrightnessFieldNumber = 7;
|
||||
private int brightness_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Brightness {
|
||||
get { return brightness_; }
|
||||
set {
|
||||
brightness_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "currentTemp" field.</summary>
|
||||
public const int CurrentTempFieldNumber = 8;
|
||||
private int currentTemp_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CurrentTemp {
|
||||
get { return currentTemp_; }
|
||||
set {
|
||||
currentTemp_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "settingTemp" field.</summary>
|
||||
public const int SettingTempFieldNumber = 9;
|
||||
private int settingTemp_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int SettingTemp {
|
||||
get { return settingTemp_; }
|
||||
set {
|
||||
settingTemp_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "fanSpeed" field.</summary>
|
||||
public const int FanSpeedFieldNumber = 10;
|
||||
private int fanSpeed_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int FanSpeed {
|
||||
get { return fanSpeed_; }
|
||||
set {
|
||||
fanSpeed_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "mode" field.</summary>
|
||||
public const int ModeFieldNumber = 11;
|
||||
private int mode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Mode {
|
||||
get { return mode_; }
|
||||
set {
|
||||
mode_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "valve" field.</summary>
|
||||
public const int ValveFieldNumber = 12;
|
||||
private int valve_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int Valve {
|
||||
get { return valve_; }
|
||||
set {
|
||||
valve_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "createtime" field.</summary>
|
||||
public const int CreatetimeFieldNumber = 13;
|
||||
private long createtime_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long Createtime {
|
||||
get { return createtime_; }
|
||||
set {
|
||||
createtime_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as NewActionChangeDataPush);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(NewActionChangeDataPush other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Code != other.Code) return false;
|
||||
if (RoomNumber != other.RoomNumber) return false;
|
||||
if (HostNumber != other.HostNumber) return false;
|
||||
if (Address != other.Address) return false;
|
||||
if (Name != other.Name) return false;
|
||||
if (Status != other.Status) return false;
|
||||
if (Brightness != other.Brightness) return false;
|
||||
if (CurrentTemp != other.CurrentTemp) return false;
|
||||
if (SettingTemp != other.SettingTemp) return false;
|
||||
if (FanSpeed != other.FanSpeed) return false;
|
||||
if (Mode != other.Mode) return false;
|
||||
if (Valve != other.Valve) return false;
|
||||
if (Createtime != other.Createtime) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Code != 0L) hash ^= Code.GetHashCode();
|
||||
if (RoomNumber.Length != 0) hash ^= RoomNumber.GetHashCode();
|
||||
if (HostNumber.Length != 0) hash ^= HostNumber.GetHashCode();
|
||||
if (Address.Length != 0) hash ^= Address.GetHashCode();
|
||||
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
||||
if (Status != 0) hash ^= Status.GetHashCode();
|
||||
if (Brightness != 0) hash ^= Brightness.GetHashCode();
|
||||
if (CurrentTemp != 0) hash ^= CurrentTemp.GetHashCode();
|
||||
if (SettingTemp != 0) hash ^= SettingTemp.GetHashCode();
|
||||
if (FanSpeed != 0) hash ^= FanSpeed.GetHashCode();
|
||||
if (Mode != 0) hash ^= Mode.GetHashCode();
|
||||
if (Valve != 0) hash ^= Valve.GetHashCode();
|
||||
if (Createtime != 0L) hash ^= Createtime.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Code != 0L) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt64(Code);
|
||||
}
|
||||
if (RoomNumber.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(RoomNumber);
|
||||
}
|
||||
if (HostNumber.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(HostNumber);
|
||||
}
|
||||
if (Address.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteString(Address);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (Status != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(Status);
|
||||
}
|
||||
if (Brightness != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(Brightness);
|
||||
}
|
||||
if (CurrentTemp != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(CurrentTemp);
|
||||
}
|
||||
if (SettingTemp != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(SettingTemp);
|
||||
}
|
||||
if (FanSpeed != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(FanSpeed);
|
||||
}
|
||||
if (Mode != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(Mode);
|
||||
}
|
||||
if (Valve != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(Valve);
|
||||
}
|
||||
if (Createtime != 0L) {
|
||||
output.WriteRawTag(104);
|
||||
output.WriteInt64(Createtime);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[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 (RoomNumber.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(RoomNumber);
|
||||
}
|
||||
if (HostNumber.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(HostNumber);
|
||||
}
|
||||
if (Address.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteString(Address);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
if (Status != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(Status);
|
||||
}
|
||||
if (Brightness != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteInt32(Brightness);
|
||||
}
|
||||
if (CurrentTemp != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(CurrentTemp);
|
||||
}
|
||||
if (SettingTemp != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt32(SettingTemp);
|
||||
}
|
||||
if (FanSpeed != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteInt32(FanSpeed);
|
||||
}
|
||||
if (Mode != 0) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteInt32(Mode);
|
||||
}
|
||||
if (Valve != 0) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteInt32(Valve);
|
||||
}
|
||||
if (Createtime != 0L) {
|
||||
output.WriteRawTag(104);
|
||||
output.WriteInt64(Createtime);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Code != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Code);
|
||||
}
|
||||
if (RoomNumber.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomNumber);
|
||||
}
|
||||
if (HostNumber.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(HostNumber);
|
||||
}
|
||||
if (Address.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Address);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||||
}
|
||||
if (Status != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status);
|
||||
}
|
||||
if (Brightness != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Brightness);
|
||||
}
|
||||
if (CurrentTemp != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentTemp);
|
||||
}
|
||||
if (SettingTemp != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SettingTemp);
|
||||
}
|
||||
if (FanSpeed != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FanSpeed);
|
||||
}
|
||||
if (Mode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Mode);
|
||||
}
|
||||
if (Valve != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Valve);
|
||||
}
|
||||
if (Createtime != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Createtime);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(NewActionChangeDataPush other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Code != 0L) {
|
||||
Code = other.Code;
|
||||
}
|
||||
if (other.RoomNumber.Length != 0) {
|
||||
RoomNumber = other.RoomNumber;
|
||||
}
|
||||
if (other.HostNumber.Length != 0) {
|
||||
HostNumber = other.HostNumber;
|
||||
}
|
||||
if (other.Address.Length != 0) {
|
||||
Address = other.Address;
|
||||
}
|
||||
if (other.Name.Length != 0) {
|
||||
Name = other.Name;
|
||||
}
|
||||
if (other.Status != 0) {
|
||||
Status = other.Status;
|
||||
}
|
||||
if (other.Brightness != 0) {
|
||||
Brightness = other.Brightness;
|
||||
}
|
||||
if (other.CurrentTemp != 0) {
|
||||
CurrentTemp = other.CurrentTemp;
|
||||
}
|
||||
if (other.SettingTemp != 0) {
|
||||
SettingTemp = other.SettingTemp;
|
||||
}
|
||||
if (other.FanSpeed != 0) {
|
||||
FanSpeed = other.FanSpeed;
|
||||
}
|
||||
if (other.Mode != 0) {
|
||||
Mode = other.Mode;
|
||||
}
|
||||
if (other.Valve != 0) {
|
||||
Valve = other.Valve;
|
||||
}
|
||||
if (other.Createtime != 0L) {
|
||||
Createtime = other.Createtime;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 8: {
|
||||
Code = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
RoomNumber = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
HostNumber = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
Address = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
Status = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
Brightness = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
CurrentTemp = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
SettingTemp = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
FanSpeed = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
Mode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
Valve = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
Createtime = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 8: {
|
||||
Code = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
RoomNumber = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
HostNumber = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
Address = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
Status = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
Brightness = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
CurrentTemp = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
SettingTemp = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
FanSpeed = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
Mode = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
Valve = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
Createtime = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user