Skip to content

Commit

Permalink
feat: Create GetM3 Method
Browse files Browse the repository at this point in the history
ref #2
  • Loading branch information
Hibino02 committed May 6, 2024
1 parent c754780 commit e0c947c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WHIO/Model/Dimension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,9 @@ public static List<Dimension> GetDimensionList()
}
return dimensionlist;
}
public double GetM3()
{
return width * length * height/1000000;
}
}
}
9 changes: 9 additions & 0 deletions Warehouse IO.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@
<Compile Include="View\Dimensions\UnitOfVolumeSource\UnitOfVolumeForm.Designer.cs">
<DependentUpon>UnitOfVolumeForm.cs</DependentUpon>
</Compile>
<Compile Include="View\InboundSource\InboundForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="View\InboundSource\InboundForm.Designer.cs">
<DependentUpon>InboundForm.cs</DependentUpon>
</Compile>
<Compile Include="View\MainForm.cs">
<SubType>Form</SubType>
</Compile>
Expand Down Expand Up @@ -471,6 +477,9 @@
<EmbeddedResource Include="View\Dimensions\UnitOfVolumeSource\UnitOfVolumeForm.resx">
<DependentUpon>UnitOfVolumeForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="View\InboundSource\InboundForm.resx">
<DependentUpon>InboundForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="View\MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
</EmbeddedResource>
Expand Down

0 comments on commit e0c947c

Please sign in to comment.