/// <summary>Creates service definition that can be registered with a server</summary>
 /// <param name="serviceImpl">An object implementing the server-side handling logic.</param>
 public static grpc::ServerServiceDefinition BindService(OTASyncSvcBase serviceImpl)
 {
     return(grpc::ServerServiceDefinition.CreateBuilder()
            .AddMethod(__Method_SyncReservations, serviceImpl.SyncReservations)
            .AddMethod(__Method_GetSchedulerLastWorkingTime, serviceImpl.GetSchedulerLastWorkingTime)
            .AddMethod(__Method_AttemptStartScheduler, serviceImpl.AttemptStartScheduler)
            .AddMethod(__Method_AttemptStartPBXService, serviceImpl.AttemptStartPBXService)
            .AddMethod(__Method_SyncPriceForOccupancyFactor, serviceImpl.SyncPriceForOccupancyFactor)
            .AddMethod(__Method_SyncPriceForTimeFactor, serviceImpl.SyncPriceForTimeFactor).Build());
 }
 /// <summary>Creates service definition that can be registered with a server</summary>
 public static ServerServiceDefinition BindService(OTASyncSvcBase serviceImpl)
 {
     return(ServerServiceDefinition.CreateBuilder()
            .AddMethod(__Method_SyncReservations, serviceImpl.SyncReservations).Build());
 }