Exemplo n.º 1
0
class IJuanZeng(Interface):
    """donor 记录在某一慈善项目(did决定)下,所有捐赠记录
| id               | int(10) unsigned | NO   | PRI | NULL              | auto_increment |
| xiangmu_id       | int(10) unsigned | NO   | MUL | NULL              |                |
| xingming         | varchar(64)      | NO   | MUL |                   |                |
| xianjin          | decimal(13,2)    | NO   |     | 0.00              |                |
| wuzi             | varchar(128)     | NO   |     |                   |                |
| wuzi_jiazhi      | decimal(13,2)    | NO   |     | 0.00              |                |
| juanzeng_shijian | datetime         | NO   |     | CURRENT_TIMESTAMP |                |
| openid           | varchar(128)     | NO   | MUL | noweixin          |                |
| status           | tinyint(1)       | NO   |     | 0                 | 

    """
    id = schema.Int(title=_(u"table primary key"), )
    xiangmu_id = schema.Choice(
        title=_(u"juanzeng xiangmu id"),
        vocabulary='xtcs.policy.vocabulary.donateId',
        required=True,
    )
    xingming = schema.TextLine(title=_(u"juanzeng zhe"), )
    xianjin = schema.Float(title=_(u"xianjin jin e"), required=False)
    wuzi = schema.TextLine(title=_(u"juanzeng wuping"), required=False)
    wuzi_jiazhi = schema.Float(title=_(u"wuzi jiazhi"), required=False)
    juanzeng_shijian = schema.Datetime(title=_(u"juanzeng shi jian"),
                                       defaultFactory=nowDateTime)
    openid = schema.TextLine(title=_(u"weixin openid"),
                             required=False
                             #             default = "noweixinpay"
                             )
    status = schema.Int(title=_(u"yidong zhifu zhuangtai"),
                        required=False,
                        default=1)
Exemplo n.º 2
0
class IBachang(Interface):
    """靶场 """
    id = schema.Int(title=_(u"talbe primary key"))
    name = schema.TextLine(title=_(u"ba chang ming cheng"))
    bcdm = schema.TextLine(title=_(u"ba chang dai ma"))
    location = schema.TextLine(title=_(u"ba chang wei zhi"))
    length = schema.Float(title=_(u"ba chang chang du"))
    width = schema.Float(title=_(u"ba chang kuan du"))
    wk = schema.Int(title=_(u"zhe dang wu ge shu"))
    ti = schema.Int(title=_(u"gu you fa she ji shu"))
    landform = schema.TextLine(title=_(u"ba chang di xing tiao jian"))
    xh = schema.TextLine(title=_(u"ba chang shi he xing hao"))
Exemplo n.º 3
0
class ILvboq(Interface):
    """滤波器
    """
    id = schema.Int(title=_(u"table primary key"), )
    cssbdm = schema.TextLine(title=_(u"cong shu she bei dai ma"), )
    cssbmc = schema.TextLine(title=_(u"lv bo qi ming cheng"), )
    pcdm = schema.TextLine(title=_(u"zhuang tai pi ci dai ma"), )
    location = schema.TextLine(title=_(u"wei zhi"), )
    freq = schema.Float(title=_(u"gong zuo pin lv"), )
    f_upper = schema.Float(title=_(u"shang bian pin"), )
    f_lower = schema.Float(title=_(u"xia bian pin"), )
    order1 = schema.Float(title=_(u"lv bo qi ji shu"), )
    s21 = schema.Float(title=_(u"lv bo qi cha sun"), )
Exemplo n.º 4
0
class IJieshoutx(Interface):
    """接收天线
    """
    id = schema.Int(title=_(u"table primary key"), )
    cssbdm = schema.TextLine(title=_(u"cong shu she bei dai ma"), )
    cssbmc = schema.TextLine(title=_(u"jie shou tian xian ming cheng"), )
    pcdm = schema.TextLine(title=_(u"zhuang tai pi ci dai ma"), )
    location = schema.TextLine(title=_(u"wei zhi"), )
    gain = schema.Float(title=_(u"zeng yi"), )
    polarization = schema.TextLine(title=_(u"ji hua"), )
    fwbskd = schema.Float(title=_(u"fang wei bo su dai kuan"), )
    fybskd = schema.Float(title=_(u"fu yang bo su dai kuan"), )
    txzxj = schema.Float(title=_(u"tian xian zhi xiang jiao"), )
Exemplo n.º 5
0
class IJieshouj(Interface):
    """接收机
    """
    id = schema.Int(title=_(u"table primary key"), )
    sbdm = schema.TextLine(title=_(u"she bei dai ma"), )
    sbmc = schema.TextLine(title=_(u"jie shou ji ming cheng"), )
    pcdm = schema.TextLine(title=_(u"zhuang tai pi ci dai ma"), )
    location = schema.TextLine(title=_(u"wei zhi"), )
    fb_upper = schema.Float(title=_(u"pin duan shang xian"), )
    fb_lower = schema.Float(title=_(u"pin duan xia xian"), )
    freq = schema.Float(title=_(u"gongzuo pinlv"), )
    f_upper = schema.Float(title=_(u"shang bian pin"), )
    f_lower = schema.Float(title=_(u"xia bian pin"), )
    bw_receiver = schema.Float(title=_(u"jie shou ji dai kuan"), )
    sen_receiver = schema.Float(title=_(u"jie shou ji lin ming du"), )
    mf_freq_sign = schema.TextLine(title=_(u"zhong pin fu hao"), )
    mf_freq = schema.Float(title=_(u"zhong pin pin lv"), )
    lo_freq = schema.Float(title=_(u"ben zhen pin lv"), )
Exemplo n.º 6
0
class ICeshibg(Interface):
    """测试报告
    """
    id = schema.Int(title=_(u"talbe primary key"))
    t_id = schema.TextLine(title=_(u"ce shi zheng shu bian hao"))
    bailor = schema.TextLine(title=_(u"wei tuo fang"))
    address = schema.TextLine(title=_(u"wei tuo fang di zhi"))
    device = schema.TextLine(title=_(u"bei ce jian"))
    eut_id = schema.TextLine(title=_(u"EUT bian hao"))
    eut_type = schema.TextLine(title=_(u"EUT xing hao"))
    manufacturor = schema.TextLine(title=_(u"zhi zao shang"))
    t_date = schema.Date(title=_(u"ce shi ri qi"))
    t_address = schema.TextLine(title=_(u"ce shi di dian"))
    t_device = schema.TextLine(title=_(u"ce shi she bei"))
    t_device_type = schema.TextLine(title=_(u"ce shi she bei xing hao"))
    t_device_id = schema.TextLine(title=_(u"ce shi she bei bian hao"))
    reference = schema.TextLine(title=_(u"ce shi yi ju"))
    temp = schema.Float(title=_(u"wen du"))
    huminitily = schema.Float(title=_(u"shi du"))
    t_man = schema.TextLine(title=_(u"ce shi ren yuan"))
    signer = schema.TextLine(title=_(u"qian fa ren"))
    assessor = schema.TextLine(title=_(u"shen he ren"))
    t_result = schema.TextLine(title=_(u"ce shi jie guo"))
Exemplo n.º 7
0
class IFashej(Interface):
    """发射机
    """
    id = schema.Int(title=_(u"table primary key"), )
    sbdm = schema.TextLine(title=_(u"she bei dai ma"), )
    sbmc = schema.TextLine(title=_(u"fa she ji ming cheng"), )
    # 分系统代码
    pcdm = schema.TextLine(title=_(u"zhuang tai pi ci dai ma"), )
    #分系统名称
    location = schema.TextLine(title=_(u"wei zhi"), )
    #分系统类别
    freq = schema.Float(title=_(u"gongzuo pinlv"), )
    pd_upper = schema.Float(title=_(u"shang bian pin"), )
    pd_lower = schema.Float(title=_(u"xia bian pin"), )
    num = schema.Int(title=_(u"pinlv dian shu"), )
    freq_upper = schema.Float(title=_(u"pinlv shang xian"), )
    freq_lower = schema.Float(title=_(u"pinlv xia xian"), )
    bw = schema.Float(title=_(u"fashe dai kuan"), )
    base_power = schema.Float(title=_(u"ji pin gong lv"), )
    tzlx = schema.TextLine(title=_(u"tiao zhi lei xing"), )
    bzf = schema.Float(title=_(u"ben zhen pin lv"), )
    mid_freq = schema.Float(title=_(u"zhong pin"), )
    comment1 = schema.TextLine(title=_(u"bei zhu"), )
Exemplo n.º 8
0
class IBachangfshj(Interface):
    """靶场发射机
    """
    id = schema.Int(title=_(u"talbe primary key"))
    bcdm = schema.Int(title=_(u"ba chang dai ma"))
    sbmc = schema.TextLine(title=_(u"fa she ji ming cheng"))
    fsno = schema.Int(title=_(u"fa she ji xu hao"))
    x = schema.Float(title=_(u"ba chang x zuo biao"))
    y = schema.Float(title=_(u"ba chang y zuo biao"))
    z = schema.Float(title=_(u"ba chang z zuo biao"))
    ft = schema.TextLine(title=_(u"gong zuo pin lv"))
    pd_u = schema.Float(title=_(u"shang bian pin"))
    pd_l = schema.Float(title=_(u"xia bian pin"))
    num = schema.Int(title=_(u"pin lv dian shu"))
    fu = schema.Float(title=_(u"pin duan shang xian"))
    fl = schema.Float(title=_(u"pin duan xia xian"))
    bt = schema.Float(title=_(u"fa she dai kuan"))
    pt = schema.Float(title=_(u"ji pin gong lv"))
    tzlx = schema.TextLine(title=_(u"tiao zhi lei xing"))
    bzf = schema.Float(title=_(u"ben zheng pin lv"))
    zp = schema.Float(title=_(u"zhong pin"))
    bz = schema.TextLine(title=_(u"bei zhu"))
Exemplo n.º 9
0
class IBachangzhdw(Interface):
    """靶场遮挡物    
    """
    id = schema.Int(title=_(u"talbe primary key"))
    bcdm = schema.TextLine(title=_(u"ba chang dai ma"))
    shelter_name = schema.TextLine(title=_(u"zhe dang wu ming cheng"))
    #     zdno = schema.Int(
    #             title=_(u"xiang mu ming cheng")
    #         )
    lu_x = schema.Float(title=_(u"zuo shang x zuo biao"))
    lu_y = schema.Float(title=_(u"zuo shang y zuo biao"))
    lu_z = schema.Float(title=_(u"zuo shang z zuo biao"))
    ld_x = schema.Float(title=_(u"zuo xia x zuo biao"))
    ld_y = schema.Float(title=_(u"zuo xia y zuo biao"))
    ld_z = schema.Float(title=_(u"zuo xia z zuo biao"))
    ru_x = schema.Float(title=_(u"you shang x zuo biao"))
    ru_y = schema.Float(title=_(u"you shang y zuo biao"))
    ru_z = schema.Float(title=_(u"you shang z zuo biao"))
    rd_x = schema.Float(title=_(u"you xia x zuo biao"))
    rd_y = schema.Float(title=_(u"you xia x zuo biao"))
    rd_z = schema.Float(title=_(u"you xia x zuo biao"))