diff --git a/AnnelidaDispatcher/Model/DataTransmission/AnnelidaSensors.cs b/AnnelidaDispatcher/Model/DataTransmission/AnnelidaSensors.cs
index 7bd6396..645b0b2 100644
--- a/AnnelidaDispatcher/Model/DataTransmission/AnnelidaSensors.cs
+++ b/AnnelidaDispatcher/Model/DataTransmission/AnnelidaSensors.cs
@@ -9,4267 +9,4488 @@
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
-/// Holder for reflection information generated from annelida_sensors.proto
-public static partial class AnnelidaSensorsReflection {
+namespace AnnelidaDispatcher.Model.DataTransmission {
- #region Descriptor
- /// File descriptor for annelida_sensors.proto
- public static pbr::FileDescriptor Descriptor {
- get { return descriptor; }
- }
- private static pbr::FileDescriptor descriptor;
-
- static AnnelidaSensorsReflection() {
- byte[] descriptorData = global::System.Convert.FromBase64String(
- string.Concat(
- "ChZhbm5lbGlkYV9zZW5zb3JzLnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGlt",
- "ZXN0YW1wLnByb3RvIpoeCg9Bbm5lbGlkYVNlbnNvcnMSLQoJdGltZXN0YW1w",
- "GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI6Cg1lbmNfcmVj",
- "ZXB0aW9uGAIgASgLMiMuQW5uZWxpZGFTZW5zb3JzLlVtYmlsaWNhbFJlY2Vw",
- "dGlvbhJDChNlbmNfbm90X3JlZ3VsYXRlZF8xGAMgASgLMiYuQW5uZWxpZGFT",
- "ZW5zb3JzLk5vdFJlZ3VsYXRlZENvbnZlcnRlchJDChNlbmNfbm90X3JlZ3Vs",
- "YXRlZF8yGAQgASgLMiYuQW5uZWxpZGFTZW5zb3JzLk5vdFJlZ3VsYXRlZENv",
- "bnZlcnRlchI8Cg9lbmNfcmVndWxhdGVkXzEYBSABKAsyIy5Bbm5lbGlkYVNl",
- "bnNvcnMuUmVndWxhdGVkQ29udmVydGVyEjwKD2VuY19yZWd1bGF0ZWRfM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zJfTWFpbhIjChtoeWRyYXVsaWNfY3ls",
- "aW5kZXJfcHJlc3N1cmUYASADKAISLgoWc29sZW5vaWRfbW92ZV9wcmVzc3Vy",
- "ZRgCIAMoDjIOLlNvbGVub2lkU3RhdGUaNQoLTW90b3JCb21iXzMSEQoJbW90",
- "b3JfcnBtGAEgAygCEhMKC21vdG9yX3Bvd2VyGAIgAygCGk4KC01vdG9yQm9t",
- "Yl80EhcKD29pbF90ZW1wZXJhdHVyZRgBIAMoAhIRCgltb3Rvcl9ycG0YAiAD",
- "KA0SEwoLbW90b3JfcG93ZXIYAyADKAIaRQoSTWFuaWZvbGRfM19Gb3J3YXJk",
- "Ei8KF3NvbGVub2lkX2FjdGl2ZV9mb3J3YXJkGAEgAygOMg4uU29sZW5vaWRT",
- "dGF0ZRqGAQoSTWFuaWZvbGRfMV9Gb3J3YXJkEjYKHnNvbGVub2lkX2N5bGlu",
- "ZGVyX21vdmVfZm9yd2FyZBgBIAMoDjIOLlNvbGVub2lkU3RhdGUSOAogc29s",
- "ZW5vaWRfY3lsaW5kZXJfYWN0aXZlX2ZvcndhcmQYAiADKA4yDi5Tb2xlbm9p",
- "ZFN0YXRlGl0KClNnblJlYWN0b3ISFwoPc2duX3RlbXBlcmF0dXJlGAEgAygC",
- "EhwKFG9ic3RydWN0aW9uX2RldGVjdGVkGAIgAygIEhgKEHJlYWN0b3JfcHJl",
- "c3N1cmUYAyADKAIqPwoNU29sZW5vaWRTdGF0ZRITCg9VTktOT1dfU09MRU5P",
- "SUQQABILCgdBQ1RJVkVEEAESDAoIRElTQUJMRUQQAipBCg1DeWxpbmRlclN0",
- "YXRlEhMKD1VOS05PV19DWUxJTkRFUhAAEgwKCEFEVkFOQ0VEEAESDQoJV0lU",
- "SERSQVdOEAJiBnByb3RvMw=="));
- descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
- new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
- new pbr::GeneratedClrTypeInfo(new[] {typeof(global::SolenoidState), typeof(global::CylinderState), }, new pbr::GeneratedClrTypeInfo[] {
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors), global::AnnelidaSensors.Parser, new[]{ "Timestamp", "EncReception", "EncNotRegulated1", "EncNotRegulated2", "EncRegulated1", "EncRegulated2", "EncEmbeddedSystem", "EncMotorController1", "EncMotorController2", "EncMotorController3", "EncMotorController4", "EncMotorController5", "EncForwardLocomotive", "EncBackwardLocomotive", "SystemPumps", "EncReactor" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.UmbilicalReception), global::AnnelidaSensors.Types.UmbilicalReception.Parser, new[]{ "Traction" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.NotRegulatedConverter), global::AnnelidaSensors.Types.NotRegulatedConverter.Parser, new[]{ "InternalTemperature", "InternalPressure", "ElectricalCurrent", "ElectricalPower", "ElectricalTension700V" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.RegulatedConverter), global::AnnelidaSensors.Types.RegulatedConverter.Parser, new[]{ "InternalTemperature", "InternalPressure", "ElectricalCurrent", "ElectricalPower", "ElectricalTension" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.EmbeddedSystem), global::AnnelidaSensors.Types.EmbeddedSystem.Parser, new[]{ "InternalTemperature", "InternalPressure", "ExternalModulePressure", "RotationX", "RotationY", "RotationZ", "DisplacementX", "DisplacementY", "DisplacementZ", "AccelerationX", "AccelerationY", "AccelerationZ" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.MotorController), global::AnnelidaSensors.Types.MotorController.Parser, new[]{ "InternalTemperature", "InternalPressure", "ElectricalCurrent", "ElectricalTension" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.Locomotive), global::AnnelidaSensors.Types.Locomotive.Parser, new[]{ "CylinderForward", "CylinderBackward" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine), global::AnnelidaSensors.Types.PumpsEngine.Parser, new[]{ "EncManifold1Backward", "EncManifold3Backward", "EncMotorBomb1", "EncMotorBomb2", "EncManifold2Auxiliar", "EncMotorBombAuxiliar", "EncManifold2Main", "EncMotorBomb3", "EncMotorBomb4", "EncManifold3Forward", "EncManifold1Forward" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_1_Backward), global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_1_Backward.Parser, new[]{ "SolenoidCylinderMoveBackward", "SolenoidCylinderActiveBackward" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_3_Backward), global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_3_Backward.Parser, new[]{ "SolenoidActiveFootBackward" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_1), global::AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_1.Parser, new[]{ "OilTemperature", "MotorRpm", "MotorPower" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_2), global::AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_2.Parser, new[]{ "MotorRpm", "MotorPower" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_2_Auxiliar), global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_2_Auxiliar.Parser, new[]{ "HydraulicFootsPressure", "SolenoidPressureFoots" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.MotorBombAuxiliar), global::AnnelidaSensors.Types.PumpsEngine.Types.MotorBombAuxiliar.Parser, new[]{ "TemperatureSensor", "MotorRpm", "MotorPower" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_2_Main), global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_2_Main.Parser, new[]{ "HydraulicCylinderPressure", "SolenoidMovePressure" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_3), global::AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_3.Parser, new[]{ "MotorRpm", "MotorPower" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_4), global::AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_4.Parser, new[]{ "OilTemperature", "MotorRpm", "MotorPower" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_3_Forward), global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_3_Forward.Parser, new[]{ "SolenoidActiveForward" }, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_1_Forward), global::AnnelidaSensors.Types.PumpsEngine.Types.Manifold_1_Forward.Parser, new[]{ "SolenoidCylinderMoveForward", "SolenoidCylinderActiveForward" }, null, null, null)}),
- new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaSensors.Types.SgnReactor), global::AnnelidaSensors.Types.SgnReactor.Parser, new[]{ "SgnTemperature", "ObstructionDetected", "ReactorPressure" }, null, null, null)})
- }));
- }
- #endregion
-
-}
-#region Enums
-public enum SolenoidState {
- [pbr::OriginalName("UNKNOW_SOLENOID")] UnknowSolenoid = 0,
- [pbr::OriginalName("ACTIVED")] Actived = 1,
- [pbr::OriginalName("DISABLED")] Disabled = 2,
-}
-
-public enum CylinderState {
- [pbr::OriginalName("UNKNOW_CYLINDER")] UnknowCylinder = 0,
- [pbr::OriginalName("ADVANCED")] Advanced = 1,
- [pbr::OriginalName("WITHDRAWN")] Withdrawn = 2,
-}
+ /// Holder for reflection information generated from annelida_sensors.proto
+ public static partial class AnnelidaSensorsReflection {
-#endregion
-
-#region Messages
-public sealed partial class AnnelidaSensors : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnnelidaSensors());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
+ #region Descriptor
+ /// File descriptor for annelida_sensors.proto
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static AnnelidaSensorsReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChZhbm5lbGlkYV9zZW5zb3JzLnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGlt",
+ "ZXN0YW1wLnByb3RvItEgCg9Bbm5lbGlkYVNlbnNvcnMSLQoJdGltZXN0YW1w",
+ "GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI6Cg1lbmNfcmVj",
+ "ZXB0aW9uGAIgASgLMiMuQW5uZWxpZGFTZW5zb3JzLlVtYmlsaWNhbFJlY2Vw",
+ "dGlvbhJDChNlbmNfbm90X3JlZ3VsYXRlZF8xGAMgASgLMiYuQW5uZWxpZGFT",
+ "ZW5zb3JzLk5vdFJlZ3VsYXRlZENvbnZlcnRlchJDChNlbmNfbm90X3JlZ3Vs",
+ "YXRlZF8yGAQgASgLMiYuQW5uZWxpZGFTZW5zb3JzLk5vdFJlZ3VsYXRlZENv",
+ "bnZlcnRlchI8Cg9lbmNfcmVndWxhdGVkXzEYBSABKAsyIy5Bbm5lbGlkYVNl",
+ "bnNvcnMuUmVndWxhdGVkQ29udmVydGVyEjw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Mg4uU29sZW5vaWRTdGF0ZRI4CiBzb2xlbm9p",
+ "ZF9jeWxpbmRlcl9hY3RpdmVfZm9yd2FyZBgCIAMoDjIOLlNvbGVub2lkU3Rh",
+ "dGUaXQoKU2duUmVhY3RvchIXCg9zZ25fdGVtcGVyYXR1cmUYASADKAISHAoU",
+ "b2JzdHJ1Y3Rpb25fZGV0ZWN0ZWQYAiADKAgSGAoQcmVhY3Rvcl9wcmVzc3Vy",
+ "ZRgDIAMoAio/Cg1Tb2xlbm9pZFN0YXRlEhMKD1VOS05PV19TT0xFTk9JRBAA",
+ "EgsKB0FDVElWRUQQARIMCghESVNBQkxFRBACKkEKDUN5bGluZGVyU3RhdGUS",
+ "EwoPVU5LTk9XX0NZTElOREVSEAASDAoIQURWQU5DRUQQARINCglXSVRIRFJB",
+ "V04QAkIsqgIpQW5uZWxpZGFEaXNwYXRjaGVyLk1vZGVsLkRhdGFUcmFuc21p",
+ "c3Npb25iBnByb3RvMw=="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
+ new pbr::GeneratedClrTypeInfo(new[] {typeof(global::AnnelidaDispatcher.Model.DataTransmission.SolenoidState), typeof(global::AnnelidaDispatcher.Model.DataTransmission.CylinderState), }, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Parser, new[]{ "Timestamp", "EncReception", "EncNotRegulated1", "EncNotRegulated2", "EncRegulated1", "EncRegulated2", "EncEmbeddedSystem", "EncMotorController1", "EncMotorController2", "EncMotorController3", "EncMotorController4", "EncMotorController5", "EncForwardLocomotive", "EncBackwardLocomotive", "SystemPumps", "EncReactor" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.UmbilicalReception), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.UmbilicalReception.Parser, new[]{ "Traction" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.NotRegulatedConverter), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.NotRegulatedConverter.Parser, new[]{ "InternalTemperature", "InternalPressure", "ElectricalCurrentC1", "ElectricalCurrentC2", "ElectricalCurrentC3", "ElectricalPowerP1", "ElectricalPowerP2", "ElectricalPower3", "ElectricalTension700V" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.RegulatedConverter), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.RegulatedConverter.Parser, new[]{ "InternalTemperature", "InternalPressure", "ElectricalCurrentC1", "ElectricalCurrentC2", "ElectricalCurrentC3", "ElectricalCurrentC4", "ElectricalPowerP1", "ElectricalPowerP2", "ElectricalPowerP3", "ElectricalPowerP4", "ElectricalTension" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.EmbeddedSystem), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.EmbeddedSystem.Parser, new[]{ "InternalTemperature", "InternalPressure", "ExternalModulePressure", "RotationX", "RotationY", "RotationZ", "DisplacementX", "DisplacementY", "DisplacementZ", "AccelerationX", "AccelerationY", "AccelerationZ" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController.Parser, new[]{ "InternalTemperature", "InternalPressure", "ElectricalCurrent", "ElectricalTension" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.Locomotive), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.Locomotive.Parser, new[]{ "CylinderForward", "CylinderBackward" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Parser, new[]{ "EncManifold1Backward", "EncManifold3Backward", "EncMotorBomb1", "EncMotorBomb2", "EncManifold2Auxiliar", "EncMotorBombAuxiliar", "EncManifold2Main", "EncMotorBomb3", "EncMotorBomb4", "EncManifold3Forward", "EncManifold1Forward" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_1_Backward), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_1_Backward.Parser, new[]{ "SolenoidCylinderMoveBackward", "SolenoidCylinderActiveBackward" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_3_Backward), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_3_Backward.Parser, new[]{ "SolenoidActiveFootBackward" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_1), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_1.Parser, new[]{ "OilTemperature", "MotorRpm", "MotorPower" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_2), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_2.Parser, new[]{ "MotorRpm", "MotorPower" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_2_Auxiliar), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_2_Auxiliar.Parser, new[]{ "HydraulicFootsPressure", "SolenoidPressureFoots" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.MotorBombAuxiliar), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.MotorBombAuxiliar.Parser, new[]{ "TemperatureSensor", "MotorRpm", "MotorPower" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_2_Main), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_2_Main.Parser, new[]{ "HydraulicCylinderPressure", "SolenoidMovePressure" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_3), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_3.Parser, new[]{ "MotorRpm", "MotorPower" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_4), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.MotorBomb_4.Parser, new[]{ "OilTemperature", "MotorRpm", "MotorPower" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_3_Forward), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_3_Forward.Parser, new[]{ "SolenoidActiveForward" }, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_1_Forward), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine.Types.Manifold_1_Forward.Parser, new[]{ "SolenoidCylinderMoveForward", "SolenoidCylinderActiveForward" }, null, null, null)}),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.SgnReactor), global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.SgnReactor.Parser, new[]{ "SgnTemperature", "ObstructionDetected", "ReactorPressure" }, null, null, null)})
+ }));
+ }
+ #endregion
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::AnnelidaSensorsReflection.Descriptor.MessageTypes[0]; }
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
+ #region Enums
+ public enum SolenoidState {
+ [pbr::OriginalName("UNKNOW_SOLENOID")] UnknowSolenoid = 0,
+ [pbr::OriginalName("ACTIVED")] Actived = 1,
+ [pbr::OriginalName("DISABLED")] Disabled = 2,
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AnnelidaSensors() {
- OnConstruction();
+ public enum CylinderState {
+ [pbr::OriginalName("UNKNOW_CYLINDER")] UnknowCylinder = 0,
+ [pbr::OriginalName("ADVANCED")] Advanced = 1,
+ [pbr::OriginalName("WITHDRAWN")] Withdrawn = 2,
}
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AnnelidaSensors(AnnelidaSensors other) : this() {
- Timestamp = other.timestamp_ != null ? other.Timestamp.Clone() : null;
- EncReception = other.encReception_ != null ? other.EncReception.Clone() : null;
- EncNotRegulated1 = other.encNotRegulated1_ != null ? other.EncNotRegulated1.Clone() : null;
- EncNotRegulated2 = other.encNotRegulated2_ != null ? other.EncNotRegulated2.Clone() : null;
- EncRegulated1 = other.encRegulated1_ != null ? other.EncRegulated1.Clone() : null;
- EncRegulated2 = other.encRegulated2_ != null ? other.EncRegulated2.Clone() : null;
- EncEmbeddedSystem = other.encEmbeddedSystem_ != null ? other.EncEmbeddedSystem.Clone() : null;
- EncMotorController1 = other.encMotorController1_ != null ? other.EncMotorController1.Clone() : null;
- EncMotorController2 = other.encMotorController2_ != null ? other.EncMotorController2.Clone() : null;
- EncMotorController3 = other.encMotorController3_ != null ? other.EncMotorController3.Clone() : null;
- EncMotorController4 = other.encMotorController4_ != null ? other.EncMotorController4.Clone() : null;
- EncMotorController5 = other.encMotorController5_ != null ? other.EncMotorController5.Clone() : null;
- EncForwardLocomotive = other.encForwardLocomotive_ != null ? other.EncForwardLocomotive.Clone() : null;
- EncBackwardLocomotive = other.encBackwardLocomotive_ != null ? other.EncBackwardLocomotive.Clone() : null;
- SystemPumps = other.systemPumps_ != null ? other.SystemPumps.Clone() : null;
- EncReactor = other.encReactor_ != null ? other.EncReactor.Clone() : null;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
+ #endregion
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public AnnelidaSensors Clone() {
- return new AnnelidaSensors(this);
- }
+ #region Messages
+ public sealed partial class AnnelidaSensors : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AnnelidaSensors());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
- /// Field number for the "timestamp" field.
- public const int TimestampFieldNumber = 1;
- private global::Google.Protobuf.WellKnownTypes.Timestamp timestamp_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::Google.Protobuf.WellKnownTypes.Timestamp Timestamp {
- get { return timestamp_; }
- set {
- timestamp_ = value;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensorsReflection.Descriptor.MessageTypes[0]; }
}
- }
- /// Field number for the "enc_reception" field.
- public const int EncReceptionFieldNumber = 2;
- private global::AnnelidaSensors.Types.UmbilicalReception encReception_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.UmbilicalReception EncReception {
- get { return encReception_; }
- set {
- encReception_ = value;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
}
- }
- /// Field number for the "enc_not_regulated_1" field.
- public const int EncNotRegulated1FieldNumber = 3;
- private global::AnnelidaSensors.Types.NotRegulatedConverter encNotRegulated1_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.NotRegulatedConverter EncNotRegulated1 {
- get { return encNotRegulated1_; }
- set {
- encNotRegulated1_ = value;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public AnnelidaSensors() {
+ OnConstruction();
}
- }
- /// Field number for the "enc_not_regulated_2" field.
- public const int EncNotRegulated2FieldNumber = 4;
- private global::AnnelidaSensors.Types.NotRegulatedConverter encNotRegulated2_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.NotRegulatedConverter EncNotRegulated2 {
- get { return encNotRegulated2_; }
- set {
- encNotRegulated2_ = value;
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public AnnelidaSensors(AnnelidaSensors other) : this() {
+ Timestamp = other.timestamp_ != null ? other.Timestamp.Clone() : null;
+ EncReception = other.encReception_ != null ? other.EncReception.Clone() : null;
+ EncNotRegulated1 = other.encNotRegulated1_ != null ? other.EncNotRegulated1.Clone() : null;
+ EncNotRegulated2 = other.encNotRegulated2_ != null ? other.EncNotRegulated2.Clone() : null;
+ EncRegulated1 = other.encRegulated1_ != null ? other.EncRegulated1.Clone() : null;
+ EncRegulated2 = other.encRegulated2_ != null ? other.EncRegulated2.Clone() : null;
+ EncEmbeddedSystem = other.encEmbeddedSystem_ != null ? other.EncEmbeddedSystem.Clone() : null;
+ EncMotorController1 = other.encMotorController1_ != null ? other.EncMotorController1.Clone() : null;
+ EncMotorController2 = other.encMotorController2_ != null ? other.EncMotorController2.Clone() : null;
+ EncMotorController3 = other.encMotorController3_ != null ? other.EncMotorController3.Clone() : null;
+ EncMotorController4 = other.encMotorController4_ != null ? other.EncMotorController4.Clone() : null;
+ EncMotorController5 = other.encMotorController5_ != null ? other.EncMotorController5.Clone() : null;
+ EncForwardLocomotive = other.encForwardLocomotive_ != null ? other.EncForwardLocomotive.Clone() : null;
+ EncBackwardLocomotive = other.encBackwardLocomotive_ != null ? other.EncBackwardLocomotive.Clone() : null;
+ SystemPumps = other.systemPumps_ != null ? other.SystemPumps.Clone() : null;
+ EncReactor = other.encReactor_ != null ? other.EncReactor.Clone() : null;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
- }
- /// Field number for the "enc_regulated_1" field.
- public const int EncRegulated1FieldNumber = 5;
- private global::AnnelidaSensors.Types.RegulatedConverter encRegulated1_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.RegulatedConverter EncRegulated1 {
- get { return encRegulated1_; }
- set {
- encRegulated1_ = value;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public AnnelidaSensors Clone() {
+ return new AnnelidaSensors(this);
}
- }
- /// Field number for the "enc_regulated_2" field.
- public const int EncRegulated2FieldNumber = 6;
- private global::AnnelidaSensors.Types.RegulatedConverter encRegulated2_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.RegulatedConverter EncRegulated2 {
- get { return encRegulated2_; }
- set {
- encRegulated2_ = value;
+ /// Field number for the "timestamp" field.
+ public const int TimestampFieldNumber = 1;
+ private global::Google.Protobuf.WellKnownTypes.Timestamp timestamp_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::Google.Protobuf.WellKnownTypes.Timestamp Timestamp {
+ get { return timestamp_; }
+ set {
+ timestamp_ = value;
+ }
}
- }
- /// Field number for the "enc_embedded_system" field.
- public const int EncEmbeddedSystemFieldNumber = 7;
- private global::AnnelidaSensors.Types.EmbeddedSystem encEmbeddedSystem_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.EmbeddedSystem EncEmbeddedSystem {
- get { return encEmbeddedSystem_; }
- set {
- encEmbeddedSystem_ = value;
+ /// Field number for the "enc_reception" field.
+ public const int EncReceptionFieldNumber = 2;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.UmbilicalReception encReception_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.UmbilicalReception EncReception {
+ get { return encReception_; }
+ set {
+ encReception_ = value;
+ }
}
- }
- /// Field number for the "enc_motor_controller_1" field.
- public const int EncMotorController1FieldNumber = 8;
- private global::AnnelidaSensors.Types.MotorController encMotorController1_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.MotorController EncMotorController1 {
- get { return encMotorController1_; }
- set {
- encMotorController1_ = value;
+ /// Field number for the "enc_not_regulated_1" field.
+ public const int EncNotRegulated1FieldNumber = 3;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.NotRegulatedConverter encNotRegulated1_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.NotRegulatedConverter EncNotRegulated1 {
+ get { return encNotRegulated1_; }
+ set {
+ encNotRegulated1_ = value;
+ }
}
- }
- /// Field number for the "enc_motor_controller_2" field.
- public const int EncMotorController2FieldNumber = 9;
- private global::AnnelidaSensors.Types.MotorController encMotorController2_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.MotorController EncMotorController2 {
- get { return encMotorController2_; }
- set {
- encMotorController2_ = value;
+ /// Field number for the "enc_not_regulated_2" field.
+ public const int EncNotRegulated2FieldNumber = 4;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.NotRegulatedConverter encNotRegulated2_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.NotRegulatedConverter EncNotRegulated2 {
+ get { return encNotRegulated2_; }
+ set {
+ encNotRegulated2_ = value;
+ }
}
- }
- /// Field number for the "enc_motor_controller_3" field.
- public const int EncMotorController3FieldNumber = 10;
- private global::AnnelidaSensors.Types.MotorController encMotorController3_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.MotorController EncMotorController3 {
- get { return encMotorController3_; }
- set {
- encMotorController3_ = value;
+ /// Field number for the "enc_regulated_1" field.
+ public const int EncRegulated1FieldNumber = 5;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.RegulatedConverter encRegulated1_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.RegulatedConverter EncRegulated1 {
+ get { return encRegulated1_; }
+ set {
+ encRegulated1_ = value;
+ }
}
- }
- /// Field number for the "enc_motor_controller_4" field.
- public const int EncMotorController4FieldNumber = 11;
- private global::AnnelidaSensors.Types.MotorController encMotorController4_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.MotorController EncMotorController4 {
- get { return encMotorController4_; }
- set {
- encMotorController4_ = value;
+ /// Field number for the "enc_regulated_2" field.
+ public const int EncRegulated2FieldNumber = 6;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.RegulatedConverter encRegulated2_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.RegulatedConverter EncRegulated2 {
+ get { return encRegulated2_; }
+ set {
+ encRegulated2_ = value;
+ }
}
- }
- /// Field number for the "enc_motor_controller_5" field.
- public const int EncMotorController5FieldNumber = 12;
- private global::AnnelidaSensors.Types.MotorController encMotorController5_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.MotorController EncMotorController5 {
- get { return encMotorController5_; }
- set {
- encMotorController5_ = value;
+ /// Field number for the "enc_embedded_system" field.
+ public const int EncEmbeddedSystemFieldNumber = 7;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.EmbeddedSystem encEmbeddedSystem_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.EmbeddedSystem EncEmbeddedSystem {
+ get { return encEmbeddedSystem_; }
+ set {
+ encEmbeddedSystem_ = value;
+ }
}
- }
- /// Field number for the "enc_forward_locomotive" field.
- public const int EncForwardLocomotiveFieldNumber = 13;
- private global::AnnelidaSensors.Types.Locomotive encForwardLocomotive_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.Locomotive EncForwardLocomotive {
- get { return encForwardLocomotive_; }
- set {
- encForwardLocomotive_ = value;
+ /// Field number for the "enc_motor_controller_1" field.
+ public const int EncMotorController1FieldNumber = 8;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController encMotorController1_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController EncMotorController1 {
+ get { return encMotorController1_; }
+ set {
+ encMotorController1_ = value;
+ }
}
- }
- /// Field number for the "enc_backward_locomotive" field.
- public const int EncBackwardLocomotiveFieldNumber = 14;
- private global::AnnelidaSensors.Types.Locomotive encBackwardLocomotive_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.Locomotive EncBackwardLocomotive {
- get { return encBackwardLocomotive_; }
- set {
- encBackwardLocomotive_ = value;
+ /// Field number for the "enc_motor_controller_2" field.
+ public const int EncMotorController2FieldNumber = 9;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController encMotorController2_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController EncMotorController2 {
+ get { return encMotorController2_; }
+ set {
+ encMotorController2_ = value;
+ }
}
- }
- /// Field number for the "system_pumps" field.
- public const int SystemPumpsFieldNumber = 15;
- private global::AnnelidaSensors.Types.PumpsEngine systemPumps_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.PumpsEngine SystemPumps {
- get { return systemPumps_; }
- set {
- systemPumps_ = value;
+ /// Field number for the "enc_motor_controller_3" field.
+ public const int EncMotorController3FieldNumber = 10;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController encMotorController3_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController EncMotorController3 {
+ get { return encMotorController3_; }
+ set {
+ encMotorController3_ = value;
+ }
}
- }
- /// Field number for the "enc_reactor" field.
- public const int EncReactorFieldNumber = 16;
- private global::AnnelidaSensors.Types.SgnReactor encReactor_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public global::AnnelidaSensors.Types.SgnReactor EncReactor {
- get { return encReactor_; }
- set {
- encReactor_ = value;
+ /// Field number for the "enc_motor_controller_4" field.
+ public const int EncMotorController4FieldNumber = 11;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController encMotorController4_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController EncMotorController4 {
+ get { return encMotorController4_; }
+ set {
+ encMotorController4_ = value;
+ }
}
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as AnnelidaSensors);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(AnnelidaSensors other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
+ /// Field number for the "enc_motor_controller_5" field.
+ public const int EncMotorController5FieldNumber = 12;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController encMotorController5_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController EncMotorController5 {
+ get { return encMotorController5_; }
+ set {
+ encMotorController5_ = value;
+ }
}
- if (!object.Equals(Timestamp, other.Timestamp)) return false;
- if (!object.Equals(EncReception, other.EncReception)) return false;
- if (!object.Equals(EncNotRegulated1, other.EncNotRegulated1)) return false;
- if (!object.Equals(EncNotRegulated2, other.EncNotRegulated2)) return false;
- if (!object.Equals(EncRegulated1, other.EncRegulated1)) return false;
- if (!object.Equals(EncRegulated2, other.EncRegulated2)) return false;
- if (!object.Equals(EncEmbeddedSystem, other.EncEmbeddedSystem)) return false;
- if (!object.Equals(EncMotorController1, other.EncMotorController1)) return false;
- if (!object.Equals(EncMotorController2, other.EncMotorController2)) return false;
- if (!object.Equals(EncMotorController3, other.EncMotorController3)) return false;
- if (!object.Equals(EncMotorController4, other.EncMotorController4)) return false;
- if (!object.Equals(EncMotorController5, other.EncMotorController5)) return false;
- if (!object.Equals(EncForwardLocomotive, other.EncForwardLocomotive)) return false;
- if (!object.Equals(EncBackwardLocomotive, other.EncBackwardLocomotive)) return false;
- if (!object.Equals(SystemPumps, other.SystemPumps)) return false;
- if (!object.Equals(EncReactor, other.EncReactor)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (timestamp_ != null) hash ^= Timestamp.GetHashCode();
- if (encReception_ != null) hash ^= EncReception.GetHashCode();
- if (encNotRegulated1_ != null) hash ^= EncNotRegulated1.GetHashCode();
- if (encNotRegulated2_ != null) hash ^= EncNotRegulated2.GetHashCode();
- if (encRegulated1_ != null) hash ^= EncRegulated1.GetHashCode();
- if (encRegulated2_ != null) hash ^= EncRegulated2.GetHashCode();
- if (encEmbeddedSystem_ != null) hash ^= EncEmbeddedSystem.GetHashCode();
- if (encMotorController1_ != null) hash ^= EncMotorController1.GetHashCode();
- if (encMotorController2_ != null) hash ^= EncMotorController2.GetHashCode();
- if (encMotorController3_ != null) hash ^= EncMotorController3.GetHashCode();
- if (encMotorController4_ != null) hash ^= EncMotorController4.GetHashCode();
- if (encMotorController5_ != null) hash ^= EncMotorController5.GetHashCode();
- if (encForwardLocomotive_ != null) hash ^= EncForwardLocomotive.GetHashCode();
- if (encBackwardLocomotive_ != null) hash ^= EncBackwardLocomotive.GetHashCode();
- if (systemPumps_ != null) hash ^= SystemPumps.GetHashCode();
- if (encReactor_ != null) hash ^= EncReactor.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
+ /// Field number for the "enc_forward_locomotive" field.
+ public const int EncForwardLocomotiveFieldNumber = 13;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.Locomotive encForwardLocomotive_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.Locomotive EncForwardLocomotive {
+ get { return encForwardLocomotive_; }
+ set {
+ encForwardLocomotive_ = value;
+ }
}
- return hash;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (timestamp_ != null) {
- output.WriteRawTag(10);
- output.WriteMessage(Timestamp);
- }
- if (encReception_ != null) {
- output.WriteRawTag(18);
- output.WriteMessage(EncReception);
- }
- if (encNotRegulated1_ != null) {
- output.WriteRawTag(26);
- output.WriteMessage(EncNotRegulated1);
- }
- if (encNotRegulated2_ != null) {
- output.WriteRawTag(34);
- output.WriteMessage(EncNotRegulated2);
- }
- if (encRegulated1_ != null) {
- output.WriteRawTag(42);
- output.WriteMessage(EncRegulated1);
- }
- if (encRegulated2_ != null) {
- output.WriteRawTag(50);
- output.WriteMessage(EncRegulated2);
- }
- if (encEmbeddedSystem_ != null) {
- output.WriteRawTag(58);
- output.WriteMessage(EncEmbeddedSystem);
- }
- if (encMotorController1_ != null) {
- output.WriteRawTag(66);
- output.WriteMessage(EncMotorController1);
- }
- if (encMotorController2_ != null) {
- output.WriteRawTag(74);
- output.WriteMessage(EncMotorController2);
- }
- if (encMotorController3_ != null) {
- output.WriteRawTag(82);
- output.WriteMessage(EncMotorController3);
- }
- if (encMotorController4_ != null) {
- output.WriteRawTag(90);
- output.WriteMessage(EncMotorController4);
- }
- if (encMotorController5_ != null) {
- output.WriteRawTag(98);
- output.WriteMessage(EncMotorController5);
- }
- if (encForwardLocomotive_ != null) {
- output.WriteRawTag(106);
- output.WriteMessage(EncForwardLocomotive);
- }
- if (encBackwardLocomotive_ != null) {
- output.WriteRawTag(114);
- output.WriteMessage(EncBackwardLocomotive);
- }
- if (systemPumps_ != null) {
- output.WriteRawTag(122);
- output.WriteMessage(SystemPumps);
- }
- if (encReactor_ != null) {
- output.WriteRawTag(130, 1);
- output.WriteMessage(EncReactor);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
+ /// Field number for the "enc_backward_locomotive" field.
+ public const int EncBackwardLocomotiveFieldNumber = 14;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.Locomotive encBackwardLocomotive_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.Locomotive EncBackwardLocomotive {
+ get { return encBackwardLocomotive_; }
+ set {
+ encBackwardLocomotive_ = value;
+ }
}
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (timestamp_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(Timestamp);
- }
- if (encReception_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncReception);
- }
- if (encNotRegulated1_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncNotRegulated1);
- }
- if (encNotRegulated2_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncNotRegulated2);
- }
- if (encRegulated1_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncRegulated1);
- }
- if (encRegulated2_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncRegulated2);
- }
- if (encEmbeddedSystem_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncEmbeddedSystem);
- }
- if (encMotorController1_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncMotorController1);
- }
- if (encMotorController2_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncMotorController2);
- }
- if (encMotorController3_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncMotorController3);
- }
- if (encMotorController4_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncMotorController4);
- }
- if (encMotorController5_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncMotorController5);
- }
- if (encForwardLocomotive_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncForwardLocomotive);
+ /// Field number for the "system_pumps" field.
+ public const int SystemPumpsFieldNumber = 15;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine systemPumps_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine SystemPumps {
+ get { return systemPumps_; }
+ set {
+ systemPumps_ = value;
+ }
}
- if (encBackwardLocomotive_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncBackwardLocomotive);
+
+ /// Field number for the "enc_reactor" field.
+ public const int EncReactorFieldNumber = 16;
+ private global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.SgnReactor encReactor_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.SgnReactor EncReactor {
+ get { return encReactor_; }
+ set {
+ encReactor_ = value;
+ }
}
- if (systemPumps_ != null) {
- size += 1 + pb::CodedOutputStream.ComputeMessageSize(SystemPumps);
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as AnnelidaSensors);
}
- if (encReactor_ != null) {
- size += 2 + pb::CodedOutputStream.ComputeMessageSize(EncReactor);
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(AnnelidaSensors other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (!object.Equals(Timestamp, other.Timestamp)) return false;
+ if (!object.Equals(EncReception, other.EncReception)) return false;
+ if (!object.Equals(EncNotRegulated1, other.EncNotRegulated1)) return false;
+ if (!object.Equals(EncNotRegulated2, other.EncNotRegulated2)) return false;
+ if (!object.Equals(EncRegulated1, other.EncRegulated1)) return false;
+ if (!object.Equals(EncRegulated2, other.EncRegulated2)) return false;
+ if (!object.Equals(EncEmbeddedSystem, other.EncEmbeddedSystem)) return false;
+ if (!object.Equals(EncMotorController1, other.EncMotorController1)) return false;
+ if (!object.Equals(EncMotorController2, other.EncMotorController2)) return false;
+ if (!object.Equals(EncMotorController3, other.EncMotorController3)) return false;
+ if (!object.Equals(EncMotorController4, other.EncMotorController4)) return false;
+ if (!object.Equals(EncMotorController5, other.EncMotorController5)) return false;
+ if (!object.Equals(EncForwardLocomotive, other.EncForwardLocomotive)) return false;
+ if (!object.Equals(EncBackwardLocomotive, other.EncBackwardLocomotive)) return false;
+ if (!object.Equals(SystemPumps, other.SystemPumps)) return false;
+ if (!object.Equals(EncReactor, other.EncReactor)) return false;
+ return Equals(_unknownFields, other._unknownFields);
}
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (timestamp_ != null) hash ^= Timestamp.GetHashCode();
+ if (encReception_ != null) hash ^= EncReception.GetHashCode();
+ if (encNotRegulated1_ != null) hash ^= EncNotRegulated1.GetHashCode();
+ if (encNotRegulated2_ != null) hash ^= EncNotRegulated2.GetHashCode();
+ if (encRegulated1_ != null) hash ^= EncRegulated1.GetHashCode();
+ if (encRegulated2_ != null) hash ^= EncRegulated2.GetHashCode();
+ if (encEmbeddedSystem_ != null) hash ^= EncEmbeddedSystem.GetHashCode();
+ if (encMotorController1_ != null) hash ^= EncMotorController1.GetHashCode();
+ if (encMotorController2_ != null) hash ^= EncMotorController2.GetHashCode();
+ if (encMotorController3_ != null) hash ^= EncMotorController3.GetHashCode();
+ if (encMotorController4_ != null) hash ^= EncMotorController4.GetHashCode();
+ if (encMotorController5_ != null) hash ^= EncMotorController5.GetHashCode();
+ if (encForwardLocomotive_ != null) hash ^= EncForwardLocomotive.GetHashCode();
+ if (encBackwardLocomotive_ != null) hash ^= EncBackwardLocomotive.GetHashCode();
+ if (systemPumps_ != null) hash ^= SystemPumps.GetHashCode();
+ if (encReactor_ != null) hash ^= EncReactor.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
}
- return size;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(AnnelidaSensors other) {
- if (other == null) {
- return;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
}
- if (other.timestamp_ != null) {
- if (timestamp_ == null) {
- timestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (timestamp_ != null) {
+ output.WriteRawTag(10);
+ output.WriteMessage(Timestamp);
}
- Timestamp.MergeFrom(other.Timestamp);
- }
- if (other.encReception_ != null) {
- if (encReception_ == null) {
- encReception_ = new global::AnnelidaSensors.Types.UmbilicalReception();
+ if (encReception_ != null) {
+ output.WriteRawTag(18);
+ output.WriteMessage(EncReception);
}
- EncReception.MergeFrom(other.EncReception);
- }
- if (other.encNotRegulated1_ != null) {
- if (encNotRegulated1_ == null) {
- encNotRegulated1_ = new global::AnnelidaSensors.Types.NotRegulatedConverter();
+ if (encNotRegulated1_ != null) {
+ output.WriteRawTag(26);
+ output.WriteMessage(EncNotRegulated1);
}
- EncNotRegulated1.MergeFrom(other.EncNotRegulated1);
- }
- if (other.encNotRegulated2_ != null) {
- if (encNotRegulated2_ == null) {
- encNotRegulated2_ = new global::AnnelidaSensors.Types.NotRegulatedConverter();
+ if (encNotRegulated2_ != null) {
+ output.WriteRawTag(34);
+ output.WriteMessage(EncNotRegulated2);
}
- EncNotRegulated2.MergeFrom(other.EncNotRegulated2);
- }
- if (other.encRegulated1_ != null) {
- if (encRegulated1_ == null) {
- encRegulated1_ = new global::AnnelidaSensors.Types.RegulatedConverter();
+ if (encRegulated1_ != null) {
+ output.WriteRawTag(42);
+ output.WriteMessage(EncRegulated1);
}
- EncRegulated1.MergeFrom(other.EncRegulated1);
- }
- if (other.encRegulated2_ != null) {
- if (encRegulated2_ == null) {
- encRegulated2_ = new global::AnnelidaSensors.Types.RegulatedConverter();
+ if (encRegulated2_ != null) {
+ output.WriteRawTag(50);
+ output.WriteMessage(EncRegulated2);
}
- EncRegulated2.MergeFrom(other.EncRegulated2);
- }
- if (other.encEmbeddedSystem_ != null) {
- if (encEmbeddedSystem_ == null) {
- encEmbeddedSystem_ = new global::AnnelidaSensors.Types.EmbeddedSystem();
+ if (encEmbeddedSystem_ != null) {
+ output.WriteRawTag(58);
+ output.WriteMessage(EncEmbeddedSystem);
}
- EncEmbeddedSystem.MergeFrom(other.EncEmbeddedSystem);
- }
- if (other.encMotorController1_ != null) {
- if (encMotorController1_ == null) {
- encMotorController1_ = new global::AnnelidaSensors.Types.MotorController();
+ if (encMotorController1_ != null) {
+ output.WriteRawTag(66);
+ output.WriteMessage(EncMotorController1);
}
- EncMotorController1.MergeFrom(other.EncMotorController1);
- }
- if (other.encMotorController2_ != null) {
- if (encMotorController2_ == null) {
- encMotorController2_ = new global::AnnelidaSensors.Types.MotorController();
+ if (encMotorController2_ != null) {
+ output.WriteRawTag(74);
+ output.WriteMessage(EncMotorController2);
}
- EncMotorController2.MergeFrom(other.EncMotorController2);
- }
- if (other.encMotorController3_ != null) {
- if (encMotorController3_ == null) {
- encMotorController3_ = new global::AnnelidaSensors.Types.MotorController();
+ if (encMotorController3_ != null) {
+ output.WriteRawTag(82);
+ output.WriteMessage(EncMotorController3);
}
- EncMotorController3.MergeFrom(other.EncMotorController3);
- }
- if (other.encMotorController4_ != null) {
- if (encMotorController4_ == null) {
- encMotorController4_ = new global::AnnelidaSensors.Types.MotorController();
+ if (encMotorController4_ != null) {
+ output.WriteRawTag(90);
+ output.WriteMessage(EncMotorController4);
}
- EncMotorController4.MergeFrom(other.EncMotorController4);
- }
- if (other.encMotorController5_ != null) {
- if (encMotorController5_ == null) {
- encMotorController5_ = new global::AnnelidaSensors.Types.MotorController();
+ if (encMotorController5_ != null) {
+ output.WriteRawTag(98);
+ output.WriteMessage(EncMotorController5);
}
- EncMotorController5.MergeFrom(other.EncMotorController5);
- }
- if (other.encForwardLocomotive_ != null) {
- if (encForwardLocomotive_ == null) {
- encForwardLocomotive_ = new global::AnnelidaSensors.Types.Locomotive();
+ if (encForwardLocomotive_ != null) {
+ output.WriteRawTag(106);
+ output.WriteMessage(EncForwardLocomotive);
}
- EncForwardLocomotive.MergeFrom(other.EncForwardLocomotive);
- }
- if (other.encBackwardLocomotive_ != null) {
- if (encBackwardLocomotive_ == null) {
- encBackwardLocomotive_ = new global::AnnelidaSensors.Types.Locomotive();
+ if (encBackwardLocomotive_ != null) {
+ output.WriteRawTag(114);
+ output.WriteMessage(EncBackwardLocomotive);
}
- EncBackwardLocomotive.MergeFrom(other.EncBackwardLocomotive);
- }
- if (other.systemPumps_ != null) {
- if (systemPumps_ == null) {
- systemPumps_ = new global::AnnelidaSensors.Types.PumpsEngine();
+ if (systemPumps_ != null) {
+ output.WriteRawTag(122);
+ output.WriteMessage(SystemPumps);
}
- SystemPumps.MergeFrom(other.SystemPumps);
- }
- if (other.encReactor_ != null) {
- if (encReactor_ == null) {
- encReactor_ = new global::AnnelidaSensors.Types.SgnReactor();
+ if (encReactor_ != null) {
+ output.WriteRawTag(130, 1);
+ output.WriteMessage(EncReactor);
}
- EncReactor.MergeFrom(other.EncReactor);
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10: {
- if (timestamp_ == null) {
- timestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
- }
- input.ReadMessage(timestamp_);
- break;
- }
- case 18: {
- if (encReception_ == null) {
- encReception_ = new global::AnnelidaSensors.Types.UmbilicalReception();
- }
- input.ReadMessage(encReception_);
- break;
- }
- case 26: {
- if (encNotRegulated1_ == null) {
- encNotRegulated1_ = new global::AnnelidaSensors.Types.NotRegulatedConverter();
- }
- input.ReadMessage(encNotRegulated1_);
- break;
- }
- case 34: {
- if (encNotRegulated2_ == null) {
- encNotRegulated2_ = new global::AnnelidaSensors.Types.NotRegulatedConverter();
- }
- input.ReadMessage(encNotRegulated2_);
- break;
- }
- case 42: {
- if (encRegulated1_ == null) {
- encRegulated1_ = new global::AnnelidaSensors.Types.RegulatedConverter();
- }
- input.ReadMessage(encRegulated1_);
- break;
- }
- case 50: {
- if (encRegulated2_ == null) {
- encRegulated2_ = new global::AnnelidaSensors.Types.RegulatedConverter();
- }
- input.ReadMessage(encRegulated2_);
- break;
- }
- case 58: {
- if (encEmbeddedSystem_ == null) {
- encEmbeddedSystem_ = new global::AnnelidaSensors.Types.EmbeddedSystem();
- }
- input.ReadMessage(encEmbeddedSystem_);
- break;
- }
- case 66: {
- if (encMotorController1_ == null) {
- encMotorController1_ = new global::AnnelidaSensors.Types.MotorController();
- }
- input.ReadMessage(encMotorController1_);
- break;
- }
- case 74: {
- if (encMotorController2_ == null) {
- encMotorController2_ = new global::AnnelidaSensors.Types.MotorController();
- }
- input.ReadMessage(encMotorController2_);
- break;
- }
- case 82: {
- if (encMotorController3_ == null) {
- encMotorController3_ = new global::AnnelidaSensors.Types.MotorController();
- }
- input.ReadMessage(encMotorController3_);
- break;
- }
- case 90: {
- if (encMotorController4_ == null) {
- encMotorController4_ = new global::AnnelidaSensors.Types.MotorController();
- }
- input.ReadMessage(encMotorController4_);
- break;
- }
- case 98: {
- if (encMotorController5_ == null) {
- encMotorController5_ = new global::AnnelidaSensors.Types.MotorController();
- }
- input.ReadMessage(encMotorController5_);
- break;
- }
- case 106: {
- if (encForwardLocomotive_ == null) {
- encForwardLocomotive_ = new global::AnnelidaSensors.Types.Locomotive();
- }
- input.ReadMessage(encForwardLocomotive_);
- break;
- }
- case 114: {
- if (encBackwardLocomotive_ == null) {
- encBackwardLocomotive_ = new global::AnnelidaSensors.Types.Locomotive();
- }
- input.ReadMessage(encBackwardLocomotive_);
- break;
- }
- case 122: {
- if (systemPumps_ == null) {
- systemPumps_ = new global::AnnelidaSensors.Types.PumpsEngine();
- }
- input.ReadMessage(systemPumps_);
- break;
- }
- case 130: {
- if (encReactor_ == null) {
- encReactor_ = new global::AnnelidaSensors.Types.SgnReactor();
- }
- input.ReadMessage(encReactor_);
- break;
- }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
}
}
- }
- #region Nested types
- /// Container for nested types declared in the AnnelidaSensors message type.
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static partial class Types {
- public sealed partial class UmbilicalReception : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UmbilicalReception());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::AnnelidaSensors.Descriptor.NestedTypes[0]; }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (timestamp_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(Timestamp);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
+ if (encReception_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncReception);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public UmbilicalReception() {
- OnConstruction();
+ if (encNotRegulated1_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncNotRegulated1);
}
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public UmbilicalReception(UmbilicalReception other) : this() {
- traction_ = other.traction_;
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ if (encNotRegulated2_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncNotRegulated2);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public UmbilicalReception Clone() {
- return new UmbilicalReception(this);
+ if (encRegulated1_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncRegulated1);
}
-
- /// Field number for the "traction" field.
- public const int TractionFieldNumber = 1;
- private uint traction_;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public uint Traction {
- get { return traction_; }
- set {
- traction_ = value;
- }
+ if (encRegulated2_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncRegulated2);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as UmbilicalReception);
+ if (encEmbeddedSystem_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncEmbeddedSystem);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(UmbilicalReception other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if (Traction != other.Traction) return false;
- return Equals(_unknownFields, other._unknownFields);
+ if (encMotorController1_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncMotorController1);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- if (Traction != 0) hash ^= Traction.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
+ if (encMotorController2_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncMotorController2);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
+ if (encMotorController3_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncMotorController3);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- if (Traction != 0) {
- output.WriteRawTag(8);
- output.WriteUInt32(Traction);
- }
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
- }
+ if (encMotorController4_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncMotorController4);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- if (Traction != 0) {
- size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Traction);
- }
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
+ if (encMotorController5_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncMotorController5);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(UmbilicalReception other) {
- if (other == null) {
- return;
- }
- if (other.Traction != 0) {
- Traction = other.Traction;
- }
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ if (encForwardLocomotive_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncForwardLocomotive);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 8: {
- Traction = input.ReadUInt32();
- break;
- }
- }
- }
+ if (encBackwardLocomotive_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(EncBackwardLocomotive);
}
-
- }
-
- public sealed partial class NotRegulatedConverter : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotRegulatedConverter());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::AnnelidaSensors.Descriptor.NestedTypes[1]; }
+ if (systemPumps_ != null) {
+ size += 1 + pb::CodedOutputStream.ComputeMessageSize(SystemPumps);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
+ if (encReactor_ != null) {
+ size += 2 + pb::CodedOutputStream.ComputeMessageSize(EncReactor);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public NotRegulatedConverter() {
- OnConstruction();
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
}
+ return size;
+ }
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public NotRegulatedConverter(NotRegulatedConverter other) : this() {
- internalTemperature_ = other.internalTemperature_.Clone();
- internalPressure_ = other.internalPressure_.Clone();
- electricalCurrent_ = other.electricalCurrent_.Clone();
- electricalPower_ = other.electricalPower_.Clone();
- electricalTension700V_ = other.electricalTension700V_.Clone();
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(AnnelidaSensors other) {
+ if (other == null) {
+ return;
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public NotRegulatedConverter Clone() {
- return new NotRegulatedConverter(this);
+ if (other.timestamp_ != null) {
+ if (timestamp_ == null) {
+ timestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ Timestamp.MergeFrom(other.Timestamp);
}
-
- /// Field number for the "internal_temperature" field.
- public const int InternalTemperatureFieldNumber = 1;
- private static readonly pb::FieldCodec _repeated_internalTemperature_codec
- = pb::FieldCodec.ForFloat(10);
- private readonly pbc::RepeatedField internalTemperature_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField InternalTemperature {
- get { return internalTemperature_; }
+ if (other.encReception_ != null) {
+ if (encReception_ == null) {
+ encReception_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.UmbilicalReception();
+ }
+ EncReception.MergeFrom(other.EncReception);
}
-
- /// Field number for the "internal_pressure" field.
- public const int InternalPressureFieldNumber = 2;
- private static readonly pb::FieldCodec _repeated_internalPressure_codec
- = pb::FieldCodec.ForFloat(18);
- private readonly pbc::RepeatedField internalPressure_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField InternalPressure {
- get { return internalPressure_; }
+ if (other.encNotRegulated1_ != null) {
+ if (encNotRegulated1_ == null) {
+ encNotRegulated1_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.NotRegulatedConverter();
+ }
+ EncNotRegulated1.MergeFrom(other.EncNotRegulated1);
}
-
- /// Field number for the "electrical_current" field.
- public const int ElectricalCurrentFieldNumber = 3;
- private static readonly pb::FieldCodec _repeated_electricalCurrent_codec
- = pb::FieldCodec.ForFloat(26);
- private readonly pbc::RepeatedField electricalCurrent_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField ElectricalCurrent {
- get { return electricalCurrent_; }
+ if (other.encNotRegulated2_ != null) {
+ if (encNotRegulated2_ == null) {
+ encNotRegulated2_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.NotRegulatedConverter();
+ }
+ EncNotRegulated2.MergeFrom(other.EncNotRegulated2);
}
-
- /// Field number for the "electrical_power" field.
- public const int ElectricalPowerFieldNumber = 4;
- private static readonly pb::FieldCodec _repeated_electricalPower_codec
- = pb::FieldCodec.ForFloat(34);
- private readonly pbc::RepeatedField electricalPower_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField ElectricalPower {
- get { return electricalPower_; }
+ if (other.encRegulated1_ != null) {
+ if (encRegulated1_ == null) {
+ encRegulated1_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.RegulatedConverter();
+ }
+ EncRegulated1.MergeFrom(other.EncRegulated1);
}
-
- /// Field number for the "electrical_tension_700v" field.
- public const int ElectricalTension700VFieldNumber = 5;
- private static readonly pb::FieldCodec _repeated_electricalTension700V_codec
- = pb::FieldCodec.ForFloat(42);
- private readonly pbc::RepeatedField electricalTension700V_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField ElectricalTension700V {
- get { return electricalTension700V_; }
+ if (other.encRegulated2_ != null) {
+ if (encRegulated2_ == null) {
+ encRegulated2_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.RegulatedConverter();
+ }
+ EncRegulated2.MergeFrom(other.EncRegulated2);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as NotRegulatedConverter);
+ if (other.encEmbeddedSystem_ != null) {
+ if (encEmbeddedSystem_ == null) {
+ encEmbeddedSystem_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.EmbeddedSystem();
+ }
+ EncEmbeddedSystem.MergeFrom(other.EncEmbeddedSystem);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(NotRegulatedConverter other) {
- if (ReferenceEquals(other, null)) {
- return false;
+ if (other.encMotorController1_ != null) {
+ if (encMotorController1_ == null) {
+ encMotorController1_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController();
}
- if (ReferenceEquals(other, this)) {
- return true;
+ EncMotorController1.MergeFrom(other.EncMotorController1);
+ }
+ if (other.encMotorController2_ != null) {
+ if (encMotorController2_ == null) {
+ encMotorController2_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController();
}
- if(!internalTemperature_.Equals(other.internalTemperature_)) return false;
- if(!internalPressure_.Equals(other.internalPressure_)) return false;
- if(!electricalCurrent_.Equals(other.electricalCurrent_)) return false;
- if(!electricalPower_.Equals(other.electricalPower_)) return false;
- if(!electricalTension700V_.Equals(other.electricalTension700V_)) return false;
- return Equals(_unknownFields, other._unknownFields);
+ EncMotorController2.MergeFrom(other.EncMotorController2);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- hash ^= internalTemperature_.GetHashCode();
- hash ^= internalPressure_.GetHashCode();
- hash ^= electricalCurrent_.GetHashCode();
- hash ^= electricalPower_.GetHashCode();
- hash ^= electricalTension700V_.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
+ if (other.encMotorController3_ != null) {
+ if (encMotorController3_ == null) {
+ encMotorController3_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController();
+ }
+ EncMotorController3.MergeFrom(other.EncMotorController3);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
+ if (other.encMotorController4_ != null) {
+ if (encMotorController4_ == null) {
+ encMotorController4_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController();
+ }
+ EncMotorController4.MergeFrom(other.EncMotorController4);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- internalTemperature_.WriteTo(output, _repeated_internalTemperature_codec);
- internalPressure_.WriteTo(output, _repeated_internalPressure_codec);
- electricalCurrent_.WriteTo(output, _repeated_electricalCurrent_codec);
- electricalPower_.WriteTo(output, _repeated_electricalPower_codec);
- electricalTension700V_.WriteTo(output, _repeated_electricalTension700V_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
+ if (other.encMotorController5_ != null) {
+ if (encMotorController5_ == null) {
+ encMotorController5_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController();
}
+ EncMotorController5.MergeFrom(other.EncMotorController5);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- size += internalTemperature_.CalculateSize(_repeated_internalTemperature_codec);
- size += internalPressure_.CalculateSize(_repeated_internalPressure_codec);
- size += electricalCurrent_.CalculateSize(_repeated_electricalCurrent_codec);
- size += electricalPower_.CalculateSize(_repeated_electricalPower_codec);
- size += electricalTension700V_.CalculateSize(_repeated_electricalTension700V_codec);
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
+ if (other.encForwardLocomotive_ != null) {
+ if (encForwardLocomotive_ == null) {
+ encForwardLocomotive_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.Locomotive();
+ }
+ EncForwardLocomotive.MergeFrom(other.EncForwardLocomotive);
}
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(NotRegulatedConverter other) {
- if (other == null) {
- return;
- }
- internalTemperature_.Add(other.internalTemperature_);
- internalPressure_.Add(other.internalPressure_);
- electricalCurrent_.Add(other.electricalCurrent_);
- electricalPower_.Add(other.electricalPower_);
- electricalTension700V_.Add(other.electricalTension700V_);
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ if (other.encBackwardLocomotive_ != null) {
+ if (encBackwardLocomotive_ == null) {
+ encBackwardLocomotive_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.Locomotive();
+ }
+ EncBackwardLocomotive.MergeFrom(other.EncBackwardLocomotive);
+ }
+ if (other.systemPumps_ != null) {
+ if (systemPumps_ == null) {
+ systemPumps_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine();
+ }
+ SystemPumps.MergeFrom(other.SystemPumps);
+ }
+ if (other.encReactor_ != null) {
+ if (encReactor_ == null) {
+ encReactor_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.SgnReactor();
+ }
+ EncReactor.MergeFrom(other.EncReactor);
}
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10:
- case 13: {
- internalTemperature_.AddEntriesFrom(input, _repeated_internalTemperature_codec);
- break;
- }
- case 18:
- case 21: {
- internalPressure_.AddEntriesFrom(input, _repeated_internalPressure_codec);
- break;
- }
- case 26:
- case 29: {
- electricalCurrent_.AddEntriesFrom(input, _repeated_electricalCurrent_codec);
- break;
- }
- case 34:
- case 37: {
- electricalPower_.AddEntriesFrom(input, _repeated_electricalPower_codec);
- break;
- }
- case 42:
- case 45: {
- electricalTension700V_.AddEntriesFrom(input, _repeated_electricalTension700V_codec);
- break;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10: {
+ if (timestamp_ == null) {
+ timestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
+ }
+ input.ReadMessage(timestamp_);
+ break;
+ }
+ case 18: {
+ if (encReception_ == null) {
+ encReception_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.UmbilicalReception();
+ }
+ input.ReadMessage(encReception_);
+ break;
+ }
+ case 26: {
+ if (encNotRegulated1_ == null) {
+ encNotRegulated1_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.NotRegulatedConverter();
+ }
+ input.ReadMessage(encNotRegulated1_);
+ break;
+ }
+ case 34: {
+ if (encNotRegulated2_ == null) {
+ encNotRegulated2_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.NotRegulatedConverter();
+ }
+ input.ReadMessage(encNotRegulated2_);
+ break;
+ }
+ case 42: {
+ if (encRegulated1_ == null) {
+ encRegulated1_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.RegulatedConverter();
+ }
+ input.ReadMessage(encRegulated1_);
+ break;
+ }
+ case 50: {
+ if (encRegulated2_ == null) {
+ encRegulated2_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.RegulatedConverter();
+ }
+ input.ReadMessage(encRegulated2_);
+ break;
+ }
+ case 58: {
+ if (encEmbeddedSystem_ == null) {
+ encEmbeddedSystem_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.EmbeddedSystem();
+ }
+ input.ReadMessage(encEmbeddedSystem_);
+ break;
+ }
+ case 66: {
+ if (encMotorController1_ == null) {
+ encMotorController1_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController();
+ }
+ input.ReadMessage(encMotorController1_);
+ break;
+ }
+ case 74: {
+ if (encMotorController2_ == null) {
+ encMotorController2_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController();
+ }
+ input.ReadMessage(encMotorController2_);
+ break;
+ }
+ case 82: {
+ if (encMotorController3_ == null) {
+ encMotorController3_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController();
+ }
+ input.ReadMessage(encMotorController3_);
+ break;
+ }
+ case 90: {
+ if (encMotorController4_ == null) {
+ encMotorController4_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController();
+ }
+ input.ReadMessage(encMotorController4_);
+ break;
+ }
+ case 98: {
+ if (encMotorController5_ == null) {
+ encMotorController5_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.MotorController();
}
+ input.ReadMessage(encMotorController5_);
+ break;
+ }
+ case 106: {
+ if (encForwardLocomotive_ == null) {
+ encForwardLocomotive_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.Locomotive();
+ }
+ input.ReadMessage(encForwardLocomotive_);
+ break;
+ }
+ case 114: {
+ if (encBackwardLocomotive_ == null) {
+ encBackwardLocomotive_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.Locomotive();
+ }
+ input.ReadMessage(encBackwardLocomotive_);
+ break;
+ }
+ case 122: {
+ if (systemPumps_ == null) {
+ systemPumps_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.PumpsEngine();
+ }
+ input.ReadMessage(systemPumps_);
+ break;
+ }
+ case 130: {
+ if (encReactor_ == null) {
+ encReactor_ = new global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Types.SgnReactor();
+ }
+ input.ReadMessage(encReactor_);
+ break;
}
}
}
-
}
- public sealed partial class RegulatedConverter : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegulatedConverter());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::AnnelidaSensors.Descriptor.NestedTypes[2]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public RegulatedConverter() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public RegulatedConverter(RegulatedConverter other) : this() {
- internalTemperature_ = other.internalTemperature_.Clone();
- internalPressure_ = other.internalPressure_.Clone();
- electricalCurrent_ = other.electricalCurrent_.Clone();
- electricalPower_ = other.electricalPower_.Clone();
- electricalTension_ = other.electricalTension_.Clone();
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
+ #region Nested types
+ /// Container for nested types declared in the AnnelidaSensors message type.
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static partial class Types {
+ public sealed partial class UmbilicalReception : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UmbilicalReception());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public RegulatedConverter Clone() {
- return new RegulatedConverter(this);
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Descriptor.NestedTypes[0]; }
+ }
- /// Field number for the "internal_temperature" field.
- public const int InternalTemperatureFieldNumber = 1;
- private static readonly pb::FieldCodec _repeated_internalTemperature_codec
- = pb::FieldCodec.ForFloat(10);
- private readonly pbc::RepeatedField internalTemperature_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField InternalTemperature {
- get { return internalTemperature_; }
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
- /// Field number for the "internal_pressure" field.
- public const int InternalPressureFieldNumber = 2;
- private static readonly pb::FieldCodec _repeated_internalPressure_codec
- = pb::FieldCodec.ForFloat(18);
- private readonly pbc::RepeatedField internalPressure_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField InternalPressure {
- get { return internalPressure_; }
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public UmbilicalReception() {
+ OnConstruction();
+ }
- /// Field number for the "electrical_current" field.
- public const int ElectricalCurrentFieldNumber = 3;
- private static readonly pb::FieldCodec _repeated_electricalCurrent_codec
- = pb::FieldCodec.ForFloat(26);
- private readonly pbc::RepeatedField electricalCurrent_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField ElectricalCurrent {
- get { return electricalCurrent_; }
- }
+ partial void OnConstruction();
- /// Field number for the "electrical_power" field.
- public const int ElectricalPowerFieldNumber = 4;
- private static readonly pb::FieldCodec _repeated_electricalPower_codec
- = pb::FieldCodec.ForFloat(34);
- private readonly pbc::RepeatedField electricalPower_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField ElectricalPower {
- get { return electricalPower_; }
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public UmbilicalReception(UmbilicalReception other) : this() {
+ traction_ = other.traction_;
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
- /// Field number for the "electrical_tension" field.
- public const int ElectricalTensionFieldNumber = 5;
- private static readonly pb::FieldCodec _repeated_electricalTension_codec
- = pb::FieldCodec.ForFloat(42);
- private readonly pbc::RepeatedField electricalTension_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField ElectricalTension {
- get { return electricalTension_; }
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public UmbilicalReception Clone() {
+ return new UmbilicalReception(this);
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as RegulatedConverter);
- }
+ /// Field number for the "traction" field.
+ public const int TractionFieldNumber = 1;
+ private uint traction_;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint Traction {
+ get { return traction_; }
+ set {
+ traction_ = value;
+ }
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(RegulatedConverter other) {
- if (ReferenceEquals(other, null)) {
- return false;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as UmbilicalReception);
}
- if (ReferenceEquals(other, this)) {
- return true;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(UmbilicalReception other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (Traction != other.Traction) return false;
+ return Equals(_unknownFields, other._unknownFields);
}
- if(!internalTemperature_.Equals(other.internalTemperature_)) return false;
- if(!internalPressure_.Equals(other.internalPressure_)) return false;
- if(!electricalCurrent_.Equals(other.electricalCurrent_)) return false;
- if(!electricalPower_.Equals(other.electricalPower_)) return false;
- if(!electricalTension_.Equals(other.electricalTension_)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- hash ^= internalTemperature_.GetHashCode();
- hash ^= internalPressure_.GetHashCode();
- hash ^= electricalCurrent_.GetHashCode();
- hash ^= electricalPower_.GetHashCode();
- hash ^= electricalTension_.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (Traction != 0) hash ^= Traction.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- internalTemperature_.WriteTo(output, _repeated_internalTemperature_codec);
- internalPressure_.WriteTo(output, _repeated_internalPressure_codec);
- electricalCurrent_.WriteTo(output, _repeated_electricalCurrent_codec);
- electricalPower_.WriteTo(output, _repeated_electricalPower_codec);
- electricalTension_.WriteTo(output, _repeated_electricalTension_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (Traction != 0) {
+ output.WriteRawTag(8);
+ output.WriteUInt32(Traction);
+ }
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
}
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- size += internalTemperature_.CalculateSize(_repeated_internalTemperature_codec);
- size += internalPressure_.CalculateSize(_repeated_internalPressure_codec);
- size += electricalCurrent_.CalculateSize(_repeated_electricalCurrent_codec);
- size += electricalPower_.CalculateSize(_repeated_electricalPower_codec);
- size += electricalTension_.CalculateSize(_repeated_electricalTension_codec);
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (Traction != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Traction);
+ }
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(RegulatedConverter other) {
- if (other == null) {
- return;
- }
- internalTemperature_.Add(other.internalTemperature_);
- internalPressure_.Add(other.internalPressure_);
- electricalCurrent_.Add(other.electricalCurrent_);
- electricalPower_.Add(other.electricalPower_);
- electricalTension_.Add(other.electricalTension_);
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(UmbilicalReception other) {
+ if (other == null) {
+ return;
+ }
+ if (other.Traction != 0) {
+ Traction = other.Traction;
+ }
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10:
- case 13: {
- internalTemperature_.AddEntriesFrom(input, _repeated_internalTemperature_codec);
- break;
- }
- case 18:
- case 21: {
- internalPressure_.AddEntriesFrom(input, _repeated_internalPressure_codec);
- break;
- }
- case 26:
- case 29: {
- electricalCurrent_.AddEntriesFrom(input, _repeated_electricalCurrent_codec);
- break;
- }
- case 34:
- case 37: {
- electricalPower_.AddEntriesFrom(input, _repeated_electricalPower_codec);
- break;
- }
- case 42:
- case 45: {
- electricalTension_.AddEntriesFrom(input, _repeated_electricalTension_codec);
- break;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 8: {
+ Traction = input.ReadUInt32();
+ break;
+ }
}
}
}
- }
-
- }
-
- public sealed partial class EmbeddedSystem : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EmbeddedSystem());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::AnnelidaSensors.Descriptor.NestedTypes[3]; }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public EmbeddedSystem() {
- OnConstruction();
}
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public EmbeddedSystem(EmbeddedSystem other) : this() {
- internalTemperature_ = other.internalTemperature_.Clone();
- internalPressure_ = other.internalPressure_.Clone();
- externalModulePressure_ = other.externalModulePressure_.Clone();
- rotationX_ = other.rotationX_.Clone();
- rotationY_ = other.rotationY_.Clone();
- rotationZ_ = other.rotationZ_.Clone();
- displacementX_ = other.displacementX_.Clone();
- displacementY_ = other.displacementY_.Clone();
- displacementZ_ = other.displacementZ_.Clone();
- accelerationX_ = other.accelerationX_.Clone();
- accelerationY_ = other.accelerationY_.Clone();
- accelerationZ_ = other.accelerationZ_.Clone();
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public EmbeddedSystem Clone() {
- return new EmbeddedSystem(this);
- }
-
- /// Field number for the "internal_temperature" field.
- public const int InternalTemperatureFieldNumber = 1;
- private static readonly pb::FieldCodec _repeated_internalTemperature_codec
- = pb::FieldCodec.ForFloat(10);
- private readonly pbc::RepeatedField internalTemperature_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField InternalTemperature {
- get { return internalTemperature_; }
- }
-
- /// Field number for the "internal_pressure" field.
- public const int InternalPressureFieldNumber = 2;
- private static readonly pb::FieldCodec _repeated_internalPressure_codec
- = pb::FieldCodec.ForFloat(18);
- private readonly pbc::RepeatedField internalPressure_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField InternalPressure {
- get { return internalPressure_; }
- }
-
- /// Field number for the "external_module_pressure" field.
- public const int ExternalModulePressureFieldNumber = 3;
- private static readonly pb::FieldCodec _repeated_externalModulePressure_codec
- = pb::FieldCodec.ForFloat(26);
- private readonly pbc::RepeatedField externalModulePressure_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField ExternalModulePressure {
- get { return externalModulePressure_; }
- }
-
- /// Field number for the "rotation_x" field.
- public const int RotationXFieldNumber = 4;
- private static readonly pb::FieldCodec _repeated_rotationX_codec
- = pb::FieldCodec.ForFloat(34);
- private readonly pbc::RepeatedField rotationX_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField RotationX {
- get { return rotationX_; }
- }
-
- /// Field number for the "rotation_y" field.
- public const int RotationYFieldNumber = 5;
- private static readonly pb::FieldCodec _repeated_rotationY_codec
- = pb::FieldCodec.ForFloat(42);
- private readonly pbc::RepeatedField rotationY_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField RotationY {
- get { return rotationY_; }
- }
-
- /// Field number for the "rotation_z" field.
- public const int RotationZFieldNumber = 6;
- private static readonly pb::FieldCodec _repeated_rotationZ_codec
- = pb::FieldCodec.ForFloat(50);
- private readonly pbc::RepeatedField rotationZ_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField RotationZ {
- get { return rotationZ_; }
- }
+ public sealed partial class NotRegulatedConverter : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NotRegulatedConverter());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
- /// Field number for the "displacement_x" field.
- public const int DisplacementXFieldNumber = 7;
- private static readonly pb::FieldCodec _repeated_displacementX_codec
- = pb::FieldCodec.ForFloat(58);
- private readonly pbc::RepeatedField displacementX_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField DisplacementX {
- get { return displacementX_; }
- }
-
- /// Field number for the "displacement_y" field.
- public const int DisplacementYFieldNumber = 8;
- private static readonly pb::FieldCodec _repeated_displacementY_codec
- = pb::FieldCodec.ForFloat(66);
- private readonly pbc::RepeatedField displacementY_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField DisplacementY {
- get { return displacementY_; }
- }
-
- /// Field number for the "displacement_z" field.
- public const int DisplacementZFieldNumber = 9;
- private static readonly pb::FieldCodec _repeated_displacementZ_codec
- = pb::FieldCodec.ForFloat(74);
- private readonly pbc::RepeatedField displacementZ_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField DisplacementZ {
- get { return displacementZ_; }
- }
-
- /// Field number for the "acceleration_x" field.
- public const int AccelerationXFieldNumber = 10;
- private static readonly pb::FieldCodec _repeated_accelerationX_codec
- = pb::FieldCodec.ForFloat(82);
- private readonly pbc::RepeatedField accelerationX_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField AccelerationX {
- get { return accelerationX_; }
- }
-
- /// Field number for the "acceleration_y" field.
- public const int AccelerationYFieldNumber = 11;
- private static readonly pb::FieldCodec _repeated_accelerationY_codec
- = pb::FieldCodec.ForFloat(90);
- private readonly pbc::RepeatedField accelerationY_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField AccelerationY {
- get { return accelerationY_; }
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Descriptor.NestedTypes[1]; }
+ }
- /// Field number for the "acceleration_z" field.
- public const int AccelerationZFieldNumber = 12;
- private static readonly pb::FieldCodec _repeated_accelerationZ_codec
- = pb::FieldCodec.ForFloat(98);
- private readonly pbc::RepeatedField accelerationZ_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField AccelerationZ {
- get { return accelerationZ_; }
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as EmbeddedSystem);
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public NotRegulatedConverter() {
+ OnConstruction();
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(EmbeddedSystem other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
- }
- if(!internalTemperature_.Equals(other.internalTemperature_)) return false;
- if(!internalPressure_.Equals(other.internalPressure_)) return false;
- if(!externalModulePressure_.Equals(other.externalModulePressure_)) return false;
- if(!rotationX_.Equals(other.rotationX_)) return false;
- if(!rotationY_.Equals(other.rotationY_)) return false;
- if(!rotationZ_.Equals(other.rotationZ_)) return false;
- if(!displacementX_.Equals(other.displacementX_)) return false;
- if(!displacementY_.Equals(other.displacementY_)) return false;
- if(!displacementZ_.Equals(other.displacementZ_)) return false;
- if(!accelerationX_.Equals(other.accelerationX_)) return false;
- if(!accelerationY_.Equals(other.accelerationY_)) return false;
- if(!accelerationZ_.Equals(other.accelerationZ_)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
+ partial void OnConstruction();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- hash ^= internalTemperature_.GetHashCode();
- hash ^= internalPressure_.GetHashCode();
- hash ^= externalModulePressure_.GetHashCode();
- hash ^= rotationX_.GetHashCode();
- hash ^= rotationY_.GetHashCode();
- hash ^= rotationZ_.GetHashCode();
- hash ^= displacementX_.GetHashCode();
- hash ^= displacementY_.GetHashCode();
- hash ^= displacementZ_.GetHashCode();
- hash ^= accelerationX_.GetHashCode();
- hash ^= accelerationY_.GetHashCode();
- hash ^= accelerationZ_.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public NotRegulatedConverter(NotRegulatedConverter other) : this() {
+ internalTemperature_ = other.internalTemperature_.Clone();
+ internalPressure_ = other.internalPressure_.Clone();
+ electricalCurrentC1_ = other.electricalCurrentC1_.Clone();
+ electricalCurrentC2_ = other.electricalCurrentC2_.Clone();
+ electricalCurrentC3_ = other.electricalCurrentC3_.Clone();
+ electricalPowerP1_ = other.electricalPowerP1_.Clone();
+ electricalPowerP2_ = other.electricalPowerP2_.Clone();
+ electricalPower3_ = other.electricalPower3_.Clone();
+ electricalTension700V_ = other.electricalTension700V_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public NotRegulatedConverter Clone() {
+ return new NotRegulatedConverter(this);
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- internalTemperature_.WriteTo(output, _repeated_internalTemperature_codec);
- internalPressure_.WriteTo(output, _repeated_internalPressure_codec);
- externalModulePressure_.WriteTo(output, _repeated_externalModulePressure_codec);
- rotationX_.WriteTo(output, _repeated_rotationX_codec);
- rotationY_.WriteTo(output, _repeated_rotationY_codec);
- rotationZ_.WriteTo(output, _repeated_rotationZ_codec);
- displacementX_.WriteTo(output, _repeated_displacementX_codec);
- displacementY_.WriteTo(output, _repeated_displacementY_codec);
- displacementZ_.WriteTo(output, _repeated_displacementZ_codec);
- accelerationX_.WriteTo(output, _repeated_accelerationX_codec);
- accelerationY_.WriteTo(output, _repeated_accelerationY_codec);
- accelerationZ_.WriteTo(output, _repeated_accelerationZ_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
+ /// Field number for the "internal_temperature" field.
+ public const int InternalTemperatureFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_internalTemperature_codec
+ = pb::FieldCodec.ForFloat(10);
+ private readonly pbc::RepeatedField internalTemperature_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField InternalTemperature {
+ get { return internalTemperature_; }
}
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- size += internalTemperature_.CalculateSize(_repeated_internalTemperature_codec);
- size += internalPressure_.CalculateSize(_repeated_internalPressure_codec);
- size += externalModulePressure_.CalculateSize(_repeated_externalModulePressure_codec);
- size += rotationX_.CalculateSize(_repeated_rotationX_codec);
- size += rotationY_.CalculateSize(_repeated_rotationY_codec);
- size += rotationZ_.CalculateSize(_repeated_rotationZ_codec);
- size += displacementX_.CalculateSize(_repeated_displacementX_codec);
- size += displacementY_.CalculateSize(_repeated_displacementY_codec);
- size += displacementZ_.CalculateSize(_repeated_displacementZ_codec);
- size += accelerationX_.CalculateSize(_repeated_accelerationX_codec);
- size += accelerationY_.CalculateSize(_repeated_accelerationY_codec);
- size += accelerationZ_.CalculateSize(_repeated_accelerationZ_codec);
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
+ /// Field number for the "internal_pressure" field.
+ public const int InternalPressureFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_internalPressure_codec
+ = pb::FieldCodec.ForFloat(18);
+ private readonly pbc::RepeatedField internalPressure_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField InternalPressure {
+ get { return internalPressure_; }
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(EmbeddedSystem other) {
- if (other == null) {
- return;
- }
- internalTemperature_.Add(other.internalTemperature_);
- internalPressure_.Add(other.internalPressure_);
- externalModulePressure_.Add(other.externalModulePressure_);
- rotationX_.Add(other.rotationX_);
- rotationY_.Add(other.rotationY_);
- rotationZ_.Add(other.rotationZ_);
- displacementX_.Add(other.displacementX_);
- displacementY_.Add(other.displacementY_);
- displacementZ_.Add(other.displacementZ_);
- accelerationX_.Add(other.accelerationX_);
- accelerationY_.Add(other.accelerationY_);
- accelerationZ_.Add(other.accelerationZ_);
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
+ /// Field number for the "electrical_current_c1" field.
+ public const int ElectricalCurrentC1FieldNumber = 3;
+ private static readonly pb::FieldCodec _repeated_electricalCurrentC1_codec
+ = pb::FieldCodec.ForFloat(26);
+ private readonly pbc::RepeatedField electricalCurrentC1_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalCurrentC1 {
+ get { return electricalCurrentC1_; }
+ }
+
+ /// Field number for the "electrical_current_c2" field.
+ public const int ElectricalCurrentC2FieldNumber = 4;
+ private static readonly pb::FieldCodec _repeated_electricalCurrentC2_codec
+ = pb::FieldCodec.ForFloat(34);
+ private readonly pbc::RepeatedField electricalCurrentC2_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalCurrentC2 {
+ get { return electricalCurrentC2_; }
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10:
- case 13: {
- internalTemperature_.AddEntriesFrom(input, _repeated_internalTemperature_codec);
- break;
- }
- case 18:
- case 21: {
- internalPressure_.AddEntriesFrom(input, _repeated_internalPressure_codec);
- break;
- }
- case 26:
- case 29: {
- externalModulePressure_.AddEntriesFrom(input, _repeated_externalModulePressure_codec);
- break;
- }
- case 34:
- case 37: {
- rotationX_.AddEntriesFrom(input, _repeated_rotationX_codec);
- break;
- }
- case 42:
- case 45: {
- rotationY_.AddEntriesFrom(input, _repeated_rotationY_codec);
- break;
- }
- case 50:
- case 53: {
- rotationZ_.AddEntriesFrom(input, _repeated_rotationZ_codec);
- break;
- }
- case 58:
- case 61: {
- displacementX_.AddEntriesFrom(input, _repeated_displacementX_codec);
- break;
- }
- case 66:
- case 69: {
- displacementY_.AddEntriesFrom(input, _repeated_displacementY_codec);
- break;
- }
- case 74:
- case 77: {
- displacementZ_.AddEntriesFrom(input, _repeated_displacementZ_codec);
- break;
- }
- case 82:
- case 85: {
- accelerationX_.AddEntriesFrom(input, _repeated_accelerationX_codec);
- break;
- }
- case 90:
- case 93: {
- accelerationY_.AddEntriesFrom(input, _repeated_accelerationY_codec);
- break;
- }
- case 98:
- case 101: {
- accelerationZ_.AddEntriesFrom(input, _repeated_accelerationZ_codec);
- break;
+ /// Field number for the "electrical_current_c3" field.
+ public const int ElectricalCurrentC3FieldNumber = 5;
+ private static readonly pb::FieldCodec _repeated_electricalCurrentC3_codec
+ = pb::FieldCodec.ForFloat(42);
+ private readonly pbc::RepeatedField electricalCurrentC3_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalCurrentC3 {
+ get { return electricalCurrentC3_; }
+ }
+
+ /// Field number for the "electrical_power_p1" field.
+ public const int ElectricalPowerP1FieldNumber = 6;
+ private static readonly pb::FieldCodec _repeated_electricalPowerP1_codec
+ = pb::FieldCodec.ForFloat(50);
+ private readonly pbc::RepeatedField electricalPowerP1_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalPowerP1 {
+ get { return electricalPowerP1_; }
+ }
+
+ /// Field number for the "electrical_power_p2" field.
+ public const int ElectricalPowerP2FieldNumber = 7;
+ private static readonly pb::FieldCodec _repeated_electricalPowerP2_codec
+ = pb::FieldCodec.ForFloat(58);
+ private readonly pbc::RepeatedField electricalPowerP2_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalPowerP2 {
+ get { return electricalPowerP2_; }
+ }
+
+ /// Field number for the "electrical_power_3" field.
+ public const int ElectricalPower3FieldNumber = 8;
+ private static readonly pb::FieldCodec _repeated_electricalPower3_codec
+ = pb::FieldCodec.ForFloat(66);
+ private readonly pbc::RepeatedField electricalPower3_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalPower3 {
+ get { return electricalPower3_; }
+ }
+
+ /// Field number for the "electrical_tension_700v" field.
+ public const int ElectricalTension700VFieldNumber = 9;
+ private static readonly pb::FieldCodec _repeated_electricalTension700V_codec
+ = pb::FieldCodec.ForFloat(74);
+ private readonly pbc::RepeatedField electricalTension700V_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalTension700V {
+ get { return electricalTension700V_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as NotRegulatedConverter);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(NotRegulatedConverter other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!internalTemperature_.Equals(other.internalTemperature_)) return false;
+ if(!internalPressure_.Equals(other.internalPressure_)) return false;
+ if(!electricalCurrentC1_.Equals(other.electricalCurrentC1_)) return false;
+ if(!electricalCurrentC2_.Equals(other.electricalCurrentC2_)) return false;
+ if(!electricalCurrentC3_.Equals(other.electricalCurrentC3_)) return false;
+ if(!electricalPowerP1_.Equals(other.electricalPowerP1_)) return false;
+ if(!electricalPowerP2_.Equals(other.electricalPowerP2_)) return false;
+ if(!electricalPower3_.Equals(other.electricalPower3_)) return false;
+ if(!electricalTension700V_.Equals(other.electricalTension700V_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= internalTemperature_.GetHashCode();
+ hash ^= internalPressure_.GetHashCode();
+ hash ^= electricalCurrentC1_.GetHashCode();
+ hash ^= electricalCurrentC2_.GetHashCode();
+ hash ^= electricalCurrentC3_.GetHashCode();
+ hash ^= electricalPowerP1_.GetHashCode();
+ hash ^= electricalPowerP2_.GetHashCode();
+ hash ^= electricalPower3_.GetHashCode();
+ hash ^= electricalTension700V_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ internalTemperature_.WriteTo(output, _repeated_internalTemperature_codec);
+ internalPressure_.WriteTo(output, _repeated_internalPressure_codec);
+ electricalCurrentC1_.WriteTo(output, _repeated_electricalCurrentC1_codec);
+ electricalCurrentC2_.WriteTo(output, _repeated_electricalCurrentC2_codec);
+ electricalCurrentC3_.WriteTo(output, _repeated_electricalCurrentC3_codec);
+ electricalPowerP1_.WriteTo(output, _repeated_electricalPowerP1_codec);
+ electricalPowerP2_.WriteTo(output, _repeated_electricalPowerP2_codec);
+ electricalPower3_.WriteTo(output, _repeated_electricalPower3_codec);
+ electricalTension700V_.WriteTo(output, _repeated_electricalTension700V_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ size += internalTemperature_.CalculateSize(_repeated_internalTemperature_codec);
+ size += internalPressure_.CalculateSize(_repeated_internalPressure_codec);
+ size += electricalCurrentC1_.CalculateSize(_repeated_electricalCurrentC1_codec);
+ size += electricalCurrentC2_.CalculateSize(_repeated_electricalCurrentC2_codec);
+ size += electricalCurrentC3_.CalculateSize(_repeated_electricalCurrentC3_codec);
+ size += electricalPowerP1_.CalculateSize(_repeated_electricalPowerP1_codec);
+ size += electricalPowerP2_.CalculateSize(_repeated_electricalPowerP2_codec);
+ size += electricalPower3_.CalculateSize(_repeated_electricalPower3_codec);
+ size += electricalTension700V_.CalculateSize(_repeated_electricalTension700V_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(NotRegulatedConverter other) {
+ if (other == null) {
+ return;
+ }
+ internalTemperature_.Add(other.internalTemperature_);
+ internalPressure_.Add(other.internalPressure_);
+ electricalCurrentC1_.Add(other.electricalCurrentC1_);
+ electricalCurrentC2_.Add(other.electricalCurrentC2_);
+ electricalCurrentC3_.Add(other.electricalCurrentC3_);
+ electricalPowerP1_.Add(other.electricalPowerP1_);
+ electricalPowerP2_.Add(other.electricalPowerP2_);
+ electricalPower3_.Add(other.electricalPower3_);
+ electricalTension700V_.Add(other.electricalTension700V_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10:
+ case 13: {
+ internalTemperature_.AddEntriesFrom(input, _repeated_internalTemperature_codec);
+ break;
+ }
+ case 18:
+ case 21: {
+ internalPressure_.AddEntriesFrom(input, _repeated_internalPressure_codec);
+ break;
+ }
+ case 26:
+ case 29: {
+ electricalCurrentC1_.AddEntriesFrom(input, _repeated_electricalCurrentC1_codec);
+ break;
+ }
+ case 34:
+ case 37: {
+ electricalCurrentC2_.AddEntriesFrom(input, _repeated_electricalCurrentC2_codec);
+ break;
+ }
+ case 42:
+ case 45: {
+ electricalCurrentC3_.AddEntriesFrom(input, _repeated_electricalCurrentC3_codec);
+ break;
+ }
+ case 50:
+ case 53: {
+ electricalPowerP1_.AddEntriesFrom(input, _repeated_electricalPowerP1_codec);
+ break;
+ }
+ case 58:
+ case 61: {
+ electricalPowerP2_.AddEntriesFrom(input, _repeated_electricalPowerP2_codec);
+ break;
+ }
+ case 66:
+ case 69: {
+ electricalPower3_.AddEntriesFrom(input, _repeated_electricalPower3_codec);
+ break;
+ }
+ case 74:
+ case 77: {
+ electricalTension700V_.AddEntriesFrom(input, _repeated_electricalTension700V_codec);
+ break;
+ }
}
}
}
- }
- }
-
- public sealed partial class MotorController : pb::IMessage {
- private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MotorController());
- private pb::UnknownFieldSet _unknownFields;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pb::MessageParser Parser { get { return _parser; } }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public static pbr::MessageDescriptor Descriptor {
- get { return global::AnnelidaSensors.Descriptor.NestedTypes[4]; }
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- pbr::MessageDescriptor pb::IMessage.Descriptor {
- get { return Descriptor; }
- }
+ public sealed partial class RegulatedConverter : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RegulatedConverter());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public MotorController() {
- OnConstruction();
- }
-
- partial void OnConstruction();
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public MotorController(MotorController other) : this() {
- internalTemperature_ = other.internalTemperature_.Clone();
- internalPressure_ = other.internalPressure_.Clone();
- electricalCurrent_ = other.electricalCurrent_.Clone();
- electricalTension_ = other.electricalTension_.Clone();
- _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Descriptor.NestedTypes[2]; }
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public MotorController Clone() {
- return new MotorController(this);
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
- /// Field number for the "internal_temperature" field.
- public const int InternalTemperatureFieldNumber = 1;
- private static readonly pb::FieldCodec _repeated_internalTemperature_codec
- = pb::FieldCodec.ForFloat(10);
- private readonly pbc::RepeatedField internalTemperature_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField InternalTemperature {
- get { return internalTemperature_; }
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public RegulatedConverter() {
+ OnConstruction();
+ }
- /// Field number for the "internal_pressure" field.
- public const int InternalPressureFieldNumber = 2;
- private static readonly pb::FieldCodec _repeated_internalPressure_codec
- = pb::FieldCodec.ForFloat(18);
- private readonly pbc::RepeatedField internalPressure_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField InternalPressure {
- get { return internalPressure_; }
- }
+ partial void OnConstruction();
- /// Field number for the "electrical_current" field.
- public const int ElectricalCurrentFieldNumber = 3;
- private static readonly pb::FieldCodec _repeated_electricalCurrent_codec
- = pb::FieldCodec.ForFloat(26);
- private readonly pbc::RepeatedField electricalCurrent_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField ElectricalCurrent {
- get { return electricalCurrent_; }
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public RegulatedConverter(RegulatedConverter other) : this() {
+ internalTemperature_ = other.internalTemperature_.Clone();
+ internalPressure_ = other.internalPressure_.Clone();
+ electricalCurrentC1_ = other.electricalCurrentC1_.Clone();
+ electricalCurrentC2_ = other.electricalCurrentC2_.Clone();
+ electricalCurrentC3_ = other.electricalCurrentC3_.Clone();
+ electricalCurrentC4_ = other.electricalCurrentC4_.Clone();
+ electricalPowerP1_ = other.electricalPowerP1_.Clone();
+ electricalPowerP2_ = other.electricalPowerP2_.Clone();
+ electricalPowerP3_ = other.electricalPowerP3_.Clone();
+ electricalPowerP4_ = other.electricalPowerP4_.Clone();
+ electricalTension_ = other.electricalTension_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public RegulatedConverter Clone() {
+ return new RegulatedConverter(this);
+ }
- /// Field number for the "electrical_tension" field.
- public const int ElectricalTensionFieldNumber = 4;
- private static readonly pb::FieldCodec _repeated_electricalTension_codec
- = pb::FieldCodec.ForFloat(34);
- private readonly pbc::RepeatedField electricalTension_ = new pbc::RepeatedField();
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public pbc::RepeatedField ElectricalTension {
- get { return electricalTension_; }
- }
+ /// Field number for the "internal_temperature" field.
+ public const int InternalTemperatureFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_internalTemperature_codec
+ = pb::FieldCodec.ForFloat(10);
+ private readonly pbc::RepeatedField internalTemperature_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField InternalTemperature {
+ get { return internalTemperature_; }
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override bool Equals(object other) {
- return Equals(other as MotorController);
- }
+ /// Field number for the "internal_pressure" field.
+ public const int InternalPressureFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_internalPressure_codec
+ = pb::FieldCodec.ForFloat(18);
+ private readonly pbc::RepeatedField internalPressure_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField InternalPressure {
+ get { return internalPressure_; }
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public bool Equals(MotorController other) {
- if (ReferenceEquals(other, null)) {
- return false;
- }
- if (ReferenceEquals(other, this)) {
- return true;
+ /// Field number for the "electrical_current_c1" field.
+ public const int ElectricalCurrentC1FieldNumber = 3;
+ private static readonly pb::FieldCodec _repeated_electricalCurrentC1_codec
+ = pb::FieldCodec.ForFloat(26);
+ private readonly pbc::RepeatedField electricalCurrentC1_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalCurrentC1 {
+ get { return electricalCurrentC1_; }
+ }
+
+ /// Field number for the "electrical_current_c2" field.
+ public const int ElectricalCurrentC2FieldNumber = 4;
+ private static readonly pb::FieldCodec _repeated_electricalCurrentC2_codec
+ = pb::FieldCodec.ForFloat(34);
+ private readonly pbc::RepeatedField electricalCurrentC2_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalCurrentC2 {
+ get { return electricalCurrentC2_; }
+ }
+
+ /// Field number for the "electrical_current_c3" field.
+ public const int ElectricalCurrentC3FieldNumber = 5;
+ private static readonly pb::FieldCodec _repeated_electricalCurrentC3_codec
+ = pb::FieldCodec.ForFloat(42);
+ private readonly pbc::RepeatedField electricalCurrentC3_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalCurrentC3 {
+ get { return electricalCurrentC3_; }
+ }
+
+ /// Field number for the "electrical_current_c4" field.
+ public const int ElectricalCurrentC4FieldNumber = 6;
+ private static readonly pb::FieldCodec _repeated_electricalCurrentC4_codec
+ = pb::FieldCodec.ForFloat(50);
+ private readonly pbc::RepeatedField electricalCurrentC4_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalCurrentC4 {
+ get { return electricalCurrentC4_; }
+ }
+
+ /// Field number for the "electrical_power_p1" field.
+ public const int ElectricalPowerP1FieldNumber = 7;
+ private static readonly pb::FieldCodec _repeated_electricalPowerP1_codec
+ = pb::FieldCodec.ForFloat(58);
+ private readonly pbc::RepeatedField electricalPowerP1_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalPowerP1 {
+ get { return electricalPowerP1_; }
+ }
+
+ /// Field number for the "electrical_power_p2" field.
+ public const int ElectricalPowerP2FieldNumber = 8;
+ private static readonly pb::FieldCodec _repeated_electricalPowerP2_codec
+ = pb::FieldCodec.ForFloat(66);
+ private readonly pbc::RepeatedField electricalPowerP2_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalPowerP2 {
+ get { return electricalPowerP2_; }
+ }
+
+ /// Field number for the "electrical_power_p3" field.
+ public const int ElectricalPowerP3FieldNumber = 9;
+ private static readonly pb::FieldCodec _repeated_electricalPowerP3_codec
+ = pb::FieldCodec.ForFloat(74);
+ private readonly pbc::RepeatedField electricalPowerP3_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalPowerP3 {
+ get { return electricalPowerP3_; }
+ }
+
+ /// Field number for the "electrical_power_p4" field.
+ public const int ElectricalPowerP4FieldNumber = 10;
+ private static readonly pb::FieldCodec _repeated_electricalPowerP4_codec
+ = pb::FieldCodec.ForFloat(82);
+ private readonly pbc::RepeatedField electricalPowerP4_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalPowerP4 {
+ get { return electricalPowerP4_; }
+ }
+
+ /// Field number for the "electrical_tension" field.
+ public const int ElectricalTensionFieldNumber = 11;
+ private static readonly pb::FieldCodec _repeated_electricalTension_codec
+ = pb::FieldCodec.ForFloat(90);
+ private readonly pbc::RepeatedField electricalTension_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ElectricalTension {
+ get { return electricalTension_; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as RegulatedConverter);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(RegulatedConverter other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if(!internalTemperature_.Equals(other.internalTemperature_)) return false;
+ if(!internalPressure_.Equals(other.internalPressure_)) return false;
+ if(!electricalCurrentC1_.Equals(other.electricalCurrentC1_)) return false;
+ if(!electricalCurrentC2_.Equals(other.electricalCurrentC2_)) return false;
+ if(!electricalCurrentC3_.Equals(other.electricalCurrentC3_)) return false;
+ if(!electricalCurrentC4_.Equals(other.electricalCurrentC4_)) return false;
+ if(!electricalPowerP1_.Equals(other.electricalPowerP1_)) return false;
+ if(!electricalPowerP2_.Equals(other.electricalPowerP2_)) return false;
+ if(!electricalPowerP3_.Equals(other.electricalPowerP3_)) return false;
+ if(!electricalPowerP4_.Equals(other.electricalPowerP4_)) return false;
+ if(!electricalTension_.Equals(other.electricalTension_)) return false;
+ return Equals(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ hash ^= internalTemperature_.GetHashCode();
+ hash ^= internalPressure_.GetHashCode();
+ hash ^= electricalCurrentC1_.GetHashCode();
+ hash ^= electricalCurrentC2_.GetHashCode();
+ hash ^= electricalCurrentC3_.GetHashCode();
+ hash ^= electricalCurrentC4_.GetHashCode();
+ hash ^= electricalPowerP1_.GetHashCode();
+ hash ^= electricalPowerP2_.GetHashCode();
+ hash ^= electricalPowerP3_.GetHashCode();
+ hash ^= electricalPowerP4_.GetHashCode();
+ hash ^= electricalTension_.GetHashCode();
+ if (_unknownFields != null) {
+ hash ^= _unknownFields.GetHashCode();
+ }
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ internalTemperature_.WriteTo(output, _repeated_internalTemperature_codec);
+ internalPressure_.WriteTo(output, _repeated_internalPressure_codec);
+ electricalCurrentC1_.WriteTo(output, _repeated_electricalCurrentC1_codec);
+ electricalCurrentC2_.WriteTo(output, _repeated_electricalCurrentC2_codec);
+ electricalCurrentC3_.WriteTo(output, _repeated_electricalCurrentC3_codec);
+ electricalCurrentC4_.WriteTo(output, _repeated_electricalCurrentC4_codec);
+ electricalPowerP1_.WriteTo(output, _repeated_electricalPowerP1_codec);
+ electricalPowerP2_.WriteTo(output, _repeated_electricalPowerP2_codec);
+ electricalPowerP3_.WriteTo(output, _repeated_electricalPowerP3_codec);
+ electricalPowerP4_.WriteTo(output, _repeated_electricalPowerP4_codec);
+ electricalTension_.WriteTo(output, _repeated_electricalTension_codec);
+ if (_unknownFields != null) {
+ _unknownFields.WriteTo(output);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ size += internalTemperature_.CalculateSize(_repeated_internalTemperature_codec);
+ size += internalPressure_.CalculateSize(_repeated_internalPressure_codec);
+ size += electricalCurrentC1_.CalculateSize(_repeated_electricalCurrentC1_codec);
+ size += electricalCurrentC2_.CalculateSize(_repeated_electricalCurrentC2_codec);
+ size += electricalCurrentC3_.CalculateSize(_repeated_electricalCurrentC3_codec);
+ size += electricalCurrentC4_.CalculateSize(_repeated_electricalCurrentC4_codec);
+ size += electricalPowerP1_.CalculateSize(_repeated_electricalPowerP1_codec);
+ size += electricalPowerP2_.CalculateSize(_repeated_electricalPowerP2_codec);
+ size += electricalPowerP3_.CalculateSize(_repeated_electricalPowerP3_codec);
+ size += electricalPowerP4_.CalculateSize(_repeated_electricalPowerP4_codec);
+ size += electricalTension_.CalculateSize(_repeated_electricalTension_codec);
+ if (_unknownFields != null) {
+ size += _unknownFields.CalculateSize();
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(RegulatedConverter other) {
+ if (other == null) {
+ return;
+ }
+ internalTemperature_.Add(other.internalTemperature_);
+ internalPressure_.Add(other.internalPressure_);
+ electricalCurrentC1_.Add(other.electricalCurrentC1_);
+ electricalCurrentC2_.Add(other.electricalCurrentC2_);
+ electricalCurrentC3_.Add(other.electricalCurrentC3_);
+ electricalCurrentC4_.Add(other.electricalCurrentC4_);
+ electricalPowerP1_.Add(other.electricalPowerP1_);
+ electricalPowerP2_.Add(other.electricalPowerP2_);
+ electricalPowerP3_.Add(other.electricalPowerP3_);
+ electricalPowerP4_.Add(other.electricalPowerP4_);
+ electricalTension_.Add(other.electricalTension_);
+ _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
+ break;
+ case 10:
+ case 13: {
+ internalTemperature_.AddEntriesFrom(input, _repeated_internalTemperature_codec);
+ break;
+ }
+ case 18:
+ case 21: {
+ internalPressure_.AddEntriesFrom(input, _repeated_internalPressure_codec);
+ break;
+ }
+ case 26:
+ case 29: {
+ electricalCurrentC1_.AddEntriesFrom(input, _repeated_electricalCurrentC1_codec);
+ break;
+ }
+ case 34:
+ case 37: {
+ electricalCurrentC2_.AddEntriesFrom(input, _repeated_electricalCurrentC2_codec);
+ break;
+ }
+ case 42:
+ case 45: {
+ electricalCurrentC3_.AddEntriesFrom(input, _repeated_electricalCurrentC3_codec);
+ break;
+ }
+ case 50:
+ case 53: {
+ electricalCurrentC4_.AddEntriesFrom(input, _repeated_electricalCurrentC4_codec);
+ break;
+ }
+ case 58:
+ case 61: {
+ electricalPowerP1_.AddEntriesFrom(input, _repeated_electricalPowerP1_codec);
+ break;
+ }
+ case 66:
+ case 69: {
+ electricalPowerP2_.AddEntriesFrom(input, _repeated_electricalPowerP2_codec);
+ break;
+ }
+ case 74:
+ case 77: {
+ electricalPowerP3_.AddEntriesFrom(input, _repeated_electricalPowerP3_codec);
+ break;
+ }
+ case 82:
+ case 85: {
+ electricalPowerP4_.AddEntriesFrom(input, _repeated_electricalPowerP4_codec);
+ break;
+ }
+ case 90:
+ case 93: {
+ electricalTension_.AddEntriesFrom(input, _repeated_electricalTension_codec);
+ break;
+ }
+ }
+ }
}
- if(!internalTemperature_.Equals(other.internalTemperature_)) return false;
- if(!internalPressure_.Equals(other.internalPressure_)) return false;
- if(!electricalCurrent_.Equals(other.electricalCurrent_)) return false;
- if(!electricalTension_.Equals(other.electricalTension_)) return false;
- return Equals(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override int GetHashCode() {
- int hash = 1;
- hash ^= internalTemperature_.GetHashCode();
- hash ^= internalPressure_.GetHashCode();
- hash ^= electricalCurrent_.GetHashCode();
- hash ^= electricalTension_.GetHashCode();
- if (_unknownFields != null) {
- hash ^= _unknownFields.GetHashCode();
- }
- return hash;
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public override string ToString() {
- return pb::JsonFormatter.ToDiagnosticString(this);
- }
+ public sealed partial class EmbeddedSystem : pb::IMessage {
+ private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EmbeddedSystem());
+ private pb::UnknownFieldSet _unknownFields;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser Parser { get { return _parser; } }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void WriteTo(pb::CodedOutputStream output) {
- internalTemperature_.WriteTo(output, _repeated_internalTemperature_codec);
- internalPressure_.WriteTo(output, _repeated_internalPressure_codec);
- electricalCurrent_.WriteTo(output, _repeated_electricalCurrent_codec);
- electricalTension_.WriteTo(output, _repeated_electricalTension_codec);
- if (_unknownFields != null) {
- _unknownFields.WriteTo(output);
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::AnnelidaDispatcher.Model.DataTransmission.AnnelidaSensors.Descriptor.NestedTypes[3]; }
}
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public int CalculateSize() {
- int size = 0;
- size += internalTemperature_.CalculateSize(_repeated_internalTemperature_codec);
- size += internalPressure_.CalculateSize(_repeated_internalPressure_codec);
- size += electricalCurrent_.CalculateSize(_repeated_electricalCurrent_codec);
- size += electricalTension_.CalculateSize(_repeated_electricalTension_codec);
- if (_unknownFields != null) {
- size += _unknownFields.CalculateSize();
- }
- return size;
- }
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(MotorController other) {
- if (other == null) {
- return;
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EmbeddedSystem() {
+ OnConstruction();
}
- internalTemperature_.Add(other.internalTemperature_);
- internalPressure_.Add(other.internalPressure_);
- electricalCurrent_.Add(other.electricalCurrent_);
- electricalTension_.Add(other.electricalTension_);
- _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
- public void MergeFrom(pb::CodedInputStream input) {
- uint tag;
- while ((tag = input.ReadTag()) != 0) {
- switch(tag) {
- default:
- _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
- break;
- case 10:
- case 13: {
- internalTemperature_.AddEntriesFrom(input, _repeated_internalTemperature_codec);
- break;
- }
- case 18:
- case 21: {
- internalPressure_.AddEntriesFrom(input, _repeated_internalPressure_codec);
- break;
- }
- case 26:
- case 29: {
- electricalCurrent_.AddEntriesFrom(input, _repeated_electricalCurrent_codec);
- break;
- }
- case 34:
- case 37: {
- electricalTension_.AddEntriesFrom(input, _repeated_electricalTension_codec);
- break;
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EmbeddedSystem(EmbeddedSystem other) : this() {
+ internalTemperature_ = other.internalTemperature_.Clone();
+ internalPressure_ = other.internalPressure_.Clone();
+ externalModulePressure_ = other.externalModulePressure_.Clone();
+ rotationX_ = other.rotationX_.Clone();
+ rotationY_ = other.rotationY_.Clone();
+ rotationZ_ = other.rotationZ_.Clone();
+ displacementX_ = other.displacementX_.Clone();
+ displacementY_ = other.displacementY_.Clone();
+ displacementZ_ = other.displacementZ_.Clone();
+ accelerationX_ = other.accelerationX_.Clone();
+ accelerationY_ = other.accelerationY_.Clone();
+ accelerationZ_ = other.accelerationZ_.Clone();
+ _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public EmbeddedSystem Clone() {
+ return new EmbeddedSystem(this);
+ }
+
+ /// Field number for the "internal_temperature" field.
+ public const int InternalTemperatureFieldNumber = 1;
+ private static readonly pb::FieldCodec _repeated_internalTemperature_codec
+ = pb::FieldCodec.ForFloat(10);
+ private readonly pbc::RepeatedField internalTemperature_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField InternalTemperature {
+ get { return internalTemperature_; }
+ }
+
+ /// Field number for the "internal_pressure" field.
+ public const int InternalPressureFieldNumber = 2;
+ private static readonly pb::FieldCodec _repeated_internalPressure_codec
+ = pb::FieldCodec.ForFloat(18);
+ private readonly pbc::RepeatedField internalPressure_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField InternalPressure {
+ get { return internalPressure_; }
+ }
+
+ /// Field number for the "external_module_pressure" field.
+ public const int ExternalModulePressureFieldNumber = 3;
+ private static readonly pb::FieldCodec _repeated_externalModulePressure_codec
+ = pb::FieldCodec.ForFloat(26);
+ private readonly pbc::RepeatedField externalModulePressure_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField ExternalModulePressure {
+ get { return externalModulePressure_; }
+ }
+
+ /// Field number for the "rotation_x" field.
+ public const int RotationXFieldNumber = 4;
+ private static readonly pb::FieldCodec _repeated_rotationX_codec
+ = pb::FieldCodec.ForFloat(34);
+ private readonly pbc::RepeatedField rotationX_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField RotationX {
+ get { return rotationX_; }
+ }
+
+ /// Field number for the "rotation_y" field.
+ public const int RotationYFieldNumber = 5;
+ private static readonly pb::FieldCodec _repeated_rotationY_codec
+ = pb::FieldCodec.ForFloat(42);
+ private readonly pbc::RepeatedField rotationY_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField RotationY {
+ get { return rotationY_; }
+ }
+
+ /// Field number for the "rotation_z" field.
+ public const int RotationZFieldNumber = 6;
+ private static readonly pb::FieldCodec _repeated_rotationZ_codec
+ = pb::FieldCodec.ForFloat(50);
+ private readonly pbc::RepeatedField rotationZ_ = new pbc::RepeatedField();
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public pbc::RepeatedField RotationZ {
+ get { return rotationZ_; }
+ }
+
+ /// Field number for the "displacement_x" field.
+ public const int DisplacementXFieldNumber = 7;
+ private static readonly pb::FieldCodec _repeated_displacementX_codec
+ = pb::FieldCodec.ForFloat(58);
+ private readonly pbc::RepeatedField displacementX_ = new pbc::RepeatedField