edit_in_place : ajax_field.js

暂时只提供输入框的切换功能,以后实现属性的Ajax.update功能

/* Ajax Field , version 1.0.0
* (c) 2006 discolt <discolt@sohu.com>
*
* Team by Vnetoo
/*--------------------------------------------------------------------------*/

AjaxField = Class.create();

AjaxField.prototype = {

initialize: function(input) {
this.field = input;
this.wrapper = null;
this.injectWrapper();
this.addHandleEvent();
},

// 插入Wrapper对象到页面
injectWrapper: function() {
this.createWrapper();
this.positionWrapper();
},

// 创建Wrapper对象
createWrapper: function() {
this.wrapper = document.createElement("span");
this.setWrapperValue();
this.field.parentNode.appendChild(this.wrapper);
},

// 定位Wrapper到属性的位置
positionWrapper: function() {
var wrapperStyle = this.wrapper.style;
wrapperStyle.textDecoration = 'underline';
wrapperStyle.position = 'absolute';
var fieldPos = RicoUtil.toDocumentPosition(this.field);
wrapperStyle.top = fieldPos.y + 'px';
wrapperStyle.left = fieldPos.x + 'px';
wrapperStyle.width = this.field.offsetWidth + '100px';
this.hideField();
},

// 设置Wrapper值,如果值没改变返回false
setWrapperValue: function() {
var text = this.field.tagName == 'SELECT' ? this.field[this.field.selectedIndex].text : this.field.value;
if (text.length == 0) {
text = "-请输入-";
}
if (text != this.wrapper.innerHTML) {
this.wrapper.innerHTML = text;
return true;
} else {
return false;
}
},

// 隐藏Field
hideField: function() {
this.field.style.display = 'none';
this.wrapper.style.display = '';
},

// 添加事件
addHandleEvent: function() {

var field = this.field;
var wrapper = this.wrapper;
var ajaxField = this;

// 覆盖类被双击时
// 隐藏Wrapper对象并显示元素
this.wrapper.ondblclick = function() {
wrapper.style.display='none';
field.style.display = '';
field.focus();
};

// 当元素失去焦点时,设置覆盖类的值,并隐藏元素,显示覆盖类
this.field.onblur=function() {
if (ajaxField.setWrapperValue()) {
//alert('ajax updating ...');
alert(field.form.name + " submit : for " + field.form.action + " update field:" + field.name + " to value:" + field.value);
}
field.style.display='none';
wrapper.style.display='';
};

}
}


var __EDITABLE_CLASS_NAME = 'editable';
/** makeEditable */
function makeEditable() {
var inputs = document.getElementsByClassName(__EDITABLE_CLASS_NAME);
inputs.each(function(el) {
new AjaxField(el);
});
}
Event.observe(window, 'load', makeEditable, false);
<template> <div class="erp-config"> <title>{{ $route.name }}</title> <h1>{{ $route.name }}</h1> <aui-form id="editForm" label-width="100px"> <div class="first-field" :class="isShowMore ? 'showMore' : 'hideMore'"> <aui-form-item label="时间"> <aui-dropdown v-model="searchForm.dateTime" class="operationClas" :op="dateMainOp" place-holder="请输入" ></aui-dropdown> </aui-form-item> <aui-form-item label="工序"> <aui-dropdown size="small" v-model="searchForm.workSerctionListStr" :op="workSerctionMainOp"></aui-dropdown> </aui-form-item> <aui-form-item label="交付部门"> <aui-dropdown size="small" v-model="searchForm.deptCodeStr" :op="deptCodeMainOp"></aui-dropdown> </aui-form-item> <aui-form-item label="产品系列"> <aui-dropdown size="small" v-model="searchForm.prodSeriesCodeListStr" :op="prodSeriesMainOp" place-holder="请选择" ></aui-dropdown> </aui-form-item> <aui-form-item class="first-field-btn" label-width="0px"> <i v-show="true" class="hae-icon" :class="isShowMore ? 'icon-down' : 'icon-left-o'" @click="isShowMore = !isShowMore" ></i> <aui-button hue="primary" round="true" size="small" @click="formValid">查询</aui-button> <aui-button hue="primary" round="true" size="small" @click="reset">重置</aui-button> </aui-form-item> </div> </aui-form> <aui-grid ref="grid" :op="createGridOp"></aui-grid> <aui-dialog-box v-model="lineCommandVisible" :dragable="true" title="架线指令" @close="handleLineCommandClose" width="90%" top="4%" > <cap-dept-line-command v-if="lineCommandVisible" :deptCode="deptCode" :workStation="workStation" :prodSeriesCode="prodSeriesCode" :bucketStr="bucketStr" :isCommandEdit="isCommandEdit" ></cap-dept-line-command> </aui-dialog-box> <!-- 架线 --> <aui-dialog-box id="gridTableDialog" title="导入产能规划" v-model="MaintainDeptProductionCapacityLinDialog.show" width="90%" top="4%" :dragable="true" @close="deptPlandClose" > <maintain-dept-production-capacity-lin v-if="MaintainDeptProductionCapacityLinDialog.show" :deptCodeStr="deptCode" :workSerctionListStr="workStation" :prodSeriesCodeListStr="prodSeriesCode" :bucketStr="bucketStr" ></maintain-dept-production-capacity-lin> </aui-dialog-box> <aui-row class="gridTopImportBtns"> <i class="hae-icon icon-setup" @click.stop="toolBoxShow = !toolBoxShow"> <div v-show="toolBoxShow"> <aui-fileupload round="true" size="small" :mini-mode="true" class='hae-btn' :op="importop">导入</aui-fileupload> <aui-button round="true" size="small" @click="dynamicExportClick">导出</aui-button> <aui-button round="true" size="small" @click="downloadFile" resetTime='5000'>导入模板下载</aui-button> </div> </i> </aui-row> </div> </template> <script> import { publicFun } from '../unit/js/public.js' import { Grid, Form, FormItem, Dropdown, Button, Hae, DialogBox, $ } from '@aurora/ui3' import moment from 'moment' import CapDeptLineCommand from '../unit/prodforecast/CapDeptLineCommand' import MaintainDeptProductionCapacityLin from '../prodforecast/MaintainDeptProductionCapacityLin' export default { components: { MaintainDeptProductionCapacityLin, AuiButton: Button, AuiGrid: Grid, AuiForm: Form, AuiFormItem: FormItem, AuiDropdown: Dropdown, AuiDialogBox: DialogBox, CapDeptLineCommand }, data() { let that = this return { isCommandEdit: this.$service.privilege.check('Service$linePlanInstructMaintainServiceImpl$save'), deptCode: '', workStation: '', prodSeriesCode: '', bucketStr: '', updateMap: [], // 新版是否显示更多条件 toolBoxShow: false, isShowMore: false, isTriangleIconShow: true, // 三角形图标显示 lineCommandVisible: false, initBucketStr: '', // 新版是否显示更多条件end MaintainDeptProductionCapacityLinDialog: { show: false }, dataForUpdate: [], searchForm: { prodSeriesCodeListStr: '', workSerctionListStr: '裸机', deptCodeStr: '', dateTime: '' }, // 产品系列 prodSeriesMainOp: { id: 'prodSeriesMainOp', multi: false, alwaysLoad: true, showClearBtn: true, editable: true, autoSelect: true, textField: 'prodSeriesEnName', valueField: 'prodSeriesCode', placeHolder: '-----请选择-----', dataset: { source: { type: 'post', url: 'services/linePlanFormulateService/getAllProdSeriesList' } }, emptyDataMsg: '-----没有数据-----' }, // 工序 workSerctionMainOp: { id: 'workSerctionMainOp', multi: false, showClearBtn: true, editable: true, validation: { required: true }, textField: 'key', valueField: 'value', placeHolder: '-----请选择-----', dataset: { source: { type: 'POST', url: 'services/linePlanFormulateService/getWorkStationList', data: { serviceType: '系统', serviceName: '架线计划制定', keyInfo: '工序' } } }, emptyDataMsg: '-----没有数据-----' }, // 交付部门 deptCodeMainOp: { id: 'deptCodeMainOp', multi: false, alwaysLoad: true, autoSelect: true, showClearBtn: true, editable: true, textField: 'deptName', valueField: 'deptCode', placeHolder: '-----请选择-----', dataset: { source: { type: 'post', url: 'services/linePlanFormulateService/getDeptList' } }, emptyDataMsg: '-----没有数据-----' }, // 时间 dateMainOp: { multi: true, id: 'dateMainOp', autoSelect: true, showClearBtn: true, editable: true, validation: { required: true }, emptyDataMsg: '-----没有数据-----', textField: 'key', valueField: 'value', placeHolder: '-----请选择-----', dataset: { source: { type: 'post', url: 'services/linePlanFormulateService/getDateList' } } }, // 表格的配置 createGridOp: { name: 'baseGrid_V241015', // name值,配置个性化customSetting/customized id: 'capDeptLinePlanGrid', showTip: true, tipOp: { type: 'normal' }, customized: false, // 是否打开隐藏列功能(动态列不能打开) allowFreeze: true, // 冻结选项 allowResize: true, allowSort: true, percentWidth: false, showStatus: false, showPager: true, // 展示分页 autoLoad: true, // 自动加载 showSeq: false, // 展示序号 cssName: 'text-center', rowRender: 'rowspan', editMode: true, columns: [], pagerOp: { mode: 'number', pageSizes: [5, 10, 15], pageVO: { curPage: 1, pageSize: 5 } }, dataset: { source: { type: 'post' } }, onRenderRow(tr, rowData, rowIdx) {}, onBeforeEdit(cellValue, rowData, td, col) { const regex = /f\d+/ if (regex.test(col.field)) { let typeCodeList = ['nowQty', 'piecemealReqLineQty'] if (!typeCodeList.includes(rowData.typeCode) || rowData.deptCode === 'TBD') { return false } } if (col.field === 'nowQty') { if (rowData.deptCode === 'TBD') { return false } else if (rowData.typeCode !== 'existingLineQty') { return false } } }, // 更新的操作,编辑完成后则执行的操作 onAfterEdit(value, rowData, td, col, oldValue) { let reg = /^(0|[1-9][0-9]*)$/ if (!reg.test(value) && value !== '') { Hae.topBox('请输入大于等于0的整数', 'warning', false, 2000) return false } let param = { prodSeriesCode: rowData.prodSeriesCode, deptCode: rowData.deptCode, workStation: rowData.workStation, qty: Number(value) } if (col.field === 'nowQty') { param.typeCode = 'nowQty' param.bucketValueStr = null } else { param.typeCode = rowData.typeCode param.bucketValueStr = col.header } const index = that.updateMap.findIndex( (item) => item.bucketValueStr === param.bucketValueStr && item.deptCode === param.deptCode && item.typeCode === param.typeCode && item.prodSeriesCode === param.prodSeriesCode ) if (index < 0) { that.updateMap.push(param) } else { that.updateMap[index].qty = param.qty } }, operation: { save: { onBeforeSave(ajax, optOp, grid) { Hae.ajax({ url: 'services/linePlanFormulateService/save', type: 'post', async: false, data: that.updateMap, dataType: 'text', success: function (result) { if (result === 'SUCCESS') { Hae.topBox('保存成功', 'successful', false, 2000) setTimeout(() => { that.formValid() }, 200) } else { Hae.topBox(result, 'error', false, 2000) } } }) return false } }, deptPlan: { id: 'deptPlan', text: '导入产能规划', onClick: this.searchToMaintain }, editLineCommand: { id: 'editLineCommand', text: this.$service.privilege.check('Service$linePlanInstructMaintainServiceImpl$save') ? '创建架线指令' : '查看架线指令', onClick: this.editLineCommand }, refresh: { id: 'refresh', text: '刷新预测需求线', onClick: this.refresh } }, onCellStyle(field, rowData) {}, // 组件渲染完成时执行的事件。 onRender(grid) {} } } }, created() {}, mounted() { let that = this // 注册全局单机事件隐藏导入按钮栏 document.addEventListener('click', (e) => { setTimeout(() => { if ($(e.target).hasClass('icon-setup') || $(e.target).hasClass('gridTopBtnDiv')) { return false } else { if (that.toolBoxShow) { that.toolBoxShow = false } } }, 300) }) // 判断是否有更多条件显示隐藏小三角 let editFormHeight = $('.first-field').outerHeight() that.isTriangleIconShow = !(editFormHeight < 38) that.isShowMore = false that.selectStartTime() that.MaintainDeptProductionCapacityLinDialog.show = false setTimeout(() => { that.formValid() }, 800) }, methods: { searchToMaintain() { this.MaintainDeptProductionCapacityLinDialog.show = true this.prodSeriesCode = this.searchForm.prodSeriesCodeListStr this.workStation = this.searchForm.workSerctionListStr this.deptCode = this.searchForm.deptCodeStr }, // 导出 dynamicExportClick() { let that = this let initExportData = { tableName: that.tableName } that.arrayList.forEach(res => { res[`${res.lineColumnName}`] = res.detail initExportData[`${res.lineColumnName}`] = res.detail }) Hae.ajax({ url: 'services/baseCommDetailService/export', data: initExportData, type: 'post', success(data) { Hae.confirm( '导出任务已开始,你可以进入[我的导入导出>导出查询]中查看任务状态并下载导出文件!', function(bool) { if (bool) { window.open('#/ListExport') } } ) } }) }, // 校验搜索 formValid() { let that = this Hae.validForm($('#editForm'), (result) => { if (result === false) { return false } else { that.getGirdMovingList() } }) }, selectStartTime() { let that = this Hae.ajax({ url: 'services/linePlanFormulateService/getDateList', type: 'post', async: false, data: {}, success: function (result) { if (result) { const currentDate = moment() // 获取当前日期 const monday = currentDate.day(1).startOf('day') // 获取周一的日期 const futureThreeWeeks = moment(monday).add(4, 'weeks') // 未来三周的日期 let dateTimeStr = '' let dateTimeArr = [] result.forEach((item) => { if ( (moment(item.value).isAfter(monday) && moment(item.value).isBefore(futureThreeWeeks)) || moment(item.value).isSame(monday) ) { dateTimeArr.push(item.value) } }) dateTimeStr = dateTimeArr.slice(0, 9).join(',') that.searchForm.dateTime = dateTimeStr } } }) }, // 编辑架线指令 editLineCommand() { let that = this if (!that.isCommandEdit) { this.lineCommand() return } let { widget } = that.$refs.grid let data = widget.getSelectedRecords() let selectData = data.filter((item) => { return item.deptCode !== 'ALL' }) // 架线指令初始化 if (selectData.length) { selectData.forEach((obj) => { obj.bucketStr = that.initBucketStr }) Hae.ajax({ url: 'services/linePlanInstructMaintainService/initLineTask', type: 'post', data: selectData, dataType: 'text', success() { that.lineCommand() } }) } else { that.lineCommand() } }, lineCommand() { this.deptCode = this.searchForm.deptCodeStr this.workStation = this.searchForm.workSerctionListStr this.prodSeriesCode = this.searchForm.prodSeriesCodeListStr this.bucketStr = this.searchForm.dateTime this.lineCommandVisible = true }, searchToMaintainClose() { this.MaintainDeptProductionCapacityLinDialog = true }, handleLineCommandClose() { this.lineCommandVisible = false }, deptPlandClose() { this.MaintainDeptProductionCapacityLinDialog.show = false }, refresh() { let that = this let searchForm = that.searchForm Hae.ajax({ url: 'services/linePlanFormulateService/refreshForecastRequireLine', type: 'post', data: searchForm, dataType: 'text', success(result) { if (result === 'SUCCESS') { Hae.topBox(result, 'successful', false, 2000) let gridWidger = that.$refs['grid'].widget publicFun.jumpFormerPage(gridWidger) } else { Hae.topBox(result, 'error', false, 2000) let gridWidger = that.$refs['grid'].widget publicFun.jumpFormerPage(gridWidger) } } }) }, getGirdMovingList() { let that = this let gridColumns = [] let param = {} param.deptCode = that.searchForm.deptCodeStr param.prodSeriesCode = that.searchForm.prodSeriesCodeListStr param.workStation = that.searchForm.workSerctionListStr param.bucketStr = that.searchForm.dateTime Hae.ajax({ url: 'services/linePlanFormulateService/getHeadBucketList', type: 'post', async: false, data: param, dataType: 'json', success(result) { that.isShowMore = false gridColumns = [ { multi: true, columnType: 'select' }, { field: 'prodSeriesEnName', headCss: 'text-center', cssName: 'text-center', width: '180px', header: '产品系列', showTip: 'true', rowspan: true, editable: false }, { field: 'deptName', headCss: 'text-center', cssName: 'text-center', width: '180px', header: '交付部门', showTip: 'true', rowspan: true, editable: false }, { field: 'nowQty', headCss: 'text-center', cssName: 'text-center', width: '130px', header: '现有线体', showTip: 'true', rowspan: true, editable: true }, { field: 'typeName', headCss: 'text-center', cssName: 'text-center', width: '180px', header: '维度', showTip: 'true', editable: false } ] if (result !== undefined) { const currentDate = moment() // 获取当前日期 const monday = currentDate.day(1).startOf('day') // 获取周一的日期 const currentWeekMonday = moment(monday) for (let i = 0; i < result.length; i++) { let date = result[i].value let field = result[i].key let newDate = moment(date) if (newDate.isAfter(currentWeekMonday) || newDate.isSame(currentWeekMonday)) { gridColumns.push({ field, header: date, headCss: 'text-center', cssName: 'text-center', editable: true }) } else { gridColumns.push({ field, header: date, headCss: 'text-center', cssName: 'text-center', editable: false }) } } that.initBucketStr = result.map((obj) => obj.value).join(',') } } }) let newCol = { columns: gridColumns, dataset: { source: { url: 'services/linePlanFormulateService/getLinePlanList/page/{{pageSize}}/{{curPage}}', data: param } } } that.updateMap = [] that.$refs.grid.widget.reInit(newCol) }, reset() { let that = this that.searchForm = { prodSeriesCodeListStr: '', workSerctionListStr: '裸机', deptCodeStr: '', dateTime: '' } that.selectStartTime() } } } </script> <style scoped src='./../unit/css/newModelPublic.css'/> <style scoped> .template-main { position: relative; } .gridTopImportBtns { width: 200px; position: absolute; top: 62px; left: 410px; z-index: 30; } .erp-config :deep(#capDeptLinePlanGrid .grid-body) { height: calc(100% - 48px); } .grid-head-config { height: 100%; } #capDeptLinePlanGrid { height: calc(100% - 120px); } .erp-config :deep(#capDeptLinePlanGrid .hae-grid-body) { height: 100%; } .erp-config { height: 100%; } .hae-dialog-box .hae-dialog__body { padding: 6px; } .erp-config :deep(.hae-dialog-box .hae-dialog__body) { text-align: initial; padding: 24px; color: #5a5e66; font-size: 14px; overflow: hidden; max-height: 95vh; } </style> 导出功能不起作用
10-30
该数据集通过合成方式模拟了多种发动机在运行过程中的传感器监测数据,旨在构建一个用于机械系统故障检测的基准资源,特别适用于汽车领域的诊断分析。数据按固定时间间隔采集,涵盖了发动机性能指标、异常状态以及工作模式等多维度信息。 时间戳:数据类型为日期时间,记录了每个数据点的采集时刻。序列起始于2024年12月24日10:00,并以5分钟为间隔持续生成,体现了对发动机运行状态的连续监测。 温度(摄氏度):以浮点数形式记录发动机的温度读数。其数值范围通常处于60至120摄氏度之间,反映了发动机在常规工况下的典型温度区间。 转速(转/分钟):以浮点数表示发动机曲轴的旋转速度。该参数在1000至4000转/分钟的范围内随机生成,符合多数发动机在正常运转时的转速特征。 燃油效率(公里/升):浮点型变量,用于衡量发动机的燃料利用效能,即每升燃料所能支持的行驶里程。其取值范围设定在15至30公里/升之间。 振动_X、振动_Y、振动_Z:这三个浮点数列分别记录了发动机在三维空间坐标系中各轴向的振动强度。测量值标准化至0到1的标度,较高的数值通常暗示存在异常振动,可能与潜在的机械故障相关。 扭矩(牛·米):以浮点数表征发动机输出的旋转力矩,数值区间为50至200牛·米,体现了发动机的负载能力。 功率输出(千瓦):浮点型变量,描述发动机单位时间内做功的速率,取值范围为20至100千瓦。 故障状态:整型分类变量,用于标识发动机的异常程度,共分为四个等级:0代表正常状态,1表示轻微故障,2对应中等故障,3指示严重故障。该列作为分类任务的目标变量,支持基于传感器数据预测故障等级。 运行模式:字符串类型变量,描述发动机当前的工作状态,主要包括:怠速(发动机运转但无负载)、巡航(发动机在常规负载下平稳运行)、重载(发动机承受高负荷或高压工况)。 数据集整体包含1000条记录,每条记录对应特定时刻的发动机性能快照。其中故障状态涵盖从正常到严重故障的四级分类,有助于训练模型实现故障预测与诊断。所有数据均为合成生成,旨在模拟真实的发动机性能变化与典型故障场景,所包含的温度、转速、燃油效率、振动、扭矩及功率输出等关键传感指标,均为影响发动机故障判定的重要因素。 资源来源于网络分享,仅用于学习交流使用,请勿用于商业,如有侵权请联系我删除!
function SEQEDTR_1B_Disp_FSE_SeqPara(I_lFSESeqParap:PGEIFSESeqPara; I_lTSC:integer):LongWord; begin try if I_lFSESeqParap=nil then begin Result:=$05701B01; Exit; end; with MAISeqEditorForm do begin TabSheetFSE.TabVisible:=True; FSE_TDT_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_t10); ESPEdit.Caption := Format('%1.1f',[I_lFSESeqParap^.fse_Gm4]); FSE_RefTE1_Edit.Caption :=Format('%1.1f',[I_lFSESeqParap^.fse_Gm1/500]); FSE_RefTE2_Edit.Caption :=Format('%1.1f',[I_lFSESeqParap^.fse_Gm2/500]); FSE_RefTE3_Edit.Caption :=Format('%1.1f',[I_lFSESeqParap^.fse_Gm3/500]); ComboBoxDW.ItemIndex := Round(I_lFSESeqParap^.fse_DwellTime); FSE_EffEcho_Edit.Text:= IntToStr(I_lFSESeqParap^.fse_EffEcho); FSE_subtype_Edit.Text:= IntToStr(I_lFSESeqParap^.fse_SubType); FSE_RFSh1_Edit.text := IntToStr(I_lFSESeqParap^.fse_RFShape1); //RF FSE_RFA1_Edit.text := Format('%1.2f',[I_lFSESeqParap^.fse_RFAtten1]); FSE_TRF1_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_RFDuration1); FSE_RFSh2_Edit.text := IntToStr(I_lFSESeqParap^.fse_RFShape2); FSE_RFA2_Edit.text := Format('%1.2f',[I_lFSESeqParap^.fse_RFAtten2]); FSE_TRF2_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_RFDuration2); CheckBoxSliceInterval.Checked := I_lFSESeqParap^.fse_InterBool; FSE_X2_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_GFOVr); FSE_Yp_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_GFOVp); FSE_Z1_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_GFovs); FSE_TrampEdit.Text := IntToStr(I_lFSESeqParap^.fse_Tramp); FSE_DscrdPntEdit.Text := IntToStr(I_lFSESeqParap^.fse_DiscardPnts); FSE_D1_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_t1);//Duration FSE_D2_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_t2); FSE_D3_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_t3); FSE_D4_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_t4); FSE_D5_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_t5); //PreEmphasis EditPreEmphasisT.Text := IntToStr(I_lFSESeqParap^.fse_PreEmphasisT); EditPreEmphasisS.Text := IntToStr(I_lFSESeqParap^.fse_PreEmphasisS); EditPreEmphasisC.Text := IntToStr(I_lFSESeqParap^.fse_PreEmphasisC); //read grad direction and Grad Sign(+/-) SEQEDTR_26_Disp_GradDir(@(I_lFSESeqParap^.fse_GradDir)); case I_lTSC of //C_SLICE_Transversal****************************************************** C_SLICE_Transversal://T begin FSE_X1_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_TGr2); FSE_XT_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_TGr3); FSE_Z2_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_TGs2); FSE_Z4_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_TGs3); FSE_ZT_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_TGs4); FSE_D6_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_Tt6); FSE_D1a_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_Tt1a); end; //C_SLICE_Transversal****************************************************** //C_SLICE_Sagittal********************************************************* C_SLICE_Sagittal://S begin FSE_X1_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_SGr2); FSE_XT_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_SGr3); FSE_Z2_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_SGs2); FSE_Z4_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_SGs3); FSE_ZT_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_SGs4); FSE_D6_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_St6); FSE_D1a_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_St1a); end; //C_SLICE_Sagittal********************************************************* //C_SLICE_Coronal********************************************************** C_SLICE_Coronal://C begin FSE_X1_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_CGr2); FSE_XT_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_CGr3); FSE_Z2_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_CGs2); FSE_Z4_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_CGs3); FSE_ZT_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_CGs4); FSE_D6_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_Ct6); FSE_D1a_Edit.Text := FloatToStr(I_lFSESeqParap^.fse_Ct1a); end; //C_SLICE_Coronal********************************************************** end; CheckBoxFSEIsAr.Checked:= I_lFSESeqParap^.fse_IsFR<>0; FSE_DummyScanEdit.Text := IntToStr(I_lFSESeqParap^.fse_DummyScan); end; //with O_lFormp^ do Result:=0; except Result:=$05701B00; end; end;
11-21
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值