修改日志
This commit is contained in:
		
							parent
							
								
									e75e022928
								
							
						
					
					
						commit
						676586cdca
					
				@ -54,7 +54,8 @@ namespace FastGithub.Scanner
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        public override string ToString()
 | 
					        public override string ToString()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            return $"{this.Domain} {{Address={this.Address}, AvailableRate={this.History.AvailableRate}, AvgElapsed={this.History.AvgElapsed}}}";
 | 
					            var rate = Math.Round(this.History.AvailableRate * 100, 2);
 | 
				
			||||||
 | 
					            return $"{this.Domain} {{Address={this.Address}, AvailableRate={rate}%, AvgElapsed={this.History.AvgElapsed.TotalSeconds}s}}";
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user