public class Material
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private int |
focus |
private int |
frequency |
private int |
materialColor |
private java.lang.String |
name |
private int |
power |
private static long |
serialVersionUID |
private int |
speed |
private int |
thickness |
Constructor and Description |
---|
Material(java.lang.String materialName,
int thickness,
int materialColor,
int power,
int speed,
int focus,
int frequency) |
Modifier and Type | Method and Description |
---|---|
int |
getFocus()
Get lasercutter setting: Focus
|
int |
getFrequency()
Get lasercutter setting: Frequency
|
int |
getMaterialColor()
Color of the material - A Hint of the real color, distinguish different
materials
|
java.lang.String |
getMaterialName()
Get the name of the material, combined with its thickness
|
int |
getMaterialThickness()
Get the thickness of the material
|
int |
getPower()
Get lasercutter setting: Power
|
int |
getSpeed()
Get lasercutter setting: Speed
|
private static final long serialVersionUID
private java.lang.String name
private int thickness
private int materialColor
private int power
private int speed
private int focus
private int frequency
public Material(java.lang.String materialName, int thickness, int materialColor, int power, int speed, int focus, int frequency)
materialName
- (Name of material)thickness
- (0.1mm)materialColor
- (color)power
- (%)speed
- (%)focus
- (whatever)frequency
- (Hz)public java.lang.String getMaterialName()
public int getMaterialThickness()
public int getMaterialColor()
public int getPower()
public int getSpeed()
public int getFocus()
public int getFrequency()