Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
22 kB
3
Indexable
Never
{
  configurator: {
    status: null,
    step: 'documentation',
    nextStep: 'chooseType',
    variant: 3,
    application: {
      isFilled: true,
      type: 2
    },
    details: {
      isFilled: true,
      name: 'config-tmp',
      project: 'ca1c5a66-fe3d-4c50-916b-8831b2cdf909',
      tempMin: 45,
      tempMax: 65
    },
    configuration: {
      isFilled: true,
      currentView: 'mobile',
      voltage: 2500,
      activePole: {
        layer: 0,
        pole: 0
      },
      layers: [
        {
          fixed: [
            {
              isBlind: false,
              id: '4241744f-3956-41d0-bc21-95a3337fe8ab',
              cableCrossSection: {
                value: 120,
                unit: 'mm²',
                isError: false,
                list: [
                  50,
                  75,
                  95,
                  120,
                  150,
                  185,
                  240
                ]
              },
              insulationOuterDiameterMini: {
                value: 22,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              insulationOuterDiameterMaxi: {
                value: 15,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              current: {
                value: 5,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: 1000
              },
              overLoadCurrent: {
                value: 25,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeON: {
                value: 55,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeOFF: {
                value: 77,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              }
            },
            {
              isBlind: true,
              id: '840eb2b9-617d-4b50-9c6d-1c20b635b650',
              cableCrossSection: {
                value: 0,
                unit: 'mm²',
                isError: false,
                list: [
                  50,
                  75,
                  95,
                  120,
                  150,
                  185,
                  240
                ]
              },
              insulationOuterDiameterMini: {
                value: null,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              insulationOuterDiameterMaxi: {
                value: null,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              current: {
                value: null,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: 1000
              },
              overLoadCurrent: {
                value: null,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeON: {
                value: null,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeOFF: {
                value: null,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              }
            },
            {
              isBlind: false,
              id: '9e63b3fa-d7a6-4cca-903e-4d55188acdd9',
              cableCrossSection: {
                value: 95,
                unit: 'mm²',
                isError: false,
                list: [
                  50,
                  75,
                  95,
                  120,
                  150,
                  185,
                  240
                ]
              },
              insulationOuterDiameterMini: {
                value: 26,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              insulationOuterDiameterMaxi: {
                value: 27,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              current: {
                value: 29,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: 1000
              },
              overLoadCurrent: {
                value: 35,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeON: {
                value: 15,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeOFF: {
                value: 5,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              }
            },
            {
              isBlind: false,
              id: 'bc12f8ce-02a7-4990-bd2e-722857e3d997',
              cableCrossSection: {
                value: 240,
                unit: 'mm²',
                isError: false,
                list: [
                  50,
                  75,
                  95,
                  120,
                  150,
                  185,
                  240
                ]
              },
              insulationOuterDiameterMini: {
                value: 32,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              insulationOuterDiameterMaxi: {
                value: 32,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              current: {
                value: 32,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: 1000
              },
              overLoadCurrent: {
                value: 522,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeON: {
                value: 100,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeOFF: {
                value: 150,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              }
            }
          ],
          mobile: [
            {
              isBlind: false,
              id: '90df4607-0912-4894-8081-fa0744d7897a',
              cableCrossSection: {
                value: 75,
                unit: 'mm²',
                isError: false,
                list: [
                  50,
                  75,
                  95,
                  120,
                  150,
                  185,
                  240
                ]
              },
              insulationOuterDiameterMini: {
                value: 10,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              insulationOuterDiameterMaxi: {
                value: 8,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              current: {
                value: 222,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: 1000
              },
              overLoadCurrent: {
                value: 1111,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeON: {
                value: 999,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeOFF: {
                value: 777,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              }
            },
            {
              isBlind: true,
              id: 'e0d96cc6-95e4-4918-a12b-3775bad1426c',
              cableCrossSection: {
                value: 0,
                unit: 'mm²',
                isError: false,
                list: [
                  50,
                  75,
                  95,
                  120,
                  150,
                  185,
                  240
                ]
              },
              insulationOuterDiameterMini: {
                value: null,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              insulationOuterDiameterMaxi: {
                value: null,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              current: {
                value: null,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: 1000
              },
              overLoadCurrent: {
                value: null,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeON: {
                value: null,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeOFF: {
                value: null,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              }
            },
            {
              isBlind: false,
              id: '67ba6f92-c581-4b0a-8540-4dc6edbdf9c2',
              cableCrossSection: {
                value: 240,
                unit: 'mm²',
                isError: false,
                list: [
                  50,
                  75,
                  95,
                  120,
                  150,
                  185,
                  240
                ]
              },
              insulationOuterDiameterMini: {
                value: 31,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              insulationOuterDiameterMaxi: {
                value: 31,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              current: {
                value: 26,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: 1000
              },
              overLoadCurrent: {
                value: 288,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeON: {
                value: 222,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeOFF: {
                value: 333,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              }
            },
            {
              isBlind: true,
              id: '862f10df-d13e-47c8-8bff-1ae2e1e02f6c',
              cableCrossSection: {
                value: 0,
                unit: 'mm²',
                isError: false,
                list: [
                  50,
                  75,
                  95,
                  120,
                  150,
                  185,
                  240
                ]
              },
              insulationOuterDiameterMini: {
                value: null,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              insulationOuterDiameterMaxi: {
                value: null,
                unit: 'mm',
                isError: false,
                minValue: 5,
                maxValue: 32
              },
              current: {
                value: null,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: 1000
              },
              overLoadCurrent: {
                value: null,
                unit: 'A',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeON: {
                value: null,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              },
              overLoadCurrentTimeOFF: {
                value: null,
                unit: 's',
                isError: false,
                minValue: 0,
                maxValue: null
              }
            }
          ]
        }
      ]
    },
    options: {
      isFilled: true,
      isChanged: true,
      isModal: false,
      requireRefetch: false,
      currentView: 'mobile',
      common: [
        {
          type: 'coding',
          isVisible: true,
          value: true,
          isVideo: false,
          additionalProperties: {
            value: 'Code 16',
            dropdownValues: [
              {
                value: 'Code 7',
                parameters: [
                  {
                    name: 'FixedImageUrl',
                    value: 'Code7_Fixed_4.png'
                  },
                  {
                    name: 'MobileImageUrl',
                    value: 'Code7_Mobile_4.png'
                  }
                ]
              },
              {
                value: 'Code 8',
                parameters: [
                  {
                    name: 'FixedImageUrl',
                    value: 'Code8_Fixed_4.png'
                  },
                  {
                    name: 'MobileImageUrl',
                    value: 'Code8_Mobile_4.png'
                  }
                ]
              },
              {
                value: 'Code 9',
                parameters: [
                  {
                    name: 'FixedImageUrl',
                    value: 'Code9_Fixed_4.png'
                  },
                  {
                    name: 'MobileImageUrl',
                    value: 'Code9_Mobile_4.png'
                  }
                ]
              },
              {
                value: 'Code 10',
                parameters: [
                  {
                    name: 'FixedImageUrl',
                    value: 'Code10_Fixed_4.png'
                  },
                  {
                    name: 'MobileImageUrl',
                    value: 'Code10_Mobile_4.png'
                  }
                ]
              },
              {
                value: 'Code 11',
                parameters: [
                  {
                    name: 'FixedImageUrl',
                    value: 'Code11_Fixed_4.png'
                  },
                  {
                    name: 'MobileImageUrl',
                    value: 'Code11_Mobile_4.png'
                  }
                ]
              },
              {
                value: 'Code 12',
                parameters: [
                  {
                    name: 'FixedImageUrl',
                    value: 'Code12_Fixed_4.png'
                  },
                  {
                    name: 'MobileImageUrl',
                    value: 'Code12_Mobile_4.png'
                  }
                ]
              },
              {
                value: 'Code 13',
                parameters: [
                  {
                    name: 'FixedImageUrl',
                    value: 'Code13_Fixed_4.png'
                  },
                  {
                    name: 'MobileImageUrl',
                    value: 'Code13_Mobile_4.png'
                  }
                ]
              },
              {
                value: 'Code 14',
                parameters: [
                  {
                    name: 'FixedImageUrl',
                    value: 'Code14_Fixed_4.png'
                  },
                  {
                    name: 'MobileImageUrl',
                    value: 'Code14_Mobile_4.png'
                  }
                ]
              },
              {
                value: 'Code 15',
                parameters: [
                  {
                    name: 'FixedImageUrl',
                    value: 'Code15_Fixed_4.png'
                  },
                  {
                    name: 'MobileImageUrl',
                    value: 'Code15_Mobile_4.png'
                  }
                ]
              },
              {
                value: 'Code 16',
                parameters: [
                  {
                    name: 'FixedImageUrl',
                    value: 'Code16_Fixed_4.png'
                  },
                  {
                    name: 'MobileImageUrl',
                    value: 'Code16_Mobile_4.png'
                  }
                ]
              }
            ]
          }
        },
        {
          type: 'marking',
          isVisible: true,
          value: false,
          isVideo: false,
          additionalProperties: {
            value: '',
            dropdownValues: []
          }
        },
        {
          type: 'earthing',
          isVisible: true,
          value: true,
          isVideo: false,
          additionalProperties: {
            value: '',
            dropdownValues: []
          }
        }
      ],
      fixed: [
        {
          type: 'metallicProtection',
          isVisible: true,
          value: false,
          isVideo: false,
          additionalProperties: {
            value: '',
            dropdownValues: [
              {
                value: 'Above',
                parameters: []
              },
              {
                value: 'Below',
                parameters: []
              },
              {
                value: 'Both sides',
                parameters: []
              }
            ]
          }
        },
        {
          type: 'dynamicCable',
          isVisible: true,
          value: true,
          isVideo: false,
          additionalProperties: {
            value: '',
            dropdownValues: []
          }
        },
        {
          type: 'angularBracket',
          isVisible: true,
          value: false,
          isVideo: false,
          additionalProperties: {
            value: '',
            dropdownValues: []
          }
        }
      ],
      mobile: [
        {
          type: 'metallicProtection',
          isVisible: true,
          value: true,
          isVideo: false,
          additionalProperties: {
            value: 'Both sides',
            dropdownValues: [
              {
                value: 'Above',
                parameters: []
              },
              {
                value: 'Below',
                parameters: []
              },
              {
                value: 'Both sides',
                parameters: []
              }
            ]
          }
        },
        {
          type: 'dynamicCable',
          isVisible: true,
          value: false,
          isVideo: false,
          additionalProperties: {
            value: '',
            dropdownValues: []
          }
        },
        {
          type: 'dynamicCable',
          isVisible: true,
          value: false,
          isVideo: false,
          additionalProperties: {
            value: '',
            dropdownValues: []
          }
        }
      ]
    },
    documentation: {
      isFilled: true
    },
    decision: {
      isFilled: false,
      comment: '',
      status: null
    }
  }
}