forked from ddrilling/AsbCloudServer
fix protobuf model
This commit is contained in:
parent
4dced662e1
commit
b178af93fb
@ -15,15 +15,15 @@ namespace AsbCloudWebApi
|
||||
|
||||
private static void EnshureRegisteredWirelineRunOutDto()
|
||||
{
|
||||
var type = typeof(TelemetryWirelineRunOutDto);
|
||||
var type = typeof(TelemetryWirelineRunOutBaseDto);
|
||||
if (RuntimeTypeModel.Default.IsDefined(type))
|
||||
return;
|
||||
RuntimeTypeModel.Default.Add(type, false)
|
||||
.Add(1, nameof(TelemetryWirelineRunOutDto.DateTime))
|
||||
.Add(2, nameof(TelemetryWirelineRunOutDto.Hauling))
|
||||
.Add(3, nameof(TelemetryWirelineRunOutDto.HaulingWarnSp))
|
||||
.Add(4, nameof(TelemetryWirelineRunOutDto.Replace))
|
||||
.Add(5, nameof(TelemetryWirelineRunOutDto.ReplaceWarnSp));
|
||||
.Add(1, nameof(TelemetryWirelineRunOutBaseDto.DateTime))
|
||||
.Add(2, nameof(TelemetryWirelineRunOutBaseDto.Hauling))
|
||||
.Add(3, nameof(TelemetryWirelineRunOutBaseDto.HaulingWarnSp))
|
||||
.Add(4, nameof(TelemetryWirelineRunOutBaseDto.Replace))
|
||||
.Add(5, nameof(TelemetryWirelineRunOutBaseDto.ReplaceWarnSp));
|
||||
}
|
||||
|
||||
private static void EnshureRegisteredWITS()
|
||||
|
Loading…
Reference in New Issue
Block a user