forked from ddrilling/AsbCloudServer
# TelemetryWirelineRunOutDto
This commit is contained in:
parent
7fcb77f5b4
commit
89e5cbcf9a
@ -10,10 +10,11 @@ namespace AsbCloudWebApi
|
||||
EnshureRegisteredDataSpin();
|
||||
EnshureRegisteredDataSaub();
|
||||
EnshureRegisteredWITS();
|
||||
EnshureRegisteredWirelineRunOutBaseDto();
|
||||
EnshureRegisteredWirelineRunOutDto();
|
||||
}
|
||||
|
||||
private static void EnshureRegisteredWirelineRunOutDto()
|
||||
private static void EnshureRegisteredWirelineRunOutBaseDto()
|
||||
{
|
||||
var type = typeof(TelemetryWirelineRunOutBaseDto);
|
||||
if (RuntimeTypeModel.Default.IsDefined(type))
|
||||
@ -26,6 +27,19 @@ namespace AsbCloudWebApi
|
||||
.Add(5, nameof(TelemetryWirelineRunOutBaseDto.ReplaceWarnSp));
|
||||
}
|
||||
|
||||
private static void EnshureRegisteredWirelineRunOutDto()
|
||||
{
|
||||
var type = typeof(TelemetryWirelineRunOutDto);
|
||||
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));
|
||||
}
|
||||
|
||||
private static void EnshureRegisteredWITS()
|
||||
{
|
||||
EnshureRegisteredRecord1();
|
||||
|
Loading…
Reference in New Issue
Block a user