Refactor Helper to FormatHelper with improved documentation

- Rename Helper class to FormatHelper for clarity
- Add comprehensive XML documentation
- Update all references in BinFileSaver, ArchUnits, and Bin
- Remove unused System.Drawing import
- Better method documentation explaining parameters and return values

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
AJ
2025-11-22 23:02:24 -05:00
parent 70f1380847
commit f55092d877
4 changed files with 24 additions and 12 deletions

View File

@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
namespace SawCut
{
@@ -70,8 +69,8 @@ namespace SawCut
public override string ToString()
{
var totalLength = Helper.ConvertToMixedFraction(Math.Round(Length, 4));
var remainingLength = Helper.ConvertToMixedFraction(Math.Round(RemainingLength, 4));
var totalLength = FormatHelper.ConvertToMixedFraction(Math.Round(Length, 4));
var remainingLength = FormatHelper.ConvertToMixedFraction(Math.Round(RemainingLength, 4));
var utilitation = Math.Round(Utilization * 100, 2);
return $"Length: {totalLength}, {remainingLength} remaining, {Items.Count} items, {utilitation}% utilization";