logo

Crowdly

Browser

Add to Chrome

Folgende Klassen wurden als Mapping in Javascript definiert: export default c...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Folgende Klassen wurden als Mapping in Javascript definiert:

export default class Sample {

constructor(sample) {

this.sampleId = {

sId: sample.sampleId.sId,

sStamp: sample.sampleId.sStamp,

};

this.name = sample.name;

this.weightNet = sample.weightNet;

this.weightBru = sample.weightBru;

this.weightTar = sample.weightTar;

this.quantity = sample.quantity;

this.distance = sample.distance;

this.dateCrumbled = sample.dateCrumbled;

this.sFlags = sample.sFlags;

this.lane = sample.lane;

this.comment = sample.comment;

this.dateExported = sample.dateExported;

this.boxPos = sample.boxPos;

}

}

export default class Analysis {

constructor(analysis) {

this.aId = analysis.aId;

this.sample = {

sampleId: {

sId: analysis.sample.sampleId.sId,

sStamp: analysis.sample.sampleId.sStamp,

},

weightNet: analysis.sample.weightNet,

weightBru: analysis.sample.weightBru,

name: analysis.sample.name,

};

this.aFlags = analysis.aFlags;

this.dateIn = analysis.dateIn;

this.dateOut = analysis.dateOut;

this.pol = analysis.pol;

this.nat = analysis.nat;

this.kal = analysis.kal;

this.an = analysis.an;

this.glu = analysis.glu;

this.dry = analysis.dry;

this.boxPos = analysis.sample.boxPos;

this.weightNet = analysis.sample.weightNet;

this.weightBru = analysis.sample.weightBru;

this.name = analysis.sample.name;

this.weightMea = analysis.weightMea;

this.weightNrm = analysis.weightNrm;

this.weightCur = analysis.weightCur;

this.weightDif = analysis.weightDif;

this.density = analysis.density;

this.lane = analysis.lane;

this.comment = analysis.comment;

this.dateExported = analysis.dateExported;

}

}

Welche Antworten sind zutreffend?

More questions like this

Want instant access to all verified answers on elearning.tgm.ac.at?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome