Ejemplo n.º 1
0
 protected override void CreateViewBox()
 {
     this.RendererData = Create(
         this,
         this.Bitmap.PixelWidth,
         this.Bitmap.PixelHeight,
         OscilloscopeBehaviourConfiguration.GetDuration(this.Duration.Value),
         OscilloscopeBehaviourConfiguration.GetMode(this.Mode.Value)
         );
     this.Viewbox = new Rect(0, 0, this.Bitmap.PixelWidth, this.Bitmap.PixelHeight);
 }
Ejemplo n.º 2
0
 protected virtual Task RefreshBitmap()
 {
     return(Windows.Invoke(() =>
     {
         this.RendererData = Create(
             this,
             this.Bitmap.PixelWidth,
             this.Bitmap.PixelHeight,
             OscilloscopeBehaviourConfiguration.GetDuration(this.Duration.Value),
             OscilloscopeBehaviourConfiguration.GetMode(this.Mode.Value)
             );
     }));
 }
Ejemplo n.º 3
0
 public IEnumerable <ConfigurationSection> GetConfigurationSections()
 {
     return(OscilloscopeBehaviourConfiguration.GetConfigurationSections());
 }