package com.example.mina.entity; import com.example.mina.base.AbstractHardwareDataBuffer; /** * @author 杜云山 * @date 2021/03/05 */ public class AeroflexDataBuffer extends AbstractHardwareDataBuffer { public AeroflexDataBuffer(int row, int maxAtten) { super(row, row, row, maxAtten); matrixData = new Entry[row][row]; offsetData = new Entry[row]; for (int i = 0; i < row; i++) { for (int k = 0; k < row; k++) { matrixData[i][k] = new Entry(i, k, "kk", maxAtten, false); } } for (int i = 0; i < row; i++) { offsetData[i] = new Entry(i, 0, "rr", maxAtten, false); } } }