from django.contrib import admin
from openrobots.models import *

class StationsAdmin (admin.ModelAdmin):
    list_display =['stationName', 'description']

class ProtocolsTypeAdmin (admin.ModelAdmin):
    list_display =['protocolTypeName', 'description']

class ProtocolTemplateFilesAdmin (admin.ModelAdmin):
    list_display =['station', 'typeOfProtocol', 'protocolTemplateFileName', 'protocolTemplateFileName',
                'authors', 'source', 'apiLevel', 'prepareMasterMix', 'transferMasterMix', 'transferSamples']


class ElutionHardwareAdmin (admin.ModelAdmin):
    list_display =['hardwareType']

class MasterMixTypedmin (admin.ModelAdmin):
    list_display =['MasterMixType', 'description', 'default']

class MasterMixLabwareAdmin (admin.ModelAdmin):
    list_display =['MasterMixLabwareType', 'description', 'default']

class MasterMixTubeAdmin (admin.ModelAdmin):
    list_display =['MasterMixTube', 'MasterMixRadius', 'default']

class PCR_plateLabwareAdmin (admin.ModelAdmin):
    list_display =['PCR_plateLabwareType', 'description', 'default']

class InventoryLabwareAdmin (admin.ModelAdmin):
    list_display =['elution_LabwareType', 'brand', 'valueInCode']

class MagPlate_Labwaredmin (admin.ModelAdmin):
    list_display =('mag_plateLabwareType', 'description', 'default')

class ModuleTypeAdmin (admin.ModelAdmin):
    list_display =('moduleType', 'description')

class ModulesInLabAdmin (admin.ModelAdmin):
    list_display =('moduleType','moduleID', 'description')


class Reagent_LabwareAdmin (admin.ModelAdmin):
    list_display =['reagentLabwareType', 'description', 'default']


class Waste_LabwareAdmin (admin.ModelAdmin):
    list_display =['wasteLabwareType', 'description','default']


class Buffer_LabwareAdmin (admin.ModelAdmin):
    list_display =['bufferLabwareType', 'description', 'default']

class Destination_LabwareAdmin (admin.ModelAdmin):
    list_display =['destinationLabwareType', 'description', 'default']

class Destination_Tube_LabwareAdmin (admin.ModelAdmin):
    list_display =['destinationTube', 'description','default']

class Beads_LabwareAdmin (admin.ModelAdmin):
    list_display =['beadsLabwareType', 'description', 'default']

class Plate_LabwareAdmin (admin.ModelAdmin):
    list_display =['plateLabwareType', 'description', 'default']

class Lysate_LabwareAdmin (admin.ModelAdmin):
    list_display =['lysateLabwareType', 'description', 'default']

class Lysate_TubeAdmin (admin.ModelAdmin):
    list_display =['lysateTube', 'description', 'default']

class ElutionStationB_LabwareAdmin (admin.ModelAdmin):
    list_display =['elutionStationB', 'description', 'default']

class ElutionStationC_LabwareAdmin (admin.ModelAdmin):
    list_display =['elutionStationC', 'description', 'default']

class RobotsInventoryAdmin (admin.ModelAdmin):
    list_display =('userName', 'configuration',  'location','robots', 'serialNumber','IP_address','hostName',
            'computer_mac','rightPipette', 'leftPipette', 'rightPipetteID', 'leftPipetteID', 'neededPlugs','observations')

class LanguageAdmin (admin.ModelAdmin):
    list_display =['languageCode','languageDescription','default']

class RequestForStationA_Prot1Admin(admin.ModelAdmin):
    list_display =['requestedCodeID','bufferLabware', 'destinationLabware','destinationTube','numberOfSamples',
                'volumeBuffer', 'generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']

class RequestForStationA_Prot2Admin(admin.ModelAdmin):
    list_display =['requestedCodeID','beadsLabware', 'plateLabware', 'numberOfSamples',
                'volumeBeads', 'generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']

class RequestForStationA_Prot3Admin(admin.ModelAdmin):
    list_display =['requestedCodeID','lysateLabware', 'plateLabware', 'numberOfSamples',
                'volumeLysate' ,'beads', 'generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']

class RequestForStationBAdmin (admin.ModelAdmin):
    list_display =['requestedCodeID','magPlateLabware', 'reagentLabware','wasteLabware',  'numberOfSamples',
                'dispenseBeads', 'reuseTips','generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']




class RequestForStationC_Prot1Admin (admin.ModelAdmin):
    list_display =['requestedCodeID','masterMixLabware', 'masterMixTubeLabware','pcrPlateLabware', 'masterMixType',
                'numberOfSamples', 'c_elution_Labware', 'prepareMastermix', 'transferMastermix', 'transferSamples',
                'volumeElution', 'generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']

class RequestForStationC_Prot2Admin (admin.ModelAdmin):
    list_display =['requestedCodeID','masterMixLabware', 'pcrPlateLabware', 'numberOfSamples',
                 'volumeElution', 'c_elution_Labware', 'generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']

class FileIDUserRequestMappingAdmin (admin.ModelAdmin):
    list_display = ['fileID', 'station', 'protocol']


class RobotsActionPostAdmin(admin.ModelAdmin):
    list_display = ['RobotID', 'executedAction', 'ipaddress','ProtocolID', 'StartRunTime', 'FinishRunTime','modifiedParameters']


class ParametersRobotActionAdmin(admin.ModelAdmin):
    list_display = ['robotActionPost', 'protocolFileID','parameterName', 'parameterValue', 'modified']

admin.site.register(Stations , StationsAdmin)
admin.site.register(ProtocolsType , ProtocolsTypeAdmin)
admin.site.register(ProtocolTemplateFiles , ProtocolTemplateFilesAdmin)
admin.site.register(ElutionHardware , ElutionHardwareAdmin)

admin.site.register(MagPlate_Labware , MagPlate_Labwaredmin)


admin.site.register(MasterMixType , MasterMixTypedmin)
admin.site.register(MasterMixLabware , MasterMixLabwareAdmin)
admin.site.register(MasterMixTube , MasterMixTubeAdmin)
admin.site.register(PCR_plateLabware , PCR_plateLabwareAdmin)



admin.site.register(ElutionStationB_Labware , ElutionStationB_LabwareAdmin)
admin.site.register(ElutionStationC_Labware , ElutionStationC_LabwareAdmin)
admin.site.register(ModuleType , ModuleTypeAdmin)
admin.site.register(ModulesInLab , ModulesInLabAdmin)

admin.site.register(Buffer_Labware , Buffer_LabwareAdmin)
admin.site.register(Destination_Labware , Destination_LabwareAdmin)
admin.site.register(Destination_Tube_Labware , Destination_Tube_LabwareAdmin)
admin.site.register(Beads_Labware , Beads_LabwareAdmin)
admin.site.register(Plate_Labware , Plate_LabwareAdmin)
admin.site.register(Lysate_Labware , Lysate_LabwareAdmin)
admin.site.register(Lysate_Tube , Lysate_TubeAdmin)

admin.site.register(Reagent_Labware , Reagent_LabwareAdmin)
admin.site.register(Waste_Labware , Waste_LabwareAdmin)

admin.site.register(RobotsInventory , RobotsInventoryAdmin)
admin.site.register(InventoryLabware , InventoryLabwareAdmin)

admin.site.register(Language, LanguageAdmin)

admin.site.register(RequestForStationA_Prot1 , RequestForStationA_Prot1Admin)
admin.site.register(RequestForStationA_Prot2 , RequestForStationA_Prot2Admin)
admin.site.register(RequestForStationA_Prot3 , RequestForStationA_Prot3Admin)

admin.site.register(RequestForStationB , RequestForStationBAdmin)
admin.site.register(RequestForStationC_Prot1 , RequestForStationC_Prot1Admin)
admin.site.register(RequestForStationC_Prot2 , RequestForStationC_Prot2Admin)

admin.site.register(FileIDUserRequestMapping, FileIDUserRequestMappingAdmin)

admin.site.register(RobotsActionPost, RobotsActionPostAdmin)
admin.site.register(ParametersRobotAction, ParametersRobotActionAdmin)

2a4aae38632fce5d771ce3c8aa065afc7550d399
<mask token>


class MagPlate_Labwaredmin(admin.ModelAdmin):
    <mask token>


class ModuleTypeAdmin(admin.ModelAdmin):
    list_display = 'moduleType', 'description'


class ModulesInLabAdmin(admin.ModelAdmin):
    list_display = 'moduleType', 'moduleID', 'description'


class Reagent_LabwareAdmin(admin.ModelAdmin):
    list_display = ['reagentLabwareType', 'description', 'default']


class Waste_LabwareAdmin(admin.ModelAdmin):
    list_display = ['wasteLabwareType', 'description', 'default']


class Buffer_LabwareAdmin(admin.ModelAdmin):
    list_display = ['bufferLabwareType', 'description', 'default']


class Destination_LabwareAdmin(admin.ModelAdmin):
    list_display = ['destinationLabwareType', 'description', 'default']


class Destination_Tube_LabwareAdmin(admin.ModelAdmin):
    list_display = ['destinationTube', 'description', 'default']


class Beads_LabwareAdmin(admin.ModelAdmin):
    list_display = ['beadsLabwareType', 'description', 'default']


class Plate_LabwareAdmin(admin.ModelAdmin):
    list_display = ['plateLabwareType', 'description', 'default']


class Lysate_LabwareAdmin(admin.ModelAdmin):
    list_display = ['lysateLabwareType', 'description', 'default']


class Lysate_TubeAdmin(admin.ModelAdmin):
    list_display = ['lysateTube', 'description', 'default']


class ElutionStationB_LabwareAdmin(admin.ModelAdmin):
    list_display = ['elutionStationB', 'description', 'default']


class ElutionStationC_LabwareAdmin(admin.ModelAdmin):
    list_display = ['elutionStationC', 'description', 'default']


class RobotsInventoryAdmin(admin.ModelAdmin):
    list_display = ('userName', 'configuration', 'location', 'robots',
        'serialNumber', 'IP_address', 'hostName', 'computer_mac',
        'rightPipette', 'leftPipette', 'rightPipetteID', 'leftPipetteID',
        'neededPlugs', 'observations')


class LanguageAdmin(admin.ModelAdmin):
    list_display = ['languageCode', 'languageDescription', 'default']


class RequestForStationA_Prot1Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'bufferLabware',
        'destinationLabware', 'destinationTube', 'numberOfSamples',
        'volumeBuffer', 'generatedFile', 'usedTemplateFile',
        'userRequestedBy', 'userNotes']


class RequestForStationA_Prot2Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'beadsLabware', 'plateLabware',
        'numberOfSamples', 'volumeBeads', 'generatedFile',
        'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationA_Prot3Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'lysateLabware', 'plateLabware',
        'numberOfSamples', 'volumeLysate', 'beads', 'generatedFile',
        'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationBAdmin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'magPlateLabware', 'reagentLabware',
        'wasteLabware', 'numberOfSamples', 'dispenseBeads', 'reuseTips',
        'generatedFile', 'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationC_Prot1Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'masterMixLabware',
        'masterMixTubeLabware', 'pcrPlateLabware', 'masterMixType',
        'numberOfSamples', 'c_elution_Labware', 'prepareMastermix',
        'transferMastermix', 'transferSamples', 'volumeElution',
        'generatedFile', 'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationC_Prot2Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'masterMixLabware',
        'pcrPlateLabware', 'numberOfSamples', 'volumeElution',
        'c_elution_Labware', 'generatedFile', 'usedTemplateFile',
        'userRequestedBy', 'userNotes']


class FileIDUserRequestMappingAdmin(admin.ModelAdmin):
    list_display = ['fileID', 'station', 'protocol']


class RobotsActionPostAdmin(admin.ModelAdmin):
    list_display = ['RobotID', 'executedAction', 'ipaddress', 'ProtocolID',
        'StartRunTime', 'FinishRunTime', 'modifiedParameters']


class ParametersRobotActionAdmin(admin.ModelAdmin):
    list_display = ['robotActionPost', 'protocolFileID', 'parameterName',
        'parameterValue', 'modified']


<mask token>

<mask token>


class PCR_plateLabwareAdmin(admin.ModelAdmin):
    <mask token>


class InventoryLabwareAdmin(admin.ModelAdmin):
    list_display = ['elution_LabwareType', 'brand', 'valueInCode']


class MagPlate_Labwaredmin(admin.ModelAdmin):
    list_display = 'mag_plateLabwareType', 'description', 'default'


class ModuleTypeAdmin(admin.ModelAdmin):
    list_display = 'moduleType', 'description'


class ModulesInLabAdmin(admin.ModelAdmin):
    list_display = 'moduleType', 'moduleID', 'description'


class Reagent_LabwareAdmin(admin.ModelAdmin):
    list_display = ['reagentLabwareType', 'description', 'default']


class Waste_LabwareAdmin(admin.ModelAdmin):
    list_display = ['wasteLabwareType', 'description', 'default']


class Buffer_LabwareAdmin(admin.ModelAdmin):
    list_display = ['bufferLabwareType', 'description', 'default']


class Destination_LabwareAdmin(admin.ModelAdmin):
    list_display = ['destinationLabwareType', 'description', 'default']


class Destination_Tube_LabwareAdmin(admin.ModelAdmin):
    list_display = ['destinationTube', 'description', 'default']


class Beads_LabwareAdmin(admin.ModelAdmin):
    list_display = ['beadsLabwareType', 'description', 'default']


class Plate_LabwareAdmin(admin.ModelAdmin):
    list_display = ['plateLabwareType', 'description', 'default']


class Lysate_LabwareAdmin(admin.ModelAdmin):
    list_display = ['lysateLabwareType', 'description', 'default']


class Lysate_TubeAdmin(admin.ModelAdmin):
    list_display = ['lysateTube', 'description', 'default']


class ElutionStationB_LabwareAdmin(admin.ModelAdmin):
    list_display = ['elutionStationB', 'description', 'default']


class ElutionStationC_LabwareAdmin(admin.ModelAdmin):
    list_display = ['elutionStationC', 'description', 'default']


class RobotsInventoryAdmin(admin.ModelAdmin):
    list_display = ('userName', 'configuration', 'location', 'robots',
        'serialNumber', 'IP_address', 'hostName', 'computer_mac',
        'rightPipette', 'leftPipette', 'rightPipetteID', 'leftPipetteID',
        'neededPlugs', 'observations')


class LanguageAdmin(admin.ModelAdmin):
    list_display = ['languageCode', 'languageDescription', 'default']


class RequestForStationA_Prot1Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'bufferLabware',
        'destinationLabware', 'destinationTube', 'numberOfSamples',
        'volumeBuffer', 'generatedFile', 'usedTemplateFile',
        'userRequestedBy', 'userNotes']


class RequestForStationA_Prot2Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'beadsLabware', 'plateLabware',
        'numberOfSamples', 'volumeBeads', 'generatedFile',
        'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationA_Prot3Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'lysateLabware', 'plateLabware',
        'numberOfSamples', 'volumeLysate', 'beads', 'generatedFile',
        'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationBAdmin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'magPlateLabware', 'reagentLabware',
        'wasteLabware', 'numberOfSamples', 'dispenseBeads', 'reuseTips',
        'generatedFile', 'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationC_Prot1Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'masterMixLabware',
        'masterMixTubeLabware', 'pcrPlateLabware', 'masterMixType',
        'numberOfSamples', 'c_elution_Labware', 'prepareMastermix',
        'transferMastermix', 'transferSamples', 'volumeElution',
        'generatedFile', 'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationC_Prot2Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'masterMixLabware',
        'pcrPlateLabware', 'numberOfSamples', 'volumeElution',
        'c_elution_Labware', 'generatedFile', 'usedTemplateFile',
        'userRequestedBy', 'userNotes']


class FileIDUserRequestMappingAdmin(admin.ModelAdmin):
    list_display = ['fileID', 'station', 'protocol']


class RobotsActionPostAdmin(admin.ModelAdmin):
    list_display = ['RobotID', 'executedAction', 'ipaddress', 'ProtocolID',
        'StartRunTime', 'FinishRunTime', 'modifiedParameters']


class ParametersRobotActionAdmin(admin.ModelAdmin):
    list_display = ['robotActionPost', 'protocolFileID', 'parameterName',
        'parameterValue', 'modified']


<mask token>

<mask token>


class ElutionHardwareAdmin(admin.ModelAdmin):
    <mask token>


class MasterMixTypedmin(admin.ModelAdmin):
    list_display = ['MasterMixType', 'description', 'default']


class MasterMixLabwareAdmin(admin.ModelAdmin):
    list_display = ['MasterMixLabwareType', 'description', 'default']


class MasterMixTubeAdmin(admin.ModelAdmin):
    list_display = ['MasterMixTube', 'MasterMixRadius', 'default']


class PCR_plateLabwareAdmin(admin.ModelAdmin):
    list_display = ['PCR_plateLabwareType', 'description', 'default']


class InventoryLabwareAdmin(admin.ModelAdmin):
    list_display = ['elution_LabwareType', 'brand', 'valueInCode']


class MagPlate_Labwaredmin(admin.ModelAdmin):
    list_display = 'mag_plateLabwareType', 'description', 'default'


class ModuleTypeAdmin(admin.ModelAdmin):
    list_display = 'moduleType', 'description'


class ModulesInLabAdmin(admin.ModelAdmin):
    list_display = 'moduleType', 'moduleID', 'description'


class Reagent_LabwareAdmin(admin.ModelAdmin):
    list_display = ['reagentLabwareType', 'description', 'default']


class Waste_LabwareAdmin(admin.ModelAdmin):
    list_display = ['wasteLabwareType', 'description', 'default']


class Buffer_LabwareAdmin(admin.ModelAdmin):
    list_display = ['bufferLabwareType', 'description', 'default']


class Destination_LabwareAdmin(admin.ModelAdmin):
    list_display = ['destinationLabwareType', 'description', 'default']


class Destination_Tube_LabwareAdmin(admin.ModelAdmin):
    list_display = ['destinationTube', 'description', 'default']


class Beads_LabwareAdmin(admin.ModelAdmin):
    list_display = ['beadsLabwareType', 'description', 'default']


class Plate_LabwareAdmin(admin.ModelAdmin):
    list_display = ['plateLabwareType', 'description', 'default']


class Lysate_LabwareAdmin(admin.ModelAdmin):
    list_display = ['lysateLabwareType', 'description', 'default']


class Lysate_TubeAdmin(admin.ModelAdmin):
    list_display = ['lysateTube', 'description', 'default']


class ElutionStationB_LabwareAdmin(admin.ModelAdmin):
    list_display = ['elutionStationB', 'description', 'default']


class ElutionStationC_LabwareAdmin(admin.ModelAdmin):
    list_display = ['elutionStationC', 'description', 'default']


class RobotsInventoryAdmin(admin.ModelAdmin):
    list_display = ('userName', 'configuration', 'location', 'robots',
        'serialNumber', 'IP_address', 'hostName', 'computer_mac',
        'rightPipette', 'leftPipette', 'rightPipetteID', 'leftPipetteID',
        'neededPlugs', 'observations')


class LanguageAdmin(admin.ModelAdmin):
    list_display = ['languageCode', 'languageDescription', 'default']


class RequestForStationA_Prot1Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'bufferLabware',
        'destinationLabware', 'destinationTube', 'numberOfSamples',
        'volumeBuffer', 'generatedFile', 'usedTemplateFile',
        'userRequestedBy', 'userNotes']


class RequestForStationA_Prot2Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'beadsLabware', 'plateLabware',
        'numberOfSamples', 'volumeBeads', 'generatedFile',
        'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationA_Prot3Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'lysateLabware', 'plateLabware',
        'numberOfSamples', 'volumeLysate', 'beads', 'generatedFile',
        'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationBAdmin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'magPlateLabware', 'reagentLabware',
        'wasteLabware', 'numberOfSamples', 'dispenseBeads', 'reuseTips',
        'generatedFile', 'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationC_Prot1Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'masterMixLabware',
        'masterMixTubeLabware', 'pcrPlateLabware', 'masterMixType',
        'numberOfSamples', 'c_elution_Labware', 'prepareMastermix',
        'transferMastermix', 'transferSamples', 'volumeElution',
        'generatedFile', 'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationC_Prot2Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'masterMixLabware',
        'pcrPlateLabware', 'numberOfSamples', 'volumeElution',
        'c_elution_Labware', 'generatedFile', 'usedTemplateFile',
        'userRequestedBy', 'userNotes']


class FileIDUserRequestMappingAdmin(admin.ModelAdmin):
    list_display = ['fileID', 'station', 'protocol']


class RobotsActionPostAdmin(admin.ModelAdmin):
    list_display = ['RobotID', 'executedAction', 'ipaddress', 'ProtocolID',
        'StartRunTime', 'FinishRunTime', 'modifiedParameters']


class ParametersRobotActionAdmin(admin.ModelAdmin):
    list_display = ['robotActionPost', 'protocolFileID', 'parameterName',
        'parameterValue', 'modified']


<mask token>

from django.contrib import admin
from openrobots.models import *


class StationsAdmin(admin.ModelAdmin):
    list_display = ['stationName', 'description']


class ProtocolsTypeAdmin(admin.ModelAdmin):
    list_display = ['protocolTypeName', 'description']


class ProtocolTemplateFilesAdmin(admin.ModelAdmin):
    list_display = ['station', 'typeOfProtocol', 'protocolTemplateFileName',
        'protocolTemplateFileName', 'authors', 'source', 'apiLevel',
        'prepareMasterMix', 'transferMasterMix', 'transferSamples']


class ElutionHardwareAdmin(admin.ModelAdmin):
    list_display = ['hardwareType']


class MasterMixTypedmin(admin.ModelAdmin):
    list_display = ['MasterMixType', 'description', 'default']


class MasterMixLabwareAdmin(admin.ModelAdmin):
    list_display = ['MasterMixLabwareType', 'description', 'default']


class MasterMixTubeAdmin(admin.ModelAdmin):
    list_display = ['MasterMixTube', 'MasterMixRadius', 'default']


class PCR_plateLabwareAdmin(admin.ModelAdmin):
    list_display = ['PCR_plateLabwareType', 'description', 'default']


class InventoryLabwareAdmin(admin.ModelAdmin):
    list_display = ['elution_LabwareType', 'brand', 'valueInCode']


class MagPlate_Labwaredmin(admin.ModelAdmin):
    list_display = 'mag_plateLabwareType', 'description', 'default'


class ModuleTypeAdmin(admin.ModelAdmin):
    list_display = 'moduleType', 'description'


class ModulesInLabAdmin(admin.ModelAdmin):
    list_display = 'moduleType', 'moduleID', 'description'


class Reagent_LabwareAdmin(admin.ModelAdmin):
    list_display = ['reagentLabwareType', 'description', 'default']


class Waste_LabwareAdmin(admin.ModelAdmin):
    list_display = ['wasteLabwareType', 'description', 'default']


class Buffer_LabwareAdmin(admin.ModelAdmin):
    list_display = ['bufferLabwareType', 'description', 'default']


class Destination_LabwareAdmin(admin.ModelAdmin):
    list_display = ['destinationLabwareType', 'description', 'default']


class Destination_Tube_LabwareAdmin(admin.ModelAdmin):
    list_display = ['destinationTube', 'description', 'default']


class Beads_LabwareAdmin(admin.ModelAdmin):
    list_display = ['beadsLabwareType', 'description', 'default']


class Plate_LabwareAdmin(admin.ModelAdmin):
    list_display = ['plateLabwareType', 'description', 'default']


class Lysate_LabwareAdmin(admin.ModelAdmin):
    list_display = ['lysateLabwareType', 'description', 'default']


class Lysate_TubeAdmin(admin.ModelAdmin):
    list_display = ['lysateTube', 'description', 'default']


class ElutionStationB_LabwareAdmin(admin.ModelAdmin):
    list_display = ['elutionStationB', 'description', 'default']


class ElutionStationC_LabwareAdmin(admin.ModelAdmin):
    list_display = ['elutionStationC', 'description', 'default']


class RobotsInventoryAdmin(admin.ModelAdmin):
    list_display = ('userName', 'configuration', 'location', 'robots',
        'serialNumber', 'IP_address', 'hostName', 'computer_mac',
        'rightPipette', 'leftPipette', 'rightPipetteID', 'leftPipetteID',
        'neededPlugs', 'observations')


class LanguageAdmin(admin.ModelAdmin):
    list_display = ['languageCode', 'languageDescription', 'default']


class RequestForStationA_Prot1Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'bufferLabware',
        'destinationLabware', 'destinationTube', 'numberOfSamples',
        'volumeBuffer', 'generatedFile', 'usedTemplateFile',
        'userRequestedBy', 'userNotes']


class RequestForStationA_Prot2Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'beadsLabware', 'plateLabware',
        'numberOfSamples', 'volumeBeads', 'generatedFile',
        'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationA_Prot3Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'lysateLabware', 'plateLabware',
        'numberOfSamples', 'volumeLysate', 'beads', 'generatedFile',
        'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationBAdmin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'magPlateLabware', 'reagentLabware',
        'wasteLabware', 'numberOfSamples', 'dispenseBeads', 'reuseTips',
        'generatedFile', 'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationC_Prot1Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'masterMixLabware',
        'masterMixTubeLabware', 'pcrPlateLabware', 'masterMixType',
        'numberOfSamples', 'c_elution_Labware', 'prepareMastermix',
        'transferMastermix', 'transferSamples', 'volumeElution',
        'generatedFile', 'usedTemplateFile', 'userRequestedBy', 'userNotes']


class RequestForStationC_Prot2Admin(admin.ModelAdmin):
    list_display = ['requestedCodeID', 'masterMixLabware',
        'pcrPlateLabware', 'numberOfSamples', 'volumeElution',
        'c_elution_Labware', 'generatedFile', 'usedTemplateFile',
        'userRequestedBy', 'userNotes']


class FileIDUserRequestMappingAdmin(admin.ModelAdmin):
    list_display = ['fileID', 'station', 'protocol']


class RobotsActionPostAdmin(admin.ModelAdmin):
    list_display = ['RobotID', 'executedAction', 'ipaddress', 'ProtocolID',
        'StartRunTime', 'FinishRunTime', 'modifiedParameters']


class ParametersRobotActionAdmin(admin.ModelAdmin):
    list_display = ['robotActionPost', 'protocolFileID', 'parameterName',
        'parameterValue', 'modified']


admin.site.register(Stations, StationsAdmin)
admin.site.register(ProtocolsType, ProtocolsTypeAdmin)
admin.site.register(ProtocolTemplateFiles, ProtocolTemplateFilesAdmin)
admin.site.register(ElutionHardware, ElutionHardwareAdmin)
admin.site.register(MagPlate_Labware, MagPlate_Labwaredmin)
admin.site.register(MasterMixType, MasterMixTypedmin)
admin.site.register(MasterMixLabware, MasterMixLabwareAdmin)
admin.site.register(MasterMixTube, MasterMixTubeAdmin)
admin.site.register(PCR_plateLabware, PCR_plateLabwareAdmin)
admin.site.register(ElutionStationB_Labware, ElutionStationB_LabwareAdmin)
admin.site.register(ElutionStationC_Labware, ElutionStationC_LabwareAdmin)
admin.site.register(ModuleType, ModuleTypeAdmin)
admin.site.register(ModulesInLab, ModulesInLabAdmin)
admin.site.register(Buffer_Labware, Buffer_LabwareAdmin)
admin.site.register(Destination_Labware, Destination_LabwareAdmin)
admin.site.register(Destination_Tube_Labware, Destination_Tube_LabwareAdmin)
admin.site.register(Beads_Labware, Beads_LabwareAdmin)
admin.site.register(Plate_Labware, Plate_LabwareAdmin)
admin.site.register(Lysate_Labware, Lysate_LabwareAdmin)
admin.site.register(Lysate_Tube, Lysate_TubeAdmin)
admin.site.register(Reagent_Labware, Reagent_LabwareAdmin)
admin.site.register(Waste_Labware, Waste_LabwareAdmin)
admin.site.register(RobotsInventory, RobotsInventoryAdmin)
admin.site.register(InventoryLabware, InventoryLabwareAdmin)
admin.site.register(Language, LanguageAdmin)
admin.site.register(RequestForStationA_Prot1, RequestForStationA_Prot1Admin)
admin.site.register(RequestForStationA_Prot2, RequestForStationA_Prot2Admin)
admin.site.register(RequestForStationA_Prot3, RequestForStationA_Prot3Admin)
admin.site.register(RequestForStationB, RequestForStationBAdmin)
admin.site.register(RequestForStationC_Prot1, RequestForStationC_Prot1Admin)
admin.site.register(RequestForStationC_Prot2, RequestForStationC_Prot2Admin)
admin.site.register(FileIDUserRequestMapping, FileIDUserRequestMappingAdmin)
admin.site.register(RobotsActionPost, RobotsActionPostAdmin)
admin.site.register(ParametersRobotAction, ParametersRobotActionAdmin)

from django.contrib import admin
from openrobots.models import *

class StationsAdmin (admin.ModelAdmin):
    list_display =['stationName', 'description']

class ProtocolsTypeAdmin (admin.ModelAdmin):
    list_display =['protocolTypeName', 'description']

class ProtocolTemplateFilesAdmin (admin.ModelAdmin):
    list_display =['station', 'typeOfProtocol', 'protocolTemplateFileName', 'protocolTemplateFileName',
                'authors', 'source', 'apiLevel', 'prepareMasterMix', 'transferMasterMix', 'transferSamples']


class ElutionHardwareAdmin (admin.ModelAdmin):
    list_display =['hardwareType']

class MasterMixTypedmin (admin.ModelAdmin):
    list_display =['MasterMixType', 'description', 'default']

class MasterMixLabwareAdmin (admin.ModelAdmin):
    list_display =['MasterMixLabwareType', 'description', 'default']

class MasterMixTubeAdmin (admin.ModelAdmin):
    list_display =['MasterMixTube', 'MasterMixRadius', 'default']

class PCR_plateLabwareAdmin (admin.ModelAdmin):
    list_display =['PCR_plateLabwareType', 'description', 'default']

class InventoryLabwareAdmin (admin.ModelAdmin):
    list_display =['elution_LabwareType', 'brand', 'valueInCode']

class MagPlate_Labwaredmin (admin.ModelAdmin):
    list_display =('mag_plateLabwareType', 'description', 'default')

class ModuleTypeAdmin (admin.ModelAdmin):
    list_display =('moduleType', 'description')

class ModulesInLabAdmin (admin.ModelAdmin):
    list_display =('moduleType','moduleID', 'description')


class Reagent_LabwareAdmin (admin.ModelAdmin):
    list_display =['reagentLabwareType', 'description', 'default']


class Waste_LabwareAdmin (admin.ModelAdmin):
    list_display =['wasteLabwareType', 'description','default']


class Buffer_LabwareAdmin (admin.ModelAdmin):
    list_display =['bufferLabwareType', 'description', 'default']

class Destination_LabwareAdmin (admin.ModelAdmin):
    list_display =['destinationLabwareType', 'description', 'default']

class Destination_Tube_LabwareAdmin (admin.ModelAdmin):
    list_display =['destinationTube', 'description','default']

class Beads_LabwareAdmin (admin.ModelAdmin):
    list_display =['beadsLabwareType', 'description', 'default']

class Plate_LabwareAdmin (admin.ModelAdmin):
    list_display =['plateLabwareType', 'description', 'default']

class Lysate_LabwareAdmin (admin.ModelAdmin):
    list_display =['lysateLabwareType', 'description', 'default']

class Lysate_TubeAdmin (admin.ModelAdmin):
    list_display =['lysateTube', 'description', 'default']

class ElutionStationB_LabwareAdmin (admin.ModelAdmin):
    list_display =['elutionStationB', 'description', 'default']

class ElutionStationC_LabwareAdmin (admin.ModelAdmin):
    list_display =['elutionStationC', 'description', 'default']

class RobotsInventoryAdmin (admin.ModelAdmin):
    list_display =('userName', 'configuration',  'location','robots', 'serialNumber','IP_address','hostName',
            'computer_mac','rightPipette', 'leftPipette', 'rightPipetteID', 'leftPipetteID', 'neededPlugs','observations')

class LanguageAdmin (admin.ModelAdmin):
    list_display =['languageCode','languageDescription','default']

class RequestForStationA_Prot1Admin(admin.ModelAdmin):
    list_display =['requestedCodeID','bufferLabware', 'destinationLabware','destinationTube','numberOfSamples',
                'volumeBuffer', 'generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']

class RequestForStationA_Prot2Admin(admin.ModelAdmin):
    list_display =['requestedCodeID','beadsLabware', 'plateLabware', 'numberOfSamples',
                'volumeBeads', 'generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']

class RequestForStationA_Prot3Admin(admin.ModelAdmin):
    list_display =['requestedCodeID','lysateLabware', 'plateLabware', 'numberOfSamples',
                'volumeLysate' ,'beads', 'generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']

class RequestForStationBAdmin (admin.ModelAdmin):
    list_display =['requestedCodeID','magPlateLabware', 'reagentLabware','wasteLabware',  'numberOfSamples',
                'dispenseBeads', 'reuseTips','generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']




class RequestForStationC_Prot1Admin (admin.ModelAdmin):
    list_display =['requestedCodeID','masterMixLabware', 'masterMixTubeLabware','pcrPlateLabware', 'masterMixType',
                'numberOfSamples', 'c_elution_Labware', 'prepareMastermix', 'transferMastermix', 'transferSamples',
                'volumeElution', 'generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']

class RequestForStationC_Prot2Admin (admin.ModelAdmin):
    list_display =['requestedCodeID','masterMixLabware', 'pcrPlateLabware', 'numberOfSamples',
                 'volumeElution', 'c_elution_Labware', 'generatedFile', 'usedTemplateFile','userRequestedBy' , 'userNotes']

class FileIDUserRequestMappingAdmin (admin.ModelAdmin):
    list_display = ['fileID', 'station', 'protocol']


class RobotsActionPostAdmin(admin.ModelAdmin):
    list_display = ['RobotID', 'executedAction', 'ipaddress','ProtocolID', 'StartRunTime', 'FinishRunTime','modifiedParameters']


class ParametersRobotActionAdmin(admin.ModelAdmin):
    list_display = ['robotActionPost', 'protocolFileID','parameterName', 'parameterValue', 'modified']

admin.site.register(Stations , StationsAdmin)
admin.site.register(ProtocolsType , ProtocolsTypeAdmin)
admin.site.register(ProtocolTemplateFiles , ProtocolTemplateFilesAdmin)
admin.site.register(ElutionHardware , ElutionHardwareAdmin)

admin.site.register(MagPlate_Labware , MagPlate_Labwaredmin)


admin.site.register(MasterMixType , MasterMixTypedmin)
admin.site.register(MasterMixLabware , MasterMixLabwareAdmin)
admin.site.register(MasterMixTube , MasterMixTubeAdmin)
admin.site.register(PCR_plateLabware , PCR_plateLabwareAdmin)



admin.site.register(ElutionStationB_Labware , ElutionStationB_LabwareAdmin)
admin.site.register(ElutionStationC_Labware , ElutionStationC_LabwareAdmin)
admin.site.register(ModuleType , ModuleTypeAdmin)
admin.site.register(ModulesInLab , ModulesInLabAdmin)

admin.site.register(Buffer_Labware , Buffer_LabwareAdmin)
admin.site.register(Destination_Labware , Destination_LabwareAdmin)
admin.site.register(Destination_Tube_Labware , Destination_Tube_LabwareAdmin)
admin.site.register(Beads_Labware , Beads_LabwareAdmin)
admin.site.register(Plate_Labware , Plate_LabwareAdmin)
admin.site.register(Lysate_Labware , Lysate_LabwareAdmin)
admin.site.register(Lysate_Tube , Lysate_TubeAdmin)

admin.site.register(Reagent_Labware , Reagent_LabwareAdmin)
admin.site.register(Waste_Labware , Waste_LabwareAdmin)

admin.site.register(RobotsInventory , RobotsInventoryAdmin)
admin.site.register(InventoryLabware , InventoryLabwareAdmin)

admin.site.register(Language, LanguageAdmin)

admin.site.register(RequestForStationA_Prot1 , RequestForStationA_Prot1Admin)
admin.site.register(RequestForStationA_Prot2 , RequestForStationA_Prot2Admin)
admin.site.register(RequestForStationA_Prot3 , RequestForStationA_Prot3Admin)

admin.site.register(RequestForStationB , RequestForStationBAdmin)
admin.site.register(RequestForStationC_Prot1 , RequestForStationC_Prot1Admin)
admin.site.register(RequestForStationC_Prot2 , RequestForStationC_Prot2Admin)

admin.site.register(FileIDUserRequestMapping, FileIDUserRequestMappingAdmin)

admin.site.register(RobotsActionPost, RobotsActionPostAdmin)
admin.site.register(ParametersRobotAction, ParametersRobotActionAdmin)
