添加项目文件。
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
|
||||
|
||||
namespace JinYuan.Models
|
||||
{
|
||||
public class CapSize
|
||||
{
|
||||
public int layers { get; set; }
|
||||
public int rowsPerLayer { get; set; }
|
||||
public int colsPerLayer { get; set; }
|
||||
|
||||
public CapSize() { }
|
||||
|
||||
public CapSize(int layers, int rowsPerLayer, int colsPerLayer)
|
||||
{
|
||||
this.layers = layers;
|
||||
this.rowsPerLayer = rowsPerLayer;
|
||||
this.colsPerLayer = colsPerLayer;
|
||||
}
|
||||
|
||||
public int getCapsize()
|
||||
{
|
||||
return layers * rowsPerLayer * colsPerLayer;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user