📄 daskq.c
字号:
/**********Copyright 1990 Regents of the University of California. All rights reserved.Author: 1988 Jaijeet S Roychowdhury**********/#include "suffix.h"#include <stdio.h>#include "ifsim.h"#include "iferrmsg.h"#include "cktdefs.h"#include "distodef.h"#include "suffix.h"/* ARGSUSED */int DaskQuest(ckt,anal,which,value) CKTcircuit *ckt; GENERIC *anal; int which; IFvalue *value;{ switch(which) { case D_START: value->rValue = ((DISTOAN*)anal)->DstartF1; break; case D_STOP: value->rValue = ((DISTOAN*)anal)->DstopF1 ; break; case D_STEPS: value->iValue = ((DISTOAN*)anal)->DnumSteps; break; case D_DEC: if(((DISTOAN*)anal)->DstepType == DECADE) { value->iValue=1; } else { value->iValue=0; } break; case D_OCT: if(((DISTOAN*)anal)->DstepType == OCTAVE) { value->iValue=1; } else { value->iValue=0; } break; case D_LIN: if(((DISTOAN*)anal)->DstepType == LINEAR) { value->iValue=1; } else { value->iValue=0; } break; case D_F2OVRF1: value->rValue = ((DISTOAN*)anal)->Df2ovrF1; break; default: return(E_BADPARM); } return(OK);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -