Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
16 kB
3
Indexable
Never
{
  configuratorHistory: {
    changes: [
      {
        step: 'chooseType',
        change: {
          step: 2
        }
      },
      {
        step: 'details',
        change: {
          name: 'config-tmp'
        }
      },
      {
        step: 'details',
        change: {
          tempMin: -50
        }
      },
      {
        step: 'details',
        change: {
          tempMax: 55
        }
      },
      {
        step: 'details',
        change: {
          tempMax: 25
        }
      },
      {
        step: 'details',
        change: {
          tempMax: 50
        }
      },
      {
        step: 'details',
        change: {
          tempMin: 45
        }
      },
      {
        step: 'details',
        change: {
          tempMax: 65
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedVoltage',
          fieldId: 'voltage',
          voltage: 2500
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'addPole',
          layer: 0
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'addPole',
          layer: 0
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'addPole',
          layer: 0
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'cableCrossSection:fixed:0:0',
          layer: 0,
          type: 'fixed',
          pole: 0,
          selector: 'cableCrossSection',
          value: 120
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMini:fixed:0:0',
          layer: 0,
          type: 'fixed',
          pole: 0,
          selector: 'insulationOuterDiameterMini',
          value: 22
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMaxi:fixed:0:0',
          layer: 0,
          type: 'fixed',
          pole: 0,
          selector: 'insulationOuterDiameterMaxi',
          value: 15
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'current:fixed:0:0',
          layer: 0,
          type: 'fixed',
          pole: 0,
          selector: 'current',
          value: 5
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrent:fixed:0:0',
          layer: 0,
          type: 'fixed',
          pole: 0,
          selector: 'overLoadCurrent',
          value: -25
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrent:fixed:0:0',
          layer: 0,
          type: 'fixed',
          pole: 0,
          selector: 'overLoadCurrent',
          value: 25
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrentTimeON:fixed:0:0',
          layer: 0,
          type: 'fixed',
          pole: 0,
          selector: 'overLoadCurrentTimeON',
          value: 55
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrentTimeOFF:fixed:0:0',
          layer: 0,
          type: 'fixed',
          pole: 0,
          selector: 'overLoadCurrentTimeOFF',
          value: 77
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedBlind',
          fieldId: 'blind:fixed:0:1',
          layer: 0,
          type: 'fixed',
          pole: 1,
          isBlind: true
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'cableCrossSection:fixed:0:2',
          layer: 0,
          type: 'fixed',
          pole: 2,
          selector: 'cableCrossSection',
          value: 95
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMini:fixed:0:2',
          layer: 0,
          type: 'fixed',
          pole: 2,
          selector: 'insulationOuterDiameterMini',
          value: 33
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMaxi:fixed:0:2',
          layer: 0,
          type: 'fixed',
          pole: 2,
          selector: 'insulationOuterDiameterMaxi',
          value: 0
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMini:fixed:0:2',
          layer: 0,
          type: 'fixed',
          pole: 2,
          selector: 'insulationOuterDiameterMini',
          value: 26
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMaxi:fixed:0:2',
          layer: 0,
          type: 'fixed',
          pole: 2,
          selector: 'insulationOuterDiameterMaxi',
          value: 27
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'current:fixed:0:2',
          layer: 0,
          type: 'fixed',
          pole: 2,
          selector: 'current',
          value: 29
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrent:fixed:0:2',
          layer: 0,
          type: 'fixed',
          pole: 2,
          selector: 'overLoadCurrent',
          value: 35
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrentTimeON:fixed:0:2',
          layer: 0,
          type: 'fixed',
          pole: 2,
          selector: 'overLoadCurrentTimeON',
          value: 15
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrentTimeOFF:fixed:0:2',
          layer: 0,
          type: 'fixed',
          pole: 2,
          selector: 'overLoadCurrentTimeOFF',
          value: 5
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'cableCrossSection:fixed:0:3',
          layer: 0,
          type: 'fixed',
          pole: 3,
          selector: 'cableCrossSection',
          value: 240
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMini:fixed:0:3',
          layer: 0,
          type: 'fixed',
          pole: 3,
          selector: 'insulationOuterDiameterMini',
          value: 32
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMaxi:fixed:0:3',
          layer: 0,
          type: 'fixed',
          pole: 3,
          selector: 'insulationOuterDiameterMaxi',
          value: 32
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'current:fixed:0:3',
          layer: 0,
          type: 'fixed',
          pole: 3,
          selector: 'current',
          value: 32
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrent:fixed:0:3',
          layer: 0,
          type: 'fixed',
          pole: 3,
          selector: 'overLoadCurrent',
          value: 522
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrentTimeON:fixed:0:3',
          layer: 0,
          type: 'fixed',
          pole: 3,
          selector: 'overLoadCurrentTimeON',
          value: 100
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrentTimeOFF:fixed:0:3',
          layer: 0,
          type: 'fixed',
          pole: 3,
          selector: 'overLoadCurrentTimeOFF',
          value: 150
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedBlind',
          fieldId: 'blind:mobile:0:3',
          layer: 0,
          type: 'mobile',
          pole: 3,
          isBlind: true
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'cableCrossSection:mobile:0:2',
          layer: 0,
          type: 'mobile',
          pole: 2,
          selector: 'cableCrossSection',
          value: 240
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMini:mobile:0:2',
          layer: 0,
          type: 'mobile',
          pole: 2,
          selector: 'insulationOuterDiameterMini',
          value: 31
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMaxi:mobile:0:2',
          layer: 0,
          type: 'mobile',
          pole: 2,
          selector: 'insulationOuterDiameterMaxi',
          value: 31
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'current:mobile:0:2',
          layer: 0,
          type: 'mobile',
          pole: 2,
          selector: 'current',
          value: 26
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrent:mobile:0:2',
          layer: 0,
          type: 'mobile',
          pole: 2,
          selector: 'overLoadCurrent',
          value: 288
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrentTimeON:mobile:0:2',
          layer: 0,
          type: 'mobile',
          pole: 2,
          selector: 'overLoadCurrentTimeON',
          value: 222
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrentTimeOFF:mobile:0:2',
          layer: 0,
          type: 'mobile',
          pole: 2,
          selector: 'overLoadCurrentTimeOFF',
          value: 333
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedBlind',
          fieldId: 'blind:mobile:0:1',
          layer: 0,
          type: 'mobile',
          pole: 1,
          isBlind: true
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrentTimeOFF:mobile:0:0',
          layer: 0,
          type: 'mobile',
          pole: 0,
          selector: 'overLoadCurrentTimeOFF',
          value: 777
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrentTimeON:mobile:0:0',
          layer: 0,
          type: 'mobile',
          pole: 0,
          selector: 'overLoadCurrentTimeON',
          value: 999
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'overLoadCurrent:mobile:0:0',
          layer: 0,
          type: 'mobile',
          pole: 0,
          selector: 'overLoadCurrent',
          value: 1111
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'current:mobile:0:0',
          layer: 0,
          type: 'mobile',
          pole: 0,
          selector: 'current',
          value: 2222
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMaxi:mobile:0:0',
          layer: 0,
          type: 'mobile',
          pole: 0,
          selector: 'insulationOuterDiameterMaxi',
          value: 0
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'current:mobile:0:0',
          layer: 0,
          type: 'mobile',
          pole: 0,
          selector: 'current',
          value: 222
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMaxi:mobile:0:0',
          layer: 0,
          type: 'mobile',
          pole: 0,
          selector: 'insulationOuterDiameterMaxi',
          value: 32
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMini:mobile:0:0',
          layer: 0,
          type: 'mobile',
          pole: 0,
          selector: 'insulationOuterDiameterMini',
          value: 10
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'insulationOuterDiameterMaxi:mobile:0:0',
          layer: 0,
          type: 'mobile',
          pole: 0,
          selector: 'insulationOuterDiameterMaxi',
          value: 8
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedProperty',
          fieldId: 'cableCrossSection:mobile:0:0',
          layer: 0,
          type: 'mobile',
          pole: 0,
          selector: 'cableCrossSection',
          value: 75
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedVariant',
          fieldId: 'variant',
          variant: 2
        }
      },
      {
        step: 'configuration',
        change: {
          action: 'updatedVariant',
          fieldId: 'variant',
          variant: 3
        }
      },
      {
        step: 'options',
        change: {
          action: 'updatedCommon',
          type: 'coding',
          value: true
        }
      },
      {
        step: 'options',
        change: {
          action: 'updatedCommon',
          type: 'earthing',
          value: true
        }
      },
      {
        step: 'options',
        change: {
          action: 'updatedFixed',
          type: 'dynamicCable',
          value: true
        }
      },
      {
        step: 'options',
        change: {
          action: 'updatedMobile',
          type: 'dynamicCable',
          value: true
        }
      },
      {
        step: 'options',
        change: {
          action: 'updatedMobile',
          type: 'dynamicCable',
          value: false
        }
      },
      {
        step: 'options',
        change: {
          action: 'updatedMobile',
          type: 'metallicProtection',
          value: true
        }
      }
    ],
    initState: {
      configuration: {
        voltage: null,
        layers: []
      },
      options: {
        common: [],
        fixed: [],
        mobile: []
      },
      variant: null
    }
  }
}