コード例 #1
0
        public static void TestStationAddUpdate(InventoryGuideService.InventoryGuideServiceClient client)
        {
            var request = new StationAddUpdateRequest();

            request.Station = new Station();
            request.Station.StationHashKey     = "02265c61-236d-4923-ac7d-1aed11c925f3";
            request.Station.StationSqn         = 768529114;
            request.Station.StationName        = "6857cf1d-8596-4500-823c-cd24e0af2cec";
            request.Station.StationCallLetters = "357db459-f29a-4eec-a65e-6454e8d17bf4";
            var response = client.StationAddUpdate(request);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: VideaACoxCompany/Videa3.0
        public static void TestStationAddUpdate(SellableInventoryMartService.SellableInventoryMartServiceClient client)
        {
            var request = new StationAddUpdateRequest();

            request.Station = new Station();
            request.Station.StationHashKey     = "c4bfe4f5-f0cb-465a-a2d4-da70e228f639";
            request.Station.StationSqn         = 1037389668;
            request.Station.StationName        = "6e5646da-9606-4ac3-8057-1dde2ed615d8";
            request.Station.StationCallLetters = "323f3036-d947-49c7-963c-52ab29b862fb";
            var response = client.StationAddUpdate(request);
        }
コード例 #3
0
        public override async Task <StationAddUpdateResponse> StationAddUpdate(StationAddUpdateRequest request, ServerCallContext context)
        {
            var res = await _executor.ExecuteAsync(new StationAddUpdateQuery
            {
                Station = request.Station.ToEntity()
            }).ConfigureAwait(false);

            var returnVal = res;

            var result = new StationAddUpdateResponse
            {
            };

            return(result);
        }