This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Portal.Shared.Data.Main; | |
| using Portal.Shared.Properties; | |
| namespace Portal.Shared.Services | |
| { | |
| /// <summary> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Configuration; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Net.Mail; | |
| using System.Web; | |
| using Portal.Shared.Controllers; | |
| using Portal.Shared.Data.Main; | |
| using Portal.Shared.Infrastructure; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using CrmBB.Models; | |
| using Microsoft.Crm.Sdk.Messages; | |
| using Microsoft.Xrm.Client; | |
| using Microsoft.Xrm.Client.Services; | |
| using Microsoft.Xrm.Sdk; | |
| using Microsoft.Xrm.Sdk.Client; | |
| using Microsoft.Xrm.Sdk.Messages; | |
| using Microsoft.Xrm.Sdk.Metadata; | |
| using Microsoft.Xrm.Sdk.Query; | |
| using Newtonsoft.Json; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | $scope.save = function() { | |
| $scope.$broadcast('show-errors-check-validity'); | |
| if($scope.frmSpreadsheet.$valid){ | |
| return spreadsheetService.save(vm.spreadsheet, $state.params.number).then(function() { | |
| $scope.$emit('spreadsheet-saved'); | |
| $scope.frmSpreadsheet.$setPristine(); | |
| $state.go('bids.detail.view.survey.spreadsheet.view', $state.params); | |
| }); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <canvas width="1000" height="500" id="canvas"></canvas> | |
| <script> | |
| var colors = ['red','green','blue','cyan','maroon', 'olive', 'yellow']; | |
| var width = 1000, | |
| height = 500; | |
| var cmpSep = 12.5, | |
| streamerSep = 50, | |
| streamerNr = 16, | |
| sourceSep = 25, | |
| sourceNr = 2, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /// <devdoc> | |
| /// <para>Returns an <see cref='System.Web.HttpCookie'/> item from the collection.</para> | |
| /// </devdoc> | |
| public HttpCookie Get(String name) { | |
| HttpCookie cookie = (HttpCookie)BaseGet(name); | |
| if (cookie == null && _response != null) { | |
| // response cookies are created on demand | |
| cookie = new HttpCookie(name); | |
| AddCookie(cookie, true); |