Android Open Source - psiandroid P S I Raid






From Project

Back to project page psiandroid.

License

The source code is released under:

GNU General Public License

If you think the Android project psiandroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.phpsysinfo.xml;
//from   w  w w  . j  a v a  2 s.c  om
import java.util.ArrayList;
import java.util.List;

public class PSIRaid {

  public String name = "";
  public String level = "";
  public int disks_active = 0;
  public int disks_registered = 0;
  public List<PSIRaidDevice> devices = new ArrayList<PSIRaidDevice>();
  
  public PSIRaid() {
  }
  
  public PSIRaid(String name, String level, int disks_active, int disks_registered) {
    this.name = name;
    this.level = level;
    this.disks_active = disks_active;
    this.disks_registered = disks_registered;
  }
  
  public String getName() {
    return name;
  }
  
  public void setName(String name) {
    this.name = name;
  }
  
  public String getLevel() {
    return level;
  }

  public void setLevel(String level) {
    this.level = level;
  }

  public int getDisksActive() {
    return disks_active;
  }
  
  public void setDisksActive(int disks_active) {
    this.disks_active = disks_active;
  }
  
  public int getDisksRegistered() {
    return disks_registered;
  }
  
  public void setDisksRegistered(int disks_registered) {
    this.disks_registered = disks_registered;
  }
  
  public List<PSIRaidDevice> getDevices() {
    return this.devices;
  }
  
  public void addDevices(PSIRaidDevice device) {
    this.devices.add(device);
  }
}




Java Source Code List

com.phpsysinfo.activity.HostListActivity.java
com.phpsysinfo.activity.PSIActivity.java
com.phpsysinfo.activity.PSIConfig.java
com.phpsysinfo.activity.PSIPreferencesActivity.java
com.phpsysinfo.ui.HeaderTextView.java
com.phpsysinfo.utils.FormatUtils.java
com.phpsysinfo.xml.MySSLSocketFactory.java
com.phpsysinfo.xml.PSIBat.java
com.phpsysinfo.xml.PSIDownloadData.java
com.phpsysinfo.xml.PSIErrorCode.java
com.phpsysinfo.xml.PSIHostData.java
com.phpsysinfo.xml.PSIMountPoint.java
com.phpsysinfo.xml.PSINetworkInterface.java
com.phpsysinfo.xml.PSIPrinterItem.java
com.phpsysinfo.xml.PSIPrinter.java
com.phpsysinfo.xml.PSIRaidDevice.java
com.phpsysinfo.xml.PSIRaid.java
com.phpsysinfo.xml.PSISmart.java
com.phpsysinfo.xml.PSITemperature.java
com.phpsysinfo.xml.PSIUps.java
com.phpsysinfo.xml.PSIXmlParse.java