forked from ddrilling/AsbCloudServer
fix protobuf registered
This commit is contained in:
parent
3d828a2159
commit
caf2392f45
@ -5,13 +5,18 @@ namespace AsbCloudWebApi
|
||||
{
|
||||
public static class ProtobufModel
|
||||
{
|
||||
private static readonly object SyncRoot = new();
|
||||
|
||||
public static void EnshureRegistered()
|
||||
{
|
||||
EnshureRegisteredDataSpin();
|
||||
EnshureRegisteredDataSaub();
|
||||
EnshureRegisteredWITS();
|
||||
EnshureRegisteredWirelineRunOutBaseDto();
|
||||
EnshureRegisteredWirelineRunOutDto();
|
||||
lock (SyncRoot)
|
||||
{
|
||||
EnshureRegisteredDataSpin();
|
||||
EnshureRegisteredDataSaub();
|
||||
EnshureRegisteredWITS();
|
||||
EnshureRegisteredWirelineRunOutBaseDto();
|
||||
EnshureRegisteredWirelineRunOutDto();
|
||||
}
|
||||
}
|
||||
|
||||
private static void EnshureRegisteredWirelineRunOutBaseDto()
|
||||
|
Loading…
Reference in New Issue
Block a user