fix binding

This commit is contained in:
=
2020-06-15 17:12:07 +02:00
parent 579fa79bb6
commit 8f7c780edd
33 changed files with 518 additions and 516 deletions
+326 -324
View File
@@ -1,332 +1,334 @@
declare module Recipe {
interface IRange {
min: number,
max: number
}
interface IRange {
min: number,
max: number
}
interface IStatus {
visible: boolean,
enabled: boolean,
hasError: boolean
}
interface IStatus {
visible: boolean,
enabled: boolean,
hasError: boolean
}
interface IValue {
range: IRange,
status: IStatus,
unitMeasure: string,
valueAct: number
}
interface IValue {
range: IRange,
status: IStatus,
unitMeasure: string,
setpointHMI: number,
setpointPLC: number,
valueAct: number
}
interface IRecipe {
general_sizes_mould_dim_x?: IValue,
general_sizes_mould_dim_y?: IValue,
general_sizes_mould_max_height?: IValue,
general_sizes_mould_min_height?: IValue,
general_sizes_mould_base_height?: IValue,
general_sizes_sheet_material?: IValue,
general_sizes_sheet_dim_x?: IValue,
general_sizes_sheet_dim_y?: IValue,
general_sizes_sheet_thickness?: IValue,
general_sizes_plate_type?: IValue,
general_sizes_plate_dim_x?: IValue,
general_sizes_plate_dim_y?: IValue,
general_sizes_frame_traverses?: IValue,
general_sizes_frame_dim_x?: IValue,
general_sizes_frame_dim_y?: IValue,
general_sizes_upperplate_max_height?: IValue,
general_area_working_dxsx?: IValue,
positions_mould_lower_position?: IValue,
positions_mould_lower_speed?: IValue,
positions_mould_intermediate_position?: IValue,
positions_mould_upper_position?: IValue,
positions_mould_upper_speed?: IValue,
positions_mould_upperdeceleration_position?: IValue,
positions_mould_upperdeceleration_speed?: IValue,
positions_mould_lowerdeceleration_speed?: IValue,
positions_mould_lowerdeceleration_position?: IValue,
positions_frame_lower_position?: IValue,
positions_frame_lower_speed?: IValue,
positions_frame_upper_speed?: IValue,
positions_frame_upper_position?: IValue,
positions_frame_intermediate_position?: IValue,
positions_frame_intermediate_speed?: IValue,
positions_frame_unload_position?: IValue,
positions_upperplate_lower_position?: IValue,
positions_upperplate_lower_speed?: IValue,
positions_upperplate_upper_position?: IValue,
positions_upperplate_upper_speed?: IValue,
positions_upperplate_upperdeceleration_position?: IValue,
positions_upperplate_upperdeceleration_speed?: IValue,
positions_upperplate_lowerdeceleration_position?: IValue,
positions_upperplate_lowerdeceleration_speed?: IValue,
cycle_forming_type?: IValue,
cycle_forming_pause_cycle?: IValue,
cycle_forming_cooling_enabled?: IValue,
cycle_forming_blowingbox_enabled?: IValue,
cycle_acrylicframe_enabled?: IValue,
cycle_acrylicframe_time?: IValue,
cycle_upperoverheating_enabled?: IValue,
cycle_upperoverheating_time?: IValue,
cycle_crystallisation_type?: IValue,
cycle_crystallisation_enabled?: IValue,
cycle_crystallisation_time?: IValue,
cycle_loader_enable?: IValue,
cycle_loader_lifter_lowerposition_delay?: IValue,
cycle_loader_lifter_upperposition_delay?: IValue,
cycle_loader_split_sheet_time?: IValue,
cycle_loader_ejector_position?: IValue,
cycle_loader_pallet_height?: IValue
cycle_loader_center_x?: IValue,
cycle_loader_center_y?: IValue,
cycle_loader_checktichness_enabled?: IValue,
cycle_loader_suckers_vacuum?: IValue,
cycle_loader_ionizer_enabled?: IValue,
cycle_loader_manualunloading_enabled?: IValue,
heats_lowerheaters_max_time?: IValue,
heats_lowerheaters_movement_enabled?: IValue,
heats_lowerheaters_enabled?: IValue,
heats_lowerheaters_oscillation?: IValue,
heats_upperheaters_max_time?: IValue,
heats_upperheaters_movement_enabled?: IValue,
heats_upperheaters_enabled?: IValue,
heats_upperheaters_oscillation?: IValue,
heats_decomsustain_type?: IValue,
heats_decomsustain_decompression_flow?: IValue,
heats_decomsustain_min_blowing_time?: IValue,
heats_decomsustain_sustain_delay?: IValue,
heats_decomsustain_decompression_delay?: IValue,
heats_decomsustain_decompression_duration?: IValue,
heats_decomsustain_smoke_function_enabled?: IValue,
pyrometer_pyrometer_enabled?: IValue,
pyrometer_pyrometer_setpoint?: IValue,
pyrometer_pyrometer_delay?: IValue,
pyrometer_upperthermoregulator_start_adjustment?: IValue,
pyrometer_upperthermoregulator_end_adjustment?: IValue,
pyrometer_upperthermoregulator_min_percentage?: IValue,
pyrometer_upperthermoregulator_max_percentage?: IValue,
pyrometer_upperthermoregulator_sleep_enabled?: IValue,
pyrometer_upperthermoregulator_sleep_percentage?: IValue,
pyrometer_lowerthermoregulator_start_adjustment?: IValue,
pyrometer_lowerthermoregulator_end_adjustment?: IValue,
pyrometer_lowerthermoregulator_min_percentage?: IValue,
pyrometer_lowerthermoregulator_max_percentage?: IValue,
pyrometer_lowerthermoregulator_sleep_enabled?: IValue,
pyrometer_lowerthermoregulator_sleep_percentage?: IValue,
pyrometer_upperthermoregulator_sleep_temperature?: IValue,
pyrometer_upperthermoregulator_working_temperature?: IValue,
pyrometer_lowerthermoregulator_sleep_temperature?: IValue,
pyrometer_lowerthermoregulator_working_temperature?: IValue,
drawing_type?: IValue,
drawing_height?: IValue,
drawing_delay?: IValue,
drawing_1_chart_setpointx?: IValue,
drawing_1_chart_setpointy?: IValue,
drawing_photocell?: IValue,
drawing_mantaining_flow?: IValue,
drawing_manual?: IValue,
drawing_mould_up_delay?: IValue,
upperplate_cycle_type?: IValue,
upperplate_cycle_delay?: IValue,
upperplate_cycle_time?: IValue,
upperplate_air_enable?: IValue,
upperplate_air_delay?: IValue,
upperplate_air_max_time?: IValue,
upperplate_air_1_chart_setpointx?: IValue,
upperplate_air_1_chart_setpointy?: IValue,
upperplate_air_2_chart_setpointx?: IValue,
upperplate_air_2_chart_setpointy?: IValue,
upperplate_air_3_chart_setpointx?: IValue,
upperplate_air_3_chart_setpointy?: IValue,
upperplate_air_manual?: IValue,
upperplate_vacuum_enable?: IValue,
upperplate_vacuum_delay?: IValue,
upperplate_vacuum_max_time?: IValue,
upperplate_vacuum_1_chart_setpointx?: IValue,
upperplate_vacuum_1_chart_setpointy?: IValue,
upperplate_vacuum_2_chart_setpointx?: IValue,
upperplate_vacuum_2_chart_setpointy?: IValue,
upperplate_vacuum_3_chart_setpointx?: IValue,
upperplate_vacuum_3_chart_setpointy?: IValue,
upperplate_vacuum_manual?: IValue,
upperplate_extraction_enable?: IValue,
upperplate_extraction_delay?: IValue,
upperplate_extraction_1_chart_setpointx?: IValue,
upperplate_extraction_1_chart_setpointy?: IValue,
upperplate_extraction_manual?: IValue,
cooling_blowing_type?: IValue,
cooling_blowing_delay?: IValue,
cooling_blowing_time?: IValue,
cooling_pyrometer_enabled?: IValue,
cooling_pyrometer_setpoint?: IValue,
cooling_pyrometer_delay?: IValue,
cooling_nebulizer_type?: IValue,
cooling_nebulizer_delay?: IValue,
cooling_nebulizer_time?: IValue,
cooling_telescopic_enable?: IValue,
cooling_telescopic_position?: IValue,
cooling_telescopic_swing_enable?: IValue,
cooling_telescopic_swing_stroke?: IValue,
cooling_shutter_1_opening_perc?: IValue,
cooling_shutter_2_opening_perc?: IValue,
cooling_shutter_3_opening_perc?: IValue,
cooling_shutter_4_opening_perc?: IValue,
cooling_shutter_5_opening_perc?: IValue,
cooling_shutter_6_opening_perc?: IValue,
cooling_shutter_7_opening_perc?: IValue,
cooling_shutter_8_opening_perc?: IValue,
cooling_shutter_9_opening_perc?: IValue,
cooling_shutter_10_opening_perc?: IValue,
cooling_shutter_11_opening_perc?: IValue,
cooling_shutter_12_opening_perc?: IValue,
cooling_shutter_13_opening_perc?: IValue,
cooling_shutter_14_opening_perc?: IValue,
cooling_shutter_15_opening_perc?: IValue,
cooling_shutter_16_opening_perc?: IValue,
vacuum_main_start?: IValue,
vacuum_main_delay?: IValue,
vacuum_main_max_time?: IValue,
vacuum_main_1_chart_setpointx?: IValue,
vacuum_main_1_chart_setpointy?: IValue,
vacuum_main_2_chart_setpointx?: IValue,
vacuum_main_2_chart_setpointy?: IValue,
vacuum_main_3_chart_setpointx?: IValue,
vacuum_main_3_chart_setpointy?: IValue,
vacuum_main_manual?: IValue,
vacuum_direct_enabled?: IValue,
vacuum_direct_delay?: IValue,
vacuum_direct_time?: IValue,
vacuum_aux_enabled?: IValue,
vacuum_aux_delay?: IValue,
vacuum_aux_max_time?: IValue,
vacuum_aux_1_chart_setpointx?: IValue,
vacuum_aux_1_chart_setpointy?: IValue,
vacuum_aux_2_chart_setpointx?: IValue,
vacuum_aux_2_chart_setpointy?: IValue,
vacuum_aux_3_chart_setpointx?: IValue,
vacuum_aux_3_chart_setpointy?: IValue,
vacuum_aux_manual?: IValue,
vacuum_pre_enabled?: IValue,
vacuum_pre_delay?: IValue,
vacuum_pre_max_time?: IValue,
vacuum_pre_1_chart_setpointx?: IValue,
vacuum_pre_1_chart_setpointy?: IValue,
vacuum_pre_2_chart_setpointx?: IValue,
vacuum_pre_2_chart_setpointy?: IValue,
vacuum_pre_3_chart_setpointx?: IValue,
vacuum_pre_3_chart_setpointy?: IValue,
extraction_main_type?: IValue,
extraction_main_mould_dw_delay?: IValue,
extraction_main_delay?: IValue,
extraction_main_1_chart_setpointx?: IValue,
extraction_main_1_chart_setpointy?: IValue,
extraction_main_manual?: IValue,
extraction_aux_enabled?: IValue,
extraction_aux_delay?: IValue,
extraction_aux_1_chart_setpointx?: IValue,
extraction_aux_1_chart_setpointy?: IValue,
extraction_aux_manual?: IValue,
options_undercutmould_1_mode?: IValue,
options_undercutmould_1_position?: IValue,
options_undercutmould_1_delay_acti?: IValue,
options_undercutmould_1_delay_dis?: IValue,
options_undercutmould_2_mode?: IValue,
options_undercutmould_2_position?: IValue,
options_undercutmould_2_delay_acti?: IValue,
options_undercutmould_2_delay_dis?: IValue,
options_undercutmould_3_mode?: IValue,
options_undercutmould_3_position?: IValue,
options_undercutmould_3_delay_acti?: IValue,
options_undercutmould_3_delay_dis?: IValue,
options_undercutmould_4_mode?: IValue,
options_undercutmould_4_position?: IValue,
options_undercutmould_4_delay_acti?: IValue,
options_undercutmould_4_delay_dis?: IValue,
options_undercutmould_5_mode?: IValue,
options_undercutmould_5_position?: IValue,
options_undercutmould_5_delay_acti?: IValue,
options_undercutmould_5_delay_dis?: IValue,
options_undercutmould_6_mode?: IValue,
options_undercutmould_6_position?: IValue,
options_undercutmould_6_delay_acti?: IValue,
options_undercutmould_6_delay_dis?: IValue,
options_undercutmould_7_mode?: IValue,
options_undercutmould_7_position?: IValue,
options_undercutmould_7_delay_acti?: IValue,
options_undercutmould_7_delay_dis?: IValue,
options_undercutmould_8_mode?: IValue,
options_undercutmould_8_position?: IValue,
options_undercutmould_8_delay_acti?: IValue,
options_undercutmould_8_delay_dis?: IValue,
options_undercutmould_9_mode?: IValue,
options_undercutmould_9_position?: IValue,
options_undercutmould_9_delay_acti?: IValue,
options_undercutmould_9_delay_dis?: IValue,
options_undercutmould_10_mode?: IValue,
options_undercutmould_10_position?: IValue,
options_undercutmould_10_delay_acti?: IValue,
options_undercutmould_10_delay_dis?: IValue,
options_undercutupperplate_1_mode?: IValue,
options_undercutupperplate_1_position?: IValue,
options_undercutupperplate_1_delay_acti?: IValue,
options_undercutupperplate_1_delay_dis?: IValue,
options_undercutupperplate_2_mode?: IValue,
options_undercutupperplate_2_position?: IValue,
options_undercutupperplate_2_delay_acti?: IValue,
options_undercutupperplate_2_delay_dis?: IValue,
options_undercutupperplate_3_mode?: IValue,
options_undercutupperplate_3_position?: IValue,
options_undercutupperplate_3_delay_acti?: IValue,
options_undercutupperplate_3_delay_dis?: IValue,
options_undercutupperplate_4_mode?: IValue,
options_undercutupperplate_4_position?: IValue,
options_undercutupperplate_4_delay_acti?: IValue,
options_undercutupperplate_4_delay_dis?: IValue,
options_undercutupperplate_5_mode?: IValue,
options_undercutupperplate_5_position?: IValue,
options_undercutupperplate_5_delay_acti?: IValue,
options_undercutupperplate_5_delay_dis?: IValue,
options_undercutupperplate_6_mode?: IValue,
options_undercutupperplate_6_position?: IValue,
options_undercutupperplate_6_delay_acti?: IValue,
options_undercutupperplate_6_delay_dis?: IValue,
options_undercutupperplate_7_mode?: IValue,
options_undercutupperplate_7_position?: IValue,
options_undercutupperplate_7_delay_acti?: IValue,
options_undercutupperplate_7_delay_dis?: IValue,
options_undercutupperplate_8_mode?: IValue,
options_undercutupperplate_8_position?: IValue,
options_undercutupperplate_8_delay_acti?: IValue,
options_undercutupperplate_8_delay_dis?: IValue,
options_undercutupperplate_9_mode?: IValue,
options_undercutupperplate_9_position?: IValue,
options_undercutupperplate_9_delay_acti?: IValue,
options_undercutupperplate_9_delay_dis?: IValue,
options_undercutupperplate_10_mode?: IValue,
options_undercutupperplate_10_position?: IValue,
options_undercutupperplate_10_delay_acti?: IValue,
options_undercutupperplate_10_delay_dis?: IValue,
options_thermoregulator_1_enabled?: IValue,
options_thermoregulator_1_setpoint?: IValue,
options_thermoregulator_2_enabled?: IValue,
options_thermoregulator_2_setpoint?: IValue,
options_thermoregulator_3_enabled?: IValue,
options_thermoregulator_3_setpoint?: IValue,
options_thermoregulator_4_enabled?: IValue,
options_thermoregulator_4_setpoint?: IValue,
options_thermoregulator_5_enabled?: IValue,
options_thermoregulator_5_setpoint?: IValue,
options_thermoregulator_6_enabled?: IValue,
options_thermoregulator_6_setpoint?: IValue,
options_thermoregulator_7_enabled?: IValue,
options_thermoregulator_7_setpoint?: IValue,
options_thermoregulator_8_enabled?: IValue,
options_thermoregulator_8_setpoint?: IValue,
options_thermoregulator_9_enabled?: IValue,
options_thermoregulator_9_setpoint?: IValue,
options_thermoregulator_10_enabled?: IValue,
options_thermoregulator_10_setpoint?: IValue,
}
interface IRecipe {
general_sizes_mould_dim_x?: IValue,
general_sizes_mould_dim_y?: IValue,
general_sizes_mould_max_height?: IValue,
general_sizes_mould_min_height?: IValue,
general_sizes_mould_base_height?: IValue,
general_sizes_sheet_material?: IValue,
general_sizes_sheet_dim_x?: IValue,
general_sizes_sheet_dim_y?: IValue,
general_sizes_sheet_thickness?: IValue,
general_sizes_plate_type?: IValue,
general_sizes_plate_dim_x?: IValue,
general_sizes_plate_dim_y?: IValue,
general_sizes_frame_traverses?: IValue,
general_sizes_frame_dim_x?: IValue,
general_sizes_frame_dim_y?: IValue,
general_sizes_upperplate_max_height?: IValue,
general_area_working_dxsx?: IValue,
positions_mould_lower_position?: IValue,
positions_mould_lower_speed?: IValue,
positions_mould_intermediate_position?: IValue,
positions_mould_upper_position?: IValue,
positions_mould_upper_speed?: IValue,
positions_mould_upperdeceleration_position?: IValue,
positions_mould_upperdeceleration_speed?: IValue,
positions_mould_lowerdeceleration_speed?: IValue,
positions_mould_lowerdeceleration_position?: IValue,
positions_frame_lower_position?: IValue,
positions_frame_lower_speed?: IValue,
positions_frame_upper_speed?: IValue,
positions_frame_upper_position?: IValue,
positions_frame_intermediate_position?: IValue,
positions_frame_intermediate_speed?: IValue,
positions_frame_unload_position?: IValue,
positions_upperplate_lower_position?: IValue,
positions_upperplate_lower_speed?: IValue,
positions_upperplate_upper_position?: IValue,
positions_upperplate_upper_speed?: IValue,
positions_upperplate_upperdeceleration_position?: IValue,
positions_upperplate_upperdeceleration_speed?: IValue,
positions_upperplate_lowerdeceleration_position?: IValue,
positions_upperplate_lowerdeceleration_speed?: IValue,
cycle_forming_type?: IValue,
cycle_forming_pause_cycle?: IValue,
cycle_forming_cooling_enabled?: IValue,
cycle_forming_blowingbox_enabled?: IValue,
cycle_acrylicframe_enabled?: IValue,
cycle_acrylicframe_time?: IValue,
cycle_upperoverheating_enabled?: IValue,
cycle_upperoverheating_time?: IValue,
cycle_crystallisation_type?: IValue,
cycle_crystallisation_enabled?: IValue,
cycle_crystallisation_time?: IValue,
cycle_loader_enable?: IValue,
cycle_loader_lifter_lowerposition_delay?: IValue,
cycle_loader_lifter_upperposition_delay?: IValue,
cycle_loader_split_sheet_time?: IValue,
cycle_loader_ejector_position?: IValue,
cycle_loader_pallet_height?: IValue
cycle_loader_center_x?: IValue,
cycle_loader_center_y?: IValue,
cycle_loader_checktichness_enabled?: IValue,
cycle_loader_suckers_vacuum?: IValue,
cycle_loader_ionizer_enabled?: IValue,
cycle_loader_manualunloading_enabled?: IValue,
heats_lowerheaters_max_time?: IValue,
heats_lowerheaters_movement_enabled?: IValue,
heats_lowerheaters_enabled?: IValue,
heats_lowerheaters_oscillation?: IValue,
heats_upperheaters_max_time?: IValue,
heats_upperheaters_movement_enabled?: IValue,
heats_upperheaters_enabled?: IValue,
heats_upperheaters_oscillation?: IValue,
heats_decomsustain_type?: IValue,
heats_decomsustain_decompression_flow?: IValue,
heats_decomsustain_min_blowing_time?: IValue,
heats_decomsustain_sustain_delay?: IValue,
heats_decomsustain_decompression_delay?: IValue,
heats_decomsustain_decompression_duration?: IValue,
heats_decomsustain_smoke_function_enabled?: IValue,
pyrometer_pyrometer_enabled?: IValue,
pyrometer_pyrometer_setpoint?: IValue,
pyrometer_pyrometer_delay?: IValue,
pyrometer_upperthermoregulator_start_adjustment?: IValue,
pyrometer_upperthermoregulator_end_adjustment?: IValue,
pyrometer_upperthermoregulator_min_percentage?: IValue,
pyrometer_upperthermoregulator_max_percentage?: IValue,
pyrometer_upperthermoregulator_sleep_enabled?: IValue,
pyrometer_upperthermoregulator_sleep_percentage?: IValue,
pyrometer_lowerthermoregulator_start_adjustment?: IValue,
pyrometer_lowerthermoregulator_end_adjustment?: IValue,
pyrometer_lowerthermoregulator_min_percentage?: IValue,
pyrometer_lowerthermoregulator_max_percentage?: IValue,
pyrometer_lowerthermoregulator_sleep_enabled?: IValue,
pyrometer_lowerthermoregulator_sleep_percentage?: IValue,
pyrometer_upperthermoregulator_sleep_temperature?: IValue,
pyrometer_upperthermoregulator_working_temperature?: IValue,
pyrometer_lowerthermoregulator_sleep_temperature?: IValue,
pyrometer_lowerthermoregulator_working_temperature?: IValue,
drawing_type?: IValue,
drawing_height?: IValue,
drawing_delay?: IValue,
drawing_1_chart_setpointx?: IValue,
drawing_1_chart_setpointy?: IValue,
drawing_photocell?: IValue,
drawing_mantaining_flow?: IValue,
drawing_manual?: IValue,
drawing_mould_up_delay?: IValue,
upperplate_cycle_type?: IValue,
upperplate_cycle_delay?: IValue,
upperplate_cycle_time?: IValue,
upperplate_air_enable?: IValue,
upperplate_air_delay?: IValue,
upperplate_air_max_time?: IValue,
upperplate_air_1_chart_setpointx?: IValue,
upperplate_air_1_chart_setpointy?: IValue,
upperplate_air_2_chart_setpointx?: IValue,
upperplate_air_2_chart_setpointy?: IValue,
upperplate_air_3_chart_setpointx?: IValue,
upperplate_air_3_chart_setpointy?: IValue,
upperplate_air_manual?: IValue,
upperplate_vacuum_enable?: IValue,
upperplate_vacuum_delay?: IValue,
upperplate_vacuum_max_time?: IValue,
upperplate_vacuum_1_chart_setpointx?: IValue,
upperplate_vacuum_1_chart_setpointy?: IValue,
upperplate_vacuum_2_chart_setpointx?: IValue,
upperplate_vacuum_2_chart_setpointy?: IValue,
upperplate_vacuum_3_chart_setpointx?: IValue,
upperplate_vacuum_3_chart_setpointy?: IValue,
upperplate_vacuum_manual?: IValue,
upperplate_extraction_enable?: IValue,
upperplate_extraction_delay?: IValue,
upperplate_extraction_1_chart_setpointx?: IValue,
upperplate_extraction_1_chart_setpointy?: IValue,
upperplate_extraction_manual?: IValue,
cooling_blowing_type?: IValue,
cooling_blowing_delay?: IValue,
cooling_blowing_time?: IValue,
cooling_pyrometer_enabled?: IValue,
cooling_pyrometer_setpoint?: IValue,
cooling_pyrometer_delay?: IValue,
cooling_nebulizer_type?: IValue,
cooling_nebulizer_delay?: IValue,
cooling_nebulizer_time?: IValue,
cooling_telescopic_enable?: IValue,
cooling_telescopic_position?: IValue,
cooling_telescopic_swing_enable?: IValue,
cooling_telescopic_swing_stroke?: IValue,
cooling_shutter_1_opening_perc?: IValue,
cooling_shutter_2_opening_perc?: IValue,
cooling_shutter_3_opening_perc?: IValue,
cooling_shutter_4_opening_perc?: IValue,
cooling_shutter_5_opening_perc?: IValue,
cooling_shutter_6_opening_perc?: IValue,
cooling_shutter_7_opening_perc?: IValue,
cooling_shutter_8_opening_perc?: IValue,
cooling_shutter_9_opening_perc?: IValue,
cooling_shutter_10_opening_perc?: IValue,
cooling_shutter_11_opening_perc?: IValue,
cooling_shutter_12_opening_perc?: IValue,
cooling_shutter_13_opening_perc?: IValue,
cooling_shutter_14_opening_perc?: IValue,
cooling_shutter_15_opening_perc?: IValue,
cooling_shutter_16_opening_perc?: IValue,
vacuum_main_start?: IValue,
vacuum_main_delay?: IValue,
vacuum_main_max_time?: IValue,
vacuum_main_1_chart_setpointx?: IValue,
vacuum_main_1_chart_setpointy?: IValue,
vacuum_main_2_chart_setpointx?: IValue,
vacuum_main_2_chart_setpointy?: IValue,
vacuum_main_3_chart_setpointx?: IValue,
vacuum_main_3_chart_setpointy?: IValue,
vacuum_main_manual?: IValue,
vacuum_direct_enabled?: IValue,
vacuum_direct_delay?: IValue,
vacuum_direct_time?: IValue,
vacuum_aux_enabled?: IValue,
vacuum_aux_delay?: IValue,
vacuum_aux_max_time?: IValue,
vacuum_aux_1_chart_setpointx?: IValue,
vacuum_aux_1_chart_setpointy?: IValue,
vacuum_aux_2_chart_setpointx?: IValue,
vacuum_aux_2_chart_setpointy?: IValue,
vacuum_aux_3_chart_setpointx?: IValue,
vacuum_aux_3_chart_setpointy?: IValue,
vacuum_aux_manual?: IValue,
vacuum_pre_enabled?: IValue,
vacuum_pre_delay?: IValue,
vacuum_pre_max_time?: IValue,
vacuum_pre_1_chart_setpointx?: IValue,
vacuum_pre_1_chart_setpointy?: IValue,
vacuum_pre_2_chart_setpointx?: IValue,
vacuum_pre_2_chart_setpointy?: IValue,
vacuum_pre_3_chart_setpointx?: IValue,
vacuum_pre_3_chart_setpointy?: IValue,
extraction_main_type?: IValue,
extraction_main_mould_dw_delay?: IValue,
extraction_main_delay?: IValue,
extraction_main_1_chart_setpointx?: IValue,
extraction_main_1_chart_setpointy?: IValue,
extraction_main_manual?: IValue,
extraction_aux_enabled?: IValue,
extraction_aux_delay?: IValue,
extraction_aux_1_chart_setpointx?: IValue,
extraction_aux_1_chart_setpointy?: IValue,
extraction_aux_manual?: IValue,
options_undercutmould_1_mode?: IValue,
options_undercutmould_1_position?: IValue,
options_undercutmould_1_delay_acti?: IValue,
options_undercutmould_1_delay_dis?: IValue,
options_undercutmould_2_mode?: IValue,
options_undercutmould_2_position?: IValue,
options_undercutmould_2_delay_acti?: IValue,
options_undercutmould_2_delay_dis?: IValue,
options_undercutmould_3_mode?: IValue,
options_undercutmould_3_position?: IValue,
options_undercutmould_3_delay_acti?: IValue,
options_undercutmould_3_delay_dis?: IValue,
options_undercutmould_4_mode?: IValue,
options_undercutmould_4_position?: IValue,
options_undercutmould_4_delay_acti?: IValue,
options_undercutmould_4_delay_dis?: IValue,
options_undercutmould_5_mode?: IValue,
options_undercutmould_5_position?: IValue,
options_undercutmould_5_delay_acti?: IValue,
options_undercutmould_5_delay_dis?: IValue,
options_undercutmould_6_mode?: IValue,
options_undercutmould_6_position?: IValue,
options_undercutmould_6_delay_acti?: IValue,
options_undercutmould_6_delay_dis?: IValue,
options_undercutmould_7_mode?: IValue,
options_undercutmould_7_position?: IValue,
options_undercutmould_7_delay_acti?: IValue,
options_undercutmould_7_delay_dis?: IValue,
options_undercutmould_8_mode?: IValue,
options_undercutmould_8_position?: IValue,
options_undercutmould_8_delay_acti?: IValue,
options_undercutmould_8_delay_dis?: IValue,
options_undercutmould_9_mode?: IValue,
options_undercutmould_9_position?: IValue,
options_undercutmould_9_delay_acti?: IValue,
options_undercutmould_9_delay_dis?: IValue,
options_undercutmould_10_mode?: IValue,
options_undercutmould_10_position?: IValue,
options_undercutmould_10_delay_acti?: IValue,
options_undercutmould_10_delay_dis?: IValue,
options_undercutupperplate_1_mode?: IValue,
options_undercutupperplate_1_position?: IValue,
options_undercutupperplate_1_delay_acti?: IValue,
options_undercutupperplate_1_delay_dis?: IValue,
options_undercutupperplate_2_mode?: IValue,
options_undercutupperplate_2_position?: IValue,
options_undercutupperplate_2_delay_acti?: IValue,
options_undercutupperplate_2_delay_dis?: IValue,
options_undercutupperplate_3_mode?: IValue,
options_undercutupperplate_3_position?: IValue,
options_undercutupperplate_3_delay_acti?: IValue,
options_undercutupperplate_3_delay_dis?: IValue,
options_undercutupperplate_4_mode?: IValue,
options_undercutupperplate_4_position?: IValue,
options_undercutupperplate_4_delay_acti?: IValue,
options_undercutupperplate_4_delay_dis?: IValue,
options_undercutupperplate_5_mode?: IValue,
options_undercutupperplate_5_position?: IValue,
options_undercutupperplate_5_delay_acti?: IValue,
options_undercutupperplate_5_delay_dis?: IValue,
options_undercutupperplate_6_mode?: IValue,
options_undercutupperplate_6_position?: IValue,
options_undercutupperplate_6_delay_acti?: IValue,
options_undercutupperplate_6_delay_dis?: IValue,
options_undercutupperplate_7_mode?: IValue,
options_undercutupperplate_7_position?: IValue,
options_undercutupperplate_7_delay_acti?: IValue,
options_undercutupperplate_7_delay_dis?: IValue,
options_undercutupperplate_8_mode?: IValue,
options_undercutupperplate_8_position?: IValue,
options_undercutupperplate_8_delay_acti?: IValue,
options_undercutupperplate_8_delay_dis?: IValue,
options_undercutupperplate_9_mode?: IValue,
options_undercutupperplate_9_position?: IValue,
options_undercutupperplate_9_delay_acti?: IValue,
options_undercutupperplate_9_delay_dis?: IValue,
options_undercutupperplate_10_mode?: IValue,
options_undercutupperplate_10_position?: IValue,
options_undercutupperplate_10_delay_acti?: IValue,
options_undercutupperplate_10_delay_dis?: IValue,
options_thermoregulator_1_enabled?: IValue,
options_thermoregulator_1_setpoint?: IValue,
options_thermoregulator_2_enabled?: IValue,
options_thermoregulator_2_setpoint?: IValue,
options_thermoregulator_3_enabled?: IValue,
options_thermoregulator_3_setpoint?: IValue,
options_thermoregulator_4_enabled?: IValue,
options_thermoregulator_4_setpoint?: IValue,
options_thermoregulator_5_enabled?: IValue,
options_thermoregulator_5_setpoint?: IValue,
options_thermoregulator_6_enabled?: IValue,
options_thermoregulator_6_setpoint?: IValue,
options_thermoregulator_7_enabled?: IValue,
options_thermoregulator_7_setpoint?: IValue,
options_thermoregulator_8_enabled?: IValue,
options_thermoregulator_8_setpoint?: IValue,
options_thermoregulator_9_enabled?: IValue,
options_thermoregulator_9_setpoint?: IValue,
options_thermoregulator_10_enabled?: IValue,
options_thermoregulator_10_setpoint?: IValue,
}
}
@@ -19,28 +19,28 @@ export default class Keyboard extends Vue {
value: string;
del() {
this.actualValue.valueAct = 0;
this.actualValue.setpointHMI = 0;
}
canc() {
let temp = String(this.actualValue.valueAct);
this.actualValue.valueAct = Number(temp.slice(0, -1))
let temp = String(this.actualValue.setpointHMI);
this.actualValue.setpointHMI = Number(temp.slice(0, -1))
}
add(num: string) {
if (this.point) {
this.point += num;
this.actualValue.valueAct = Number(this.point)
this.actualValue.setpointHMI = Number(this.point)
} else {
let temp = String(this.actualValue.valueAct);
let temp = String(this.actualValue.setpointHMI);
temp += num;
this.actualValue.valueAct = Number(temp)
this.actualValue.setpointHMI = Number(temp)
}
}
addpoint() {
if (!this.point) {
this.point = String(this.actualValue.valueAct);
this.point = String(this.actualValue.setpointHMI);
this.point += ".";
}
}
@@ -1,6 +1,6 @@
<template>
<div class="numeric">
<input type="number" v-model.number="value.valueAct" @focus="onFocus" @blur="onBlur" :id="id" />
<input type="number" v-model.number="value.setpointHMI" @focus="onFocus" @blur="onBlur" :id="id" />
<span v-if="value.unitMeasure">{{unitMeasure}}</span>
</div>
</template>
@@ -18,11 +18,11 @@ export default class Slider extends Vue {
get actualvalue() {
return this.value.valueAct;
return this.value.setpointHMI;
}
set actualvalue(v: number) {
this.value.valueAct = v;
this.value.setpointHMI = v;
}
get step() {
@@ -32,7 +32,7 @@ export default class Slider extends Vue {
};
increment() {
var v = this.value.valueAct;
var v = this.value.setpointHMI;
if (v < this.value.range.max) {
v -= (-this.step);
}
@@ -43,7 +43,7 @@ export default class Slider extends Vue {
};
decrement() {
var v = this.value.valueAct;
var v = this.value.setpointHMI;
if (v > this.value.range.min) {
v -= this.step;
}
@@ -26,7 +26,7 @@ export default class ShowCicloInfo extends Vue {
};
async conferma() {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
cycle_forming_type: this.recipe.cycle_forming_type,
@@ -59,7 +59,7 @@ export default class ShowCicloInfo extends Vue {
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -37,7 +37,7 @@ export default class ShowControstampoInfo extends Vue {
};
async conferma() {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
upperplate_cycle_type: this.recipe.upperplate_cycle_type,
@@ -76,7 +76,7 @@ export default class ShowControstampoInfo extends Vue {
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -34,7 +34,7 @@ export default class ShowEstrazioneInfo extends Vue {
};
async conferma() {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
extraction_main_type: this.recipe.extraction_main_type,
@@ -56,7 +56,7 @@ export default class ShowEstrazioneInfo extends Vue {
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -4,7 +4,7 @@
<div class="borded_label" id="quota1">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_upperplate_max_height.valueAct}}</span>
<span>{{recipe.general_sizes_upperplate_max_height.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
@@ -4,14 +4,14 @@
<div class="borded_label" id="quota1">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_frame_dim_y.valueAct}}</span>
<span>{{recipe.general_sizes_frame_dim_y.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_frame_dim_x.valueAct}}</span>
<span>{{recipe.general_sizes_frame_dim_x.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
@@ -1,28 +1,28 @@
<template>
<div class="svg-area">
<img src="assets/svg/disegno-lastra.svg" />
<div class="borded_label" id="quota1">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_sheet_dim_x.valueAct}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_sheet_dim_y.valueAct}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota3">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_sheet_thickness.valueAct}}</span>
<small>mm</small>
</div>
</div>
</div>
<div class="svg-area">
<img src="assets/svg/disegno-lastra.svg" />
<div class="borded_label" id="quota1">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_sheet_dim_x.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_sheet_dim_y.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota3">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_sheet_thickness.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
</div>
</template>
<style scoped>
#quota1 {
@@ -4,14 +4,14 @@
<div class="borded_label" id="quota1">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_plate_dim_y.valueAct}}</span>
<span>{{recipe.general_sizes_plate_dim_y.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_plate_dim_x.valueAct}}</span>
<span>{{recipe.general_sizes_plate_dim_x.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
@@ -4,35 +4,35 @@
<div class="borded_label" id="quota1" v-focus-on="general_sizes_mould_dim_x">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_mould_dim_x.valueAct}}</span>
<span>{{recipe.general_sizes_mould_dim_x.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_mould_dim_y.valueAct}}</span>
<span>{{recipe.general_sizes_mould_dim_y.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota3">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_mould_max_height.valueAct}}</span>
<span>{{recipe.general_sizes_mould_max_height.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota4">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_mould_base_height.valueAct}}</span>
<span>{{recipe.general_sizes_mould_base_height.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota5">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.general_sizes_mould_min_height.valueAct}}</span>
<span>{{recipe.general_sizes_mould_min_height.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
@@ -6,7 +6,7 @@
<div class="body">
<div class="input-area">
<label>{{'general_sizes_frame_traverses' | localize("Traversini")}}</label>
<select class="form-control" v-model="recipe.general_sizes_frame_traverses.valueAct">
<select class="form-control" v-model="recipe.general_sizes_frame_traverses.setpointHMI">
<option value="Policarbonato">Traversini</option>
</select>
</div>
@@ -6,7 +6,7 @@
<div class="body">
<div class="input-area">
<label>{{'general_sizes_sheet_material' | localize("Materiale")}}</label>
<select class="form-control" v-model="recipe.general_sizes_sheet_material.valueAct">
<select class="form-control" v-model="recipe.general_sizes_sheet_material.setpointHMI">
<option value="Policarbonato">Policarbonato</option>
</select>
</div>
@@ -6,7 +6,7 @@
<div class="body">
<div class="input-area">
<label>{{'general_sizes_plate_type' | localize("Tipo")}}</label>
<select class="form-control" v-model="recipe.general_sizes_plate_type.valueAct">
<select class="form-control" v-model="recipe.general_sizes_plate_type.setpointHMI">
<option value="Policarbonato">Policarbonato</option>
</select>
</div>
@@ -55,7 +55,7 @@ export default class ShowFormatoInfo extends Vue {
};
async conferma() {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
general_sizes_mould_dim_x: this.recipe.general_sizes_mould_dim_x,
@@ -83,7 +83,7 @@ export default class ShowFormatoInfo extends Vue {
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -32,7 +32,7 @@ export default class ShowImbutituraInfo extends Vue {
};
async conferma(name: string) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
drawing_type: this.recipe.drawing_type,
@@ -52,7 +52,7 @@ export default class ShowImbutituraInfo extends Vue {
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -3,9 +3,9 @@
<label>{{numSottoSq}}</label>
<label>{{status}}</label>
<select class="form-control" v-model="modalita"></select>
<label>{{quota.valueAct}} mm</label>
<label>{{ritardoAtt.valueAct}} s</label>
<label>{{ritardoDisatt.valueAct}} s</label>
<label>{{quota.setpointHMI}} mm</label>
<label>{{ritardoAtt.setpointHMI}} s</label>
<label>{{ritardoDisatt.setpointHMI}} s</label>
</div>
</template>
<script src="./setupSottosquadra.ts" lang="ts"></script>
@@ -1,8 +1,8 @@
<template>
<div class="section">
<label>{{numTermo}}</label>
<label>{{status.enabled}}</label>
<label>{{setpoint.valueAct}} °C</label>
<label>{{numTermo}}</label>
<label>{{status.enabled}}</label>
<label>{{setpoint.setpointHMI}} °C</label>
</div>
</template>
<script src="./setupTermo.ts" lang="ts"></script>
@@ -35,7 +35,7 @@ export default class ShowOpzioniInfo extends Vue {
};
async conferma() {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
options_undercutmould_1_mode: this.recipe.options_undercutmould_1_mode,
@@ -140,13 +140,13 @@ export default class ShowOpzioniInfo extends Vue {
options_thermoregulator_10_setpoint: this.recipe.options_thermoregulator_10_setpoint,
}
);
//await recipeService.Confirm();
await recipeService.Confirm();
ModalHelper.HideModal();
this.deferred.resolve(1);
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -3,33 +3,33 @@
<img src="assets/svg/disegno-termo.svg" />
<div class="borded_label" id="quota1">
<div>
<span>{{recipe.pyrometer_lowerthermoregulator_sleep_percentage.valueAct}}</span>
<span>{{recipe.pyrometer_lowerthermoregulator_sleep_percentage.setpointHMI}}</span>
<small>%</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<span>{{recipe.pyrometer_lowerthermoregulator_min_percentage.valueAct}}</span>
<span>{{recipe.pyrometer_lowerthermoregulator_min_percentage.setpointHMI}}</span>
<small>%</small>
</div>
</div>
<div class="borded_label" id="quota3">
<div>
<span>{{recipe.pyrometer_lowerthermoregulator_max_percentage.valueAct}}</span>
<span>{{recipe.pyrometer_lowerthermoregulator_max_percentage.setpointHMI}}</span>
<small>%</small>
</div>
</div>
<div class="borded_label" id="quota4">
<div>
<img src="assets/icons/png/temperatura.png" />
<span>{{recipe.pyrometer_lowerthermoregulator_start_adjustment.valueAct}}</span>
<span>{{recipe.pyrometer_lowerthermoregulator_start_adjustment.setpointHMI}}</span>
<small>°C</small>
</div>
</div>
<div class="borded_label" id="quota5">
<div>
<img src="assets/icons/png/temperatura.png" />
<span>{{recipe.pyrometer_lowerthermoregulator_end_adjustment.valueAct}}</span>
<span>{{recipe.pyrometer_lowerthermoregulator_end_adjustment.setpointHMI}}</span>
<small>°C</small>
</div>
</div>
@@ -3,33 +3,33 @@
<img src="assets/svg/disegno-termo.svg" />
<div class="borded_label" id="quota1">
<div>
<span>{{recipe.pyrometer_upperthermoregulator_sleep_percentage.valueAct}}</span>
<span>{{recipe.pyrometer_upperthermoregulator_sleep_percentage.setpointHMI}}</span>
<small>%</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<span>{{recipe.pyrometer_upperthermoregulator_min_percentage.valueAct}}</span>
<span>{{recipe.pyrometer_upperthermoregulator_min_percentage.setpointHMI}}</span>
<small>%</small>
</div>
</div>
<div class="borded_label" id="quota3">
<div>
<span>{{recipe.pyrometer_upperthermoregulator_max_percentage.valueAct}}</span>
<span>{{recipe.pyrometer_upperthermoregulator_max_percentage.setpointHMI}}</span>
<small>%</small>
</div>
</div>
<div class="borded_label" id="quota4">
<div>
<img src="assets/icons/png/temperatura.png" />
<span>{{recipe.pyrometer_upperthermoregulator_start_adjustment.valueAct}}</span>
<span>{{recipe.pyrometer_upperthermoregulator_start_adjustment.setpointHMI}}</span>
<small>°C</small>
</div>
</div>
<div class="borded_label" id="quota5">
<div>
<img src="assets/icons/png/temperatura.png" />
<span>{{recipe.pyrometer_upperthermoregulator_end_adjustment.valueAct}}</span>
<span>{{recipe.pyrometer_upperthermoregulator_end_adjustment.setpointHMI}}</span>
<small>°C</small>
</div>
</div>
@@ -27,7 +27,7 @@ export default class ShowPirometroInfo extends Vue {
};
async conferma() {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
pyrometer_pyrometer_enabled: this.recipe.pyrometer_pyrometer_enabled,
@@ -57,7 +57,7 @@ export default class ShowPirometroInfo extends Vue {
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -4,24 +4,24 @@
<div class="borded_label" id="quota1">
<div>
<img src="assets/icons/png/salita.png" />
<span>{{recipe.positions_frame_intermediate_position.valueAct}}</span>
<span>{{recipe.positions_frame_intermediate_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/bassa.png" />
<span>{{recipe.positions_frame_intermediate_speed.valueAct}}</span>
<span>{{recipe.positions_frame_intermediate_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<img src="assets/icons/png/salita.png" />
<span>{{recipe.positions_frame_lower_position.valueAct}}</span>
<span>{{recipe.positions_frame_lower_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/alta.png" />
<span>{{recipe.positions_frame_lower_speed.valueAct}}</span>
<span>{{recipe.positions_frame_lower_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
@@ -52,19 +52,19 @@
<div class="borded_label" id="quota5">
<div>
<img src="assets/icons/png/discesa.png" />
<span>{{recipe.positions_frame_upper_position.valueAct}}</span>
<span>{{recipe.positions_frame_upper_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/alta.png" />
<span>{{recipe.positions_frame_upper_speed.valueAct}}</span>
<span>{{recipe.positions_frame_upper_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota6">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.positions_frame_unload_position.valueAct}}</span>
<span>{{recipe.positions_frame_unload_position.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
@@ -1,91 +1,91 @@
<template>
<div class="svg-area">
<img src="assets/svg/disegno-quote-velocita-stampo.svg" />
<div class="borded_label" id="quota1">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.positions_mould_intermediate_position.valueAct}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<img src="assets/icons/png/quota.png" />
<span>00</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota3">
<div>
<img src="assets/icons/png/quota.png" />
<span>00</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota4">
<div>
<img src="assets/icons/png/quota.png" />
<span>00</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota5">
<div>
<img src="assets/icons/png/quota.png" />
<span>00</span>
<small>mm</small>
</div>
</div>
<div class="svg-area">
<img src="assets/svg/disegno-quote-velocita-stampo.svg" />
<div class="borded_label" id="quota1">
<div>
<img src="assets/icons/png/quota.png" />
<span>{{recipe.positions_mould_intermediate_position.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<img src="assets/icons/png/quota.png" />
<span>00</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota3">
<div>
<img src="assets/icons/png/quota.png" />
<span>00</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota4">
<div>
<img src="assets/icons/png/quota.png" />
<span>00</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota5">
<div>
<img src="assets/icons/png/quota.png" />
<span>00</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota6">
<div>
<img src="assets/icons/png/salita.png" />
<span>{{recipe.positions_mould_upperdeceleration_position.valueAct}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/bassa.png" />
<span>{{recipe.positions_mould_upperdeceleration_speed.valueAct}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota7">
<div>
<img src="assets/icons/png/salita.png" />
<span>{{recipe.positions_mould_upper_position.valueAct}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/alta.png" />
<span>{{recipe.positions_mould_upper_speed.valueAct}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota8">
<div>
<img src="assets/icons/png/discesa.png" />
<span>{{recipe.positions_mould_lowerdeceleration_position.valueAct}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/bassa.png" />
<span>{{recipe.positions_mould_lowerdeceleration_speed.valueAct}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota9">
<div>
<img src="assets/icons/png/discesa.png" />
<span>{{recipe.positions_mould_lower_position.valueAct}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/alta.png" />
<span>{{recipe.positions_mould_lower_speed.valueAct}}</span>
<small>mm</small>
</div>
</div>
</div>
<div class="borded_label" id="quota6">
<div>
<img src="assets/icons/png/salita.png" />
<span>{{recipe.positions_mould_upperdeceleration_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/bassa.png" />
<span>{{recipe.positions_mould_upperdeceleration_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota7">
<div>
<img src="assets/icons/png/salita.png" />
<span>{{recipe.positions_mould_upper_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/alta.png" />
<span>{{recipe.positions_mould_upper_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota8">
<div>
<img src="assets/icons/png/discesa.png" />
<span>{{recipe.positions_mould_lowerdeceleration_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/bassa.png" />
<span>{{recipe.positions_mould_lowerdeceleration_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota9">
<div>
<img src="assets/icons/png/discesa.png" />
<span>{{recipe.positions_mould_lower_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/alta.png" />
<span>{{recipe.positions_mould_lower_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
</div>
</template>
<style scoped>
#quota1 {
@@ -4,48 +4,48 @@ e<template>
<div class="borded_label" id="quota1">
<div>
<img src="assets/icons/png/salita.png" />
<span>{{recipe.positions_upperplate_lower_position.valueAct}}</span>
<span>{{recipe.positions_upperplate_lower_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/alta.png" />
<span>{{recipe.positions_upperplate_lower_speed.valueAct}}</span>
<span>{{recipe.positions_upperplate_lower_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota2">
<div>
<img src="assets/icons/png/salita.png" />
<span>{{recipe.positions_upperplate_lowerdeceleration_position.valueAct}}</span>
<span>{{recipe.positions_upperplate_lowerdeceleration_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/bassa.png" />
<span>{{recipe.positions_upperplate_lowerdeceleration_speed.valueAct}}</span>
<span>{{recipe.positions_upperplate_lowerdeceleration_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota3">
<div>
<img src="assets/icons/png/discesa.png" />
<span>{{recipe.positions_upperplate_upper_position.valueAct}}</span>
<span>{{recipe.positions_upperplate_upper_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/alta.png" />
<span>{{recipe.positions_upperplate_upper_speed.valueAct}}</span>
<span>{{recipe.positions_upperplate_upper_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
<div class="borded_label" id="quota4">
<div>
<img src="assets/icons/png/discesa.png" />
<span>{{recipe.positions_upperplate_upperdeceleration_position.valueAct}}</span>
<span>{{recipe.positions_upperplate_upperdeceleration_position.setpointHMI}}</span>
<small>mm</small>
</div>
<div>
<img src="assets/icons/png/bassa.png" />
<span>{{recipe.positions_upperplate_upperdeceleration_speed.valueAct}}</span>
<span>{{recipe.positions_upperplate_upperdeceleration_speed.setpointHMI}}</span>
<small>mm</small>
</div>
</div>
@@ -35,7 +35,7 @@ export default class ShowQuoteVelocitaInfo extends Vue {
};
async conferma() {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
positions_mould_lower_position: this.recipe.positions_mould_lower_position,
@@ -70,7 +70,7 @@ export default class ShowQuoteVelocitaInfo extends Vue {
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -39,7 +39,7 @@ export default class Raffreddamento extends Vue {
};
async conferma() {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
cooling_blowing_type: this.recipe.cooling_blowing_type,
@@ -79,7 +79,7 @@ export default class Raffreddamento extends Vue {
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -27,7 +27,7 @@ export default class ShowRiscaldamentoSuperioreInfo extends Vue {
};
async conferma(name: string) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
heats_lowerheaters_max_time: this.recipe.heats_lowerheaters_max_time,
@@ -53,7 +53,7 @@ export default class ShowRiscaldamentoSuperioreInfo extends Vue {
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -38,7 +38,7 @@ export default class ShowVuotoInfo extends Vue {
};
async conferma() {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
await recipeService.Update(
{
vacuum_main_start: this.recipe.vacuum_main_start,
@@ -81,7 +81,7 @@ export default class ShowVuotoInfo extends Vue {
};
goTo(step) {
recipeActions.setCurrent(store, this.recipe);
// recipeActions.setCurrent(store, this.recipe);
ModalHelper.HideModal();
this.deferred.resolve(step);
}
@@ -152,6 +152,7 @@ export class Hub {
}
public static recipeOverData(data) {
console.log('recipeOverData', data)
recipeActions.setOverview(store, data);
}
@@ -25,12 +25,11 @@ export class RecipeService extends baseRestService {
for (const key in model) {
if (model.hasOwnProperty(key)) {
payload[key] = model[key]?.valueAct;
payload[key] = model[key]?.setpointHMI;
}
}
let result = await this.Put<any>((await this.BASE_URL()) + "update", payload, true);
// recipeActions.Update(store, result);
return result;
}
@@ -43,7 +43,7 @@ export const recipeStore = {
for (const key in model) {
if (model.hasOwnProperty(key)) {
if (model[key])
Vue.set(state.current, key, model[key]);
Vue.set(state.overview, key, model[key]);
}
}
},