logo

Crowdly

Browser

Додати до Chrome

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

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

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?

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на elearning.tgm.ac.at?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome